LWSC 5 RenderRangeType 0 FirstFrame 1 LastFrame 60 FrameStep 1 RenderRangeObject 0 RenderRangeArbitrary 1-60 PreviewFirstFrame 0 PreviewLastFrame 60 PreviewFrameStep 1 CurrentFrame 0 FramesPerSecond 30 ChangeScene 0 Plugin MasterHandler 1 Kray Script KRAY.LS Kray{ 1221 3605 2 2 2 2 2 104 1 0 1 3 2301 0 201 1 301 1 3501 kray_render.png 602 1 1 702 4 0.01 802 2 0 1003 0.002 1 4 2103 0.002 1 4 1103 0.01 10 60 2402 0 1301 1 1401 1501 1603 0.0001 10 50 1804 2 0 2 1 1903 0.001 100 100 3301 lw pathMode 1; 3401 anim setupframe 1; showinfo all; render; 2101 1 2601 0 2707 0.2 0.2 0.1 0.1 0 1 1 2802 1 0.7 2901 0.01 3004 2 0 2.2 1 3101 16 3207 1 kraydata.gi 2 1 1 1 0 3701 2 3801 0 4001 3 4101 0 4201 1 4303 0.01 3 0 4411 0 kraylog.txt 0 0 %kray% %ver% render time: %time% | %width% x %height% 0 0 0 0 0 3901 0 4301 3 0 AccuracyBegin 1221 100601 1 100001 1 100105 500000 400 0.25 1 4 100704 1 0.1 0.9 10 100205 200000 400 1 2 4 100804 1 0.2 0.8 4 100301 0.5 100405 0.1 30 0 1 255 0 255 100502 0.5 0 100901 2 101001 2 101102 0 1 101201 2 101301 0 101403 100 600 0.0001 101502 0.1 30 101601 1 101701 1 101801 1 101901 4 102001 0 102201 0 102301 1 102403 1 0.05 0.05 0 AccuracyEnd KrayScriptLWSInlined -2000; echo '*** Kray script generated by Kray plugin for LightWave'; threads 0; echo '!** AMBIENT light is on'; var pi,3.14159265; var __ppscale,1.2; var __ppstep,0; var __ppstop,0; var __precacheN,1; var __blendss,0; var __irr_elip,4; var __autogsamples,100; var __autogscale,1; var __autocsamples,100; var __autocscale,1; var __autogradients,0.5; var __autocaustics,0.5; var __autoprecached,0.5; var __light_model,1; var __undersample_edge,1; var __caustics_try,0.3; var __oversample,0.5; var __importflags,0; var fgth,0.0001; var fgrmin,100; var fgrmax,600; var fga,0.1; var fgb,30; var fgmin,0.1; var fgmax,30; var fgscale,0; var fgblur,4; var fgreflections,0; var fgrefractions,1; var cornerdist,0.5; var cornerpaths,0; var prep,1; var prestep,1; var preSplDet,0.05; var gradNeighbour,0.05; end; KrayScriptLWSInlined -1000; camsingleside 0;previewsize 1200,600;imagesamplermultipass 0; lw importrayslimit 1,0.9; animmode 1; about; lw pathMode,1; lw importblur,100,100,0.001; lw conetoarea 0; lw passiveset2,1; lopt planarautosamples 0; lw outputto 1; needbuffers 0+0x1+0x2; outputformat png; tonemapper gammaexposure,2.2,1; dither fs; end; KrayScriptLWSInlined 1000; lopt squareflags,(2-1),0; splitscreen betterauto;pixelorder scanline; limitdr 1; echo '*** Limiting dynamic range after tonemap'; fg gradientsneighbour gradNeighbour; //undersample (4-1),0.01,__undersample_edge; lopt linearrays,0.002,1,4; lopt squarerays,0.002,1,4; lopt planarrays,(0.01*0.01),10,60; octree 35,15;var sep,0.7;var ds,1;var fs,90; octbuild sep,(ds*0.2,ds*1,ds*0.2),(fs*0.2,fs*1,fs*0.2); outsidesize -1; var _gi_res,1; pm auto,gscalegradients,__autogradients; pm auto,gscalecaustics,__autocaustics; pm auto,gscaleprecached,__autoprecached; pm showpreview,0; pm caustics,-500000,400,_gi_res*0.25,_gi_res*1,4,__caustics_try; pm lmglobal,-200000,400,_gi_res*1,_gi_res*2,4,0; pm precached,_gi_res*__ppscale*0.5,_gi_res*__ppscale*__ppstop,__ppstep,__precacheN,_gi_res*0.5; pm precachedblur,1; pm globalmultiplier 1; pm causticsmultiplier 1; pm auto,global,__autogsamples,0.2,0.8,4,__autogscale; pm auto,caustics,__autocsamples,0.1,0.9,10,__autocscale; fg irradiancerays,100,600,1,0.0001*0.0001; pm corner _gi_res*0.5,0; fg gradients,_gi_res*30,0.1; fg gradients2,_gi_res*0.1,0; fg gradients3,__oversample,30*pi/180; fg gradients4,_gi_res*300,__irr_elip; fg irradianceblur 0,1+sqr(4); imagesampler rotuniform,2; edgedetector 0.2,0.2,0.1,0.1, 1,1,0; pixelfilter box,0.7; pm removeglobal,1; octcache 3; postprocess erode,0; anim setupframe 1; background tonemap; showinfo scene; render; interactive; end; } EndPlugin Plugin MasterHandler 2 KrayQuickLWF Script KRAYQUICKLWF.LS 104 2 0 2.4 1 201 1 301 1 401 1 501 1 0 KrayScriptLWSInlined -900; echo '*** Kray quick LWF applied'; inputtonemapper gammaexposure,3,1; lw tonemaplights,1; end; KrayScriptLWSInlined -1900; var __importflags,__importflags|16; end; KrayScriptLWSInlined 1100; end; EndPlugin LoadObjectLayer 1 10000000 teapot.lwo ChangeObject 0 ShowObject 7 3 Group 0 ObjectMotion NumChannels 9 Channel 0 { Envelope 1 Key 0.42828470468521118 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 1 Key 0.6400001049041748 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 1 Key -4.1149630546569824 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key 0.88313746452331532 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key 0.14835289120674133 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 5 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 6 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 7 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 8 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } IKInitCustomFrame 0 GoalStrength 1 IKFKBlending 0 IKSoftMin 0.25 IKSoftMax 0.75 CtrlPosItemBlend 1 CtrlRotItemBlend 1 CtrlScaleItemBlend 1 PathAlignLookAhead 0.033 PathAlignMaxLookSteps 10 PathAlignReliableDist 0.001 IKInitialState 0 SubPatchLevel 3 3 APSDisplay { APS Version 1 Method 0 { VParm { ObjectLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonPixelSize 0 { VariantParameter 3 0 { ParameterValue 256 0 } } } } } APSRender { APS Version 1 Method 0 { VParm { ObjectLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonPixelSize 0 { VariantParameter 3 0 { ParameterValue 256 0 } } } } } NodeDisplacement 0 { Nodal_Block { Root Location 0 0 Zoom 1 Disabled 1 } Version 1 { Nodes Server "Displacement" { Tag RealName "Displacement" Name "Displacement" Coordinates -10 -10 Mode 1 { Data } Preview "" Comment "" } } { Connections } } NodeDisplacementOrder 0 UseObjGI 0 ObjGIRadiosityRays 64 ObjGISecondaryBounceRays 16 ObjGIRadiosityTolerance 0.292893 ObjGIMinPixelSpacing 4.000000 ObjGIMaxPixelSpacing 100.000000 ShadowOptions 7 AddNullObject 10000001 teapot ChangeObject 0 ShowObject 7 3 Group 0 ObjectMotion NumChannels 9 Channel 0 { Envelope 1 Key -1.6476889848709106 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 1 Key -1.0049999952316284 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 1 Key 0.41106471419334406 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key -0.27227139472961426 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key -0.81681442260742176 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 5 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 6 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 7 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 8 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } IKInitCustomFrame 0 GoalStrength 1 IKFKBlending 0 IKSoftMin 0.25 IKSoftMax 0.75 CtrlPosItemBlend 1 CtrlRotItemBlend 1 CtrlScaleItemBlend 1 PathAlignLookAhead 0.033 PathAlignMaxLookSteps 10 PathAlignReliableDist 0.001 IKInitialState 0 SubPatchLevel 3 3 APSDisplay { APS Version 1 Method 0 { VParm { ObjectLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonPixelSize 0 { VariantParameter 3 0 { ParameterValue 256 0 } } } } } APSRender { APS Version 1 Method 0 { VParm { ObjectLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonLevel 0 { VariantParameter 3 0 { ParameterValue 3 0 } } } { PolygonPixelSize 0 { VariantParameter 3 0 { ParameterValue 256 0 } } } } } NodeDisplacement 0 { Nodal_Block { Root Location 0 0 Zoom 1 Disabled 1 } Version 1 { Nodes Server "Displacement" { Tag RealName "Displacement" Name "Displacement" Coordinates -10 -10 Mode 1 { Data } Preview "" Comment "" } } { Connections } } NodeDisplacementOrder 0 UseObjGI 0 ObjGIRadiosityRays 64 ObjGISecondaryBounceRays 16 ObjGIRadiosityTolerance 0.292893 ObjGIMinPixelSpacing 4.000000 ObjGIMaxPixelSpacing 100.000000 ShadowOptions 7 AmbientColor 1 1 1 AmbientIntensity 0.05 DoubleSidedAreaLights 1 RadiosityType 2 RadiosityInterpolated 1 RadiosityTransparency 0 RadiosityIntensity 1 RadiosityTolerance 0.2928932 RadiosityRays 64 SecondaryBounceRays 16 RadiosityMinPixelSpacing 4 RadiosityMaxPixelSpacing 100 RadiosityMultiplier 1 RadiosityDirectionalRays 0 RadiosityUseGradients 0 RadiosityUseBehindTest 1 BlurRadiosity 1 RadiosityFlags 0 RadiosityCacheModulus 1 RadiosityCacheFilePath radiosity.cache PixelFilterForceMT 0 ExternalRenderer KrayRenderer Plugin ExtRendererHandler 1 KrayRenderer EndPlugin AddLight 20000000 LightName Light ShowLight 1 5 LightMotion NumChannels 9 Channel 0 { Envelope 1 Key -1.9250000715255733 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 1 Key 2 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 1 Key -3.100001335144043 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key -1.2025315761566162 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key 0.83601337671279907 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 5 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 6 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 7 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 8 { Envelope 1 Key 1 0 0 0 0 0 0 0 0 Behaviors 1 1 } IKInitCustomFrame 0 GoalStrength 1 IKFKBlending 0 IKSoftMin 0.25 IKSoftMax 0.75 CtrlPosItemBlend 1 CtrlRotItemBlend 1 CtrlScaleItemBlend 1 PathAlignLookAhead 0.033 PathAlignMaxLookSteps 10 PathAlignReliableDist 0.001 IKInitialState 0 LightColor 1 1 1 LightIntensity 1 AffectCaustics 1 LightType 0 LensFlare 0 FlareIntensity 0.5 FlareDissolve 0 LensFlareFade 4 LensFlareOptions 11 FlareRingColor 0.3137 0.0784 0.0392 FlareRingSize 0.22 FlareRandStreakInt 0.03 FlareRandStreakDens 50 FlareRandStreakSharp 6 ShadowType 1 ShadowColor 0 0 0 Plugin LightHandler 1 DistantLight EndPlugin AddCamera 30000000 CameraName Camera ShowCamera 1 2 CameraMotion NumChannels 6 Channel 0 { Envelope 1 Key 0.42333346605300898 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 1 Key 2.1199984550476074 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 1 Key -6.1156125068664551 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key -0.06981302052736281 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key 0.62133729457855225 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 5 { Envelope 1 Key -0.186750277876854 0 0 0 0 0 0 0 0 Behaviors 1 1 } IKInitCustomFrame 0 GoalStrength 1 IKFKBlending 0 IKSoftMin 0.25 IKSoftMax 0.75 CtrlPosItemBlend 1 CtrlRotItemBlend 1 CtrlScaleItemBlend 1 PathAlignLookAhead 0.033 PathAlignMaxLookSteps 10 PathAlignReliableDist 0.001 IKInitialState 0 ZoomFactor 3.2 ZoomType 1 ResolutionMultiplier 1.0 FrameSize 500 400 PixelAspect 1 MaskPosition 0 0 640 480 MotionBlur 0 MotionBlurPasses 1 ShutterEfficiency 1 Oversampling 0 FieldRendering 0 ApertureHeight 0.015 DepthOfField 0 FocalDistance 1 LensFStop 4 DiaphragmSides 0 DiaphragmRotation 0 AASamples 1 Sampler 1 UseGlobalResolution 0 UseGlobalMask 0 UseGlobalBlur 0 Plugin CameraHandler 1 Classic EndPlugin GlobalFrameSize 640 480 GlobalMultiplier 1.0 GlobalFieldRendering 0 GlobalMotionBlur 0 GlobalMaskPosition 0 0 640 480 GlobalFilmHeight 0.015 GlobalPixelAspect 1 Antialiasing 0 AntiAliasingLevel -1 ReconstructionFilter 0 AdaptiveSampling 0 SolidBackdrop 0 BackdropColor 0 0 0 ZenithColor 0 0.1569 0.3137 SkyColor 0.4706 0.7059 0.9412 GroundColor 0.1961 0.1569 0.1176 NadirColor 0.3922 0.3137 0.2353 FogType 0 FogMinDistance 0 FogMaxDistance 1 FogMinAmount 0 FogMaxAmount 1 FogColor 0.5098 0.5098 0.549 BackdropFog 0 VolumeClipDiscance 0.1 DynamicRangeMin 0 DynamicRangeLimit 1 DitherIntensity 1 AnimatedDither 0 RenderMode 2 RayTraceEffects 7 DepthBufferAA 0 RenderLines 1 RayRecursionLimit 16 RayPrecision 6 RayCutoff 0.01 DataOverlayLabel SaveRGB 0 SaveAlpha 0 ViewConfiguration 0 DefineView 0 ViewType 9 ViewLevel 6 ViewAimpoint 0 0 0 ViewZoomFactor 4 ViewXRay 0 ViewMBDofPreview 0 ViewHeadlight 0 GridNumber 80 GridSize 1 CameraViewBG 0 ShowMotionPath 1 ShowFogRadius 0 ShowFogEffect 0 ShowFieldChart 1 OverlayColor_fv 0 0 0 MeshBackgroundGroup 1 CurrentObject 1 CurrentLight 0 CurrentCamera 0 GraphEditorData { GraphEd_Favorites } { GE_Expression_Lib 1 } ImageEditorData NumberOfClips 1 Clip 0 { ClipObject "brick.jpg" 128 0 }