LWSC 5 RenderRangeType 0 FirstFrame 1 LastFrame 120 FrameStep 1 RenderRangeObject 0 RenderRangeArbitrary 1-120 PreviewFirstFrame 0 PreviewLastFrame 120 PreviewFrameStep 1 CurrentFrame 0 FramesPerSecond 25 ChangeScene 0 Plugin MasterHandler 1 Kray Script C:\LIGHTWAVE_2015.2\SUPPORT\PLUGINS\K2\KRAY.LSC Kray{ 1224 3605 1 2 2 1 1 104 3 0 0 3 2301 0 201 1 301 1 3501 kray_render.png 601 1 702 1 0.01 802 2 0 1003 0.002 1 4 2103 0.002 1 4 1103 0.01 200 0 2402 0 1301 1 1401 1501 1603 0.0001 10 50 1804 2 1 3 1 1903 0.001 500 0 3301 3401 recurse 10 2101 1 2601 0 2707 0.2 0.2 0.1 0.1 0 1 1 2802 4 1 2901 0.01 3004 1 0 1 1 3101 16 3207 1 kraydata.gi 2 1 1 1 0 3701 2 3801 0 4001 4 4101 0 4201 4 4303 0.01 3 0 4411 0 kraylog.txt 0 0 %kray% %ver% render time: %time% | %width% x %height% 0 1 0 1 1 3901 0 4301 3 4401 3 0 AccuracyBegin 1224 100601 0 100001 0.3 100105 500000 400 0.25 1 4 100704 1 0.1 0.9 10 100205 3000000 200 1 2 4 100804 1 0.2 0.8 4 100301 1 100405 0.1 30 0 1 255 0 255 100502 0.5 1 100901 2 101001 2 101102 0 1 101201 2 101301 0 101403 500 0 0 101502 0.1 30 101601 1 101701 1 101801 0 101901 4 102001 0 102201 0 102301 2 102403 1 0.05 0.05 0 AccuracyEnd KrayScriptLWSInlined -2000; echo '*** Kray script generated by Kray plugin for LightWave'; 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; var fgrmin,500; var fgrmax,0; 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,1; var prep,1; var prestep,1; var preSplDet,0.05; var gradNeighbour,0.05; end; KrayScriptLWSInlined -1000; savegimode 1;cam_singleside 0;previewsize 1200,600;usemultipass 0;lwo2rayslimit 1,0.9;animmode 1;about; addpathlw; addpath "C:\Users\Johny\Desktop\Tonemap_issue"; multiline 'Header commands'; ; end_of_multiline; lwo2import 20100,__light_model,(2-2),0,4+__blendss|__importflags; lwo2bluroptions 500,0,0.001,0.01; lwconetoarea 0; lwpassiveset2; outputtolw 1; needbuffers 0+0x1+0x2; outputformat png; limitdr 1; echo '*** Limiting dynamic range before tonemap'; tonemapper linear; dither fs; end; KrayScriptLWSInlined 1000; square_lights (2-1),0; splitscreen none;pixelorder random; prerender prep,prestep,preSplDet; gradients_neighbour gradNeighbour; linadaptive 0.002,1,4; squareplanar 0.002,1,4; planar (0.01*0.01),200,0; octree 40,15;var sep,0.5;var ds,0.5;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,0.3; showphotons 0; causticspm -500000,400,_gi_res*0.25,_gi_res*1,4,__caustics_try; globallm -3000000,200,_gi_res*1,_gi_res*2,4,0; precachedpm _gi_res*__ppscale*1,_gi_res*__ppscale*__ppstop,__ppstep,__precacheN,_gi_res*1; precachedblur 0; globalmultiplier 1; causticsmultiplier 1; autophotons global,__autogsamples,0.2,0.8,4,__autogscale; autophotons caustics,__autocsamples,0.1,0.9,10, __autocscale; irradiancerays 500,0,1,0*0; pmcorner _gi_res*0.5,1; gradients _gi_res*30,0.1; gradients2 _gi_res*0.1,0; gradients3 __oversample,30*pi/180; gradients4 _gi_res*300,_gi_res*300,__irr_elip; irradianceblur 0,1+sqr(4); imagesampler total_rot_uniform,3; edgedetector 0.2,0.2,0.1,0.1,1,1,0; pixelfilter quadric,1; remglobalpm 1; pmsidethreshold 0.5; octcache 3; postprocess erode,3; previewsize 99999,99999; lwo2unseenbyrays_affectsgi 0; outputtolw 1; multiline 'Tailer commands'; recurse 10 ; end_of_multiline; end; } EndPlugin Plugin MasterHandler 2 KrayQuickLWF Script C:\LIGHTWAVE_2015.2\SUPPORT\PLUGINS\K2\KRAYQUICKLWF.LSC 104 2 0 1.6 1 201 1 301 1 401 1 501 1 0 KrayScriptLWSInlined -900; echo '*** Kray quick LWF applied'; inputtonemapper gamma_exposure,1.6,1; lwtonemaplights 1; end; KrayScriptLWSInlined -1900; var __importflags,__importflags|16; end; KrayScriptLWSInlined 1100; background tone_map; end; EndPlugin Plugin MasterHandler 3 KrayTonemapBlending Script C:\LIGHTWAVE_2015.2\SUPPORT\PLUGINS\K2\KRAYTONEMAPBLENDING.LSC 104 2 0 1.6 1 3 0 6 1 0.5 201 1 0 KrayScriptLWSInlined 200; tonemapdefine t1,gamma_exposure,1.6,1; tonemapdefine t2,exp_exposure,6,1; tonemapper blend,0.5,t1,t2; echo '*** Applying Tonemapper blending: 0.5 tonemappers: 2/3'; end; EndPlugin Plugin ViewportObjectHandler 1 .VPR 0 20 1 1 0 1 0 EndPlugin Plugin ViewportObjectHandler 2 .VPR 0 20 1 1 0 1 0 EndPlugin Plugin ViewportObjectHandler 3 .VPR 0 20 1 1 0 1 0 EndPlugin Plugin ViewportObjectHandler 4 .VPR 0 20 1 1 0 1 0 EndPlugin ColorSpaceViewer "Linear" "none" ColorSpaceSurfaceColor "Linear" "none" ColorSpaceLightColor "Linear" "none" ColorSpacePaletteFiles "Linear" "none" ColorSpace8BitFiles "Linear" "none" ColorSpaceFloatFiles "Linear" "none" ColorSpaceAlpha "Linear" "none" ColorSpaceOutput "Linear" "none" ColorSpaceOutputAlpha "Linear" "none" ColorSpaceAutoSense 0 ColorSpace8BitToFloat 0 ColorSpaceCorrectOpenGL 0 ColorSpaceAffectPicker 0 FirstBackgroundImageSyncFrame 0 NavigationDesiredDevice (any) AmbientColor 1 1 1 AmbientIntensity 0 DoubleSidedAreaLights 1 EnableMipMapping 1 RadiosityType 1 RadiosityInterpolated 1 RadiosityTransparency 0 RadiosityIntensity 1 RadiosityTolerance 0.2928932 RadiosityRays 100 SecondaryBounceRays 50 RadiosityMinPixelSpacing 3 RadiosityMaxPixelSpacing 100 RadiosityMultiplier 1 RadiosityDirectionalRays 0 RadiosityUseGradients 0 RadiosityUseBehindTest 1 BlurRadiosity 1 ISMapSize 1024 RadiosityFlags 0 RadiosityCacheModulus 1 RadiositySaveEachFrame 0 RadiosityCacheFilePath Radiosity/radiosity.cache PixelFilterForceMT 0 AddLight 20000000 LightName Light ShowLight 1 -1 0.941176 0.376471 0.941176 LightMotion NumChannels 9 Channel 0 { Envelope 1 Key -2 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 -2 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key 0.78539816339744828 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key 0.6108652381980153 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 PivotPosition 0 0 0 PivotRotation 0 0 0 SplineFlags 0 SplineFit 0 IKInitialState 0 UseIKChainValues 1 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 -1 0.125490 0.878431 0.125490 CameraMotion NumChannels 6 Channel 0 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 1 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 2 { Envelope 1 Key -5 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 3 { Envelope 1 Key 0 0 0 0 0 0 0 0 0 Behaviors 1 1 } Channel 4 { Envelope 1 Key 0 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 } 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 PivotPosition 0 0 0 PivotRotation 0 0 0 SplineFlags 0 SplineFit 0 IKInitialState 0 UseIKChainValues 1 ZoomFactor 3.2 ZoomType 1 ResolutionMultiplier 1.0 FrameSize 640 480 OverscanMode 0 OverscanSize 0 0 0 0 PixelAspect 1 MotionBlur 0 MotionBlurPasses 1 ShutterEfficiency 1 RollingShutter 0 ShutterOpen 0 Oversampling 0 UndockPreview 0 FieldRendering 0 ApertureHeight 0.015 EyeSeparation 0.07 ConvergencePoint 1 UseConvergence 0 StereoTrackedEye 0 StereoOpenGL 1 ConvergenceToeIn 1 DepthOfField 0 FocalDistance 1 LensFStop 4 DiaphragmSides 0 DiaphragmRotation 0 AASamples 1 Sampler 0 AdaptiveThreshold 0.01 MinimumSamples 1 MaximumSamples 9 Plugin CameraHandler 1 Perspective EndPlugin Antialiasing 2 AntiAliasingLevel -1 ReconstructionFilter 0 AdaptiveSampling 1 UseBackgroundColor 0 BackgroundColor 0 0 0 SolidBackdrop 1 BackdropColor 0 0 0 ZenithColor 0.6196 0.736 1 SkyColor 0.8824 0.9177 1 GroundColor 0.8824 0.9177 1 NadirColor 0.1216 0.0948 0.083 SkySqueezeAmount 6 GroundSqueezeAmount 6 FogType 0 FogMinDistance 0 FogMaxDistance 1 FogMinAmount 0 FogMaxAmount 1 FogColor 0.5098 0.5098 0.549 BackdropFog 0 CopyToPerspective 0 VolumeClipDiscance 0.1 DynamicRangeMin 0 DynamicRangeLimit 1 DitherIntensity 0 AnimatedDither 0 RenderMode 2 RayTraceEffects 15 DepthBufferAA 0 RenderLines 1 RenderInstances 1 RayRecursionLimit 6 RayPrecision 6 RayCutoff 0.01 ShadingSamples 1 LightSamples 1 DataOverlayLabel SaveRGB 0 SaveAlpha 0 ViewConfiguration 0 DefineView 0 ViewType 9 ViewLevel 4 ViewAimpoint 0 0 0 ViewZoomFactor 4 ViewXRay 1 ViewMBDofPreview 0 ViewHeadlight 0 GridNumber 80 GridSize 1 CameraViewBG 0 ShowMotionPath 1 ShowFogRadius 1 ShowFogEffect 1 ShowFieldChart 1 OverlayColor_fv 0 0 0 MeshBackgroundGroup 1 Plugin VirtualStudio 1 VirtualStudio { Version 2 Active 1 LIVE 0 LIVE_FPS 30 Play 0 Arm 0 PunchIn 0 PunchOut 0 } EndPlugin CurrentLight 0 CurrentCamera 0 GraphEditorData { GraphEd_Favorites } { GE_Expression_Lib 1 } ImageEditorData NumberOfClips 0 ContentDir C:Users/Johny/Desktop/Tonemap_issue