Vous êtes sur la page 1sur 9

Exterior A pleasetrysunskyandsun.HDRiisnotgoodideaforexteriors(betterisHDRi+sun).But Sunskygiveasbettercontrols.YoucanaddPOWER23inKraymenu(soYouincrese powerfromsunandsunsky.IthinginthispointLWFgammaisthebestforexteriors(You cantrygammainKray1.8andsamegammainLWF,becouse2.2isabittoobright). Exponentialisgoodtoobutmaketoowashingcoloursandtoostrongkilloverbrightarea... Interior A butbecarefyl..Ithing1/2isenough...higherratio(1/5)completlykillreflections:lol: btw.IfYouhavePOWER12Youdon`tneedthis,butlasttimeIusedPOWER50in HCpiterscene,andthistoolwillbehelpme(butofcoarsewedon`thaveitinthistime...) B IfYouuseExponentialinKraynaExponentialinLWFpleasedon`tuseexposure1.0(must beminimum1.1) C forsmallrenders:under1000pixbestformeisFSAAG5BOX0.60.7Rotate forbiggerrenders:FSAAG3BOX1.0Rotate D YoumustuseEXPONENTIALwithoutLWF.

LwithoutLWF. Arealightdependseffect.Youcanuse100000%with0.001m:D oversamlinginfopleasereadupfromJure. E betteris: prerender1,2,0.05gradients_neighbour0.05

switch`sprerender: 1percentdetection(1is100%,0.5is50%ofallsamples)bestis1 2howmanypasses(1isdefault,thisnowork,2istwopassesYoureciveextra samples),Ithing2or3ismaximum 0.05tresholdofdetection(smallerbiggerdettection) gradients_neighbour0.05blurrengineforsamples(0.1smallblurrbutfasterrender,0.01 strongerblurrbutslowerrender) NowwhenYourecivenewextrasamlesYoucanusesmallerFGinKrayforexample: prerender1,2,0.05gradients_neighbour0.05YoucanuseFG200/600min/maxspacing 40/1000,FGblurr0(orsmall12) Nowrenderisveryfast(becouseYouhavesmallFG)andYouhavegoodGIshadows silimartoQMC. OfcoarseYouneedexperimentwiththis.Youcanuse10passes: prerender1,10,0.05gradients_neighbour0.05andafterthatverysmallFG:10/50:lol: AndultrafastAAandblurrbecouseAAdepedsfromFG(smallFGfastAA,blurretc...) F 1/Lumiballoutside(150200%lumiwithSunskyorcolourblue) 2/Exponential2.2,recurse20,PowerinKray0.50.7 3/IfYouhavetimepleaseuseQMCFG800/0 4/YoumustputAreaLightinwindowlightbluecolourInversedistance2fallow~5mwith Powershader110(Youmustcheck:whensceneisdarkpleasincresePowerShader)of coarseinsideroomNOOUTSIDE!justafewcmfromwindow Arealightisforincresebrightnesinsidebecouse200%lumiballistoosmall(butwecan`t increseitbecouseYourecivetoostronglightnearwindowsarea.Second:fromAreaYou recivegoodshadowsandafterthatYoudon`tneedStrongsetupFGinKray.Jureshow You oversamplecommand(thisisthebestinthismoment)interiorrendersareCREAZY FAST" http://www.kraytracing.com/forum/downlo...&mode=viewunder4minonmy8core. WhenYouuseoversamplingYoudon`tneedStrongFG(sometimesenoughis200/400!) AAismuchfasterbecouseissmallFG,blurrmuchfasterbecouseFGissmalletc, shadowsGImuchbetterbecouseYourecivedextrasamplesetc... 5/Desaturateshaderonthefloor(50100%) 6/maybeextrawindowfrombacksideorleft/rightsidecamera 7/maybeextralightfromlamps(IES,sphericallightinlampsetc...) 8/goodtexturing(darksurfaces50%diffuse,brightsurfacesmaximum80%) 9/goodideahowmakelightinside

G Youmustrememberaboutthis:manythingfromLightwavearebadImean:forget specular,forgetdoublesidesArealights,forgetAmbientIntensity,forgetDiffuse100% (becousethisisunrealmaximumdiffuse80%forwhitesurfaces,minimum40fordark surfaces)YoumustthingmorephysicallyKrayrequiresthis.... H forinteriorsYouneedarealightsinwindows(forgetaboutgoodlightinsidewithoutthis.... filllightfromoutside:sunsky,lumi,ball,SUNisnotenoughbecousewhenYouincreseSun andfilllightYouwillreciveoverbrightwindowsArea) Formethebestforinteriorsinthispointare: 1/Lumiballwithsunsky+Sun(lumiball100m,200300%lumi,Sunbeigecolourwith POWER36) 2/Arealightbeforewindows(!)NoOUTSIDE!(POWER35notmuchbecousewedon`t haveyetcorrectionforPOWERinreflectionsurfaces,Inv.Dist25m,coloursofbeigeor white,size~6070%ofwindowssize) 3/MINIMUM20bouncelight(thisisveryimportant)recurse20and:postprocess desaturate,0.2(forsmalldesaturate)Youhaveallinchoicemenu... 4/IpreferExponential2.2(Iknowthisabitdestroyrealtexturecoloursbutmakenice contrast) 5/backgroundimageMUSTHAVE:uncheckallshadowsandcheckUNSEENBY RADIOSITYandRAYTRACING(Iknowafterthatwedont`tseereflectionfrombackground image,butweseenicebluecolourfromsunskyandbackgrounddon`tblockedlightfrom sunsky)Idealismake3Dbackground:) 6/goodidea.... I Looksgood. IthingmaximumPowerShaderforrendersis10.lookonthewindowsplasticthisregion musthaveshadowsarea(becouseoverthiswereceive"atomic"lightonreflection surfacesIhopeG.fixthisthisisnobug,butneedcompesationincode) FrommytestIthingPower810isenough+minimumrecurse20andPowerinKray0.4 0.6(0.2issmallmakegrayrender...) Maybecurtainistoopoor(toosmalldetailsonthis),sunneeddeepercolour. Maybeputlumiballoutsidewiththistexturehttp://www.kraytracing.com/forum/downlo... &mode=viewandPowerShader23(makeabitsmallergammaonthisfordeepblueand strongareainwindowssmaller)Thistexturemakebluereflectiononfloorbutwhitein horizontsandontheceiling.backgroundYoumustputbehindelumiball(makeball100m) andputontheballUNSEENBYCAMERA.BackgroundmusthaveUNSEENBY RADIATIONandminimum100%luminosity+controlinimageEDITOR(desaturateand biggammathisisonlyforView)InonstopaskG.abounttotallEXCLUDEforsurfaces

incode,maybeshaderTotallExcludebecouseweneedonlyseebackgrounnothing else.....Iamnosureglassinwindows(thistrickisgoodwithoutglassswindowsYoumust check). J nicowrote:1Sun(beigecolournotyellow!!!)PoweShader38InverseDistance1 it'snecessary1kmofdistance?what'srgbcolourofbeige?sunspotplugin?it'saarea orspot? whereverdistance(butminimum500m)Youcanusespotorsmallarealight.See attachmentwithmarkedareaoflightforKray. nicowrote:2AreaLightsoutsidebehindewindows:Powermaximum10,AreaLights Inversedist1,blue/graycolour what'srgbcolourofblue/gray? notmuchblue=(justdesaturatebluecolur)seeattachment nicowrote:3it'snecessarytheskydomeasenviromentoricanusesunskyin enviromenttexture? 4what'sintensityforenviromentorskydomesphere? IuselumiblueballortexturewithPower3(onlyforbluereflectionsonfloor)restlightis fromArealightsbehindewindows.Seeattachment. nico wrote:6setuppreset?mediumorhight? :lol:thisishardallpeoplelookinggoodsetupmaybeYouwillfindegoodsetupfor Kray....butwhenYoutiredYoucanUseQMC.... K Forlampsinsideroomandfilllights(ceilinhidefilllight)itisgood:Powermaximum10, ArealightInverseDist2,beigecolours(noredandyellow!!)

ForfillAreaLightsoutsidebehindewindows:Powermaximum10,AreaLightsInverse dist1,blue/graycolour Minimum20bouncelights(formixcolours)andPowerinKraymaximum0.5(1.0defaultis toostrongmakebadcontrast) Sun(beigecolournotyellow!!!)PoweShader38InverseDistance1(Inv.dist2forSun isbadidea) L 1/PleaseaddarealightsinwindowswithPowersShader 2/AddPowershaderforSun(minimum10) 3/doublesurfaceonmirror 4/addbackgroudview100%luminositywithraytracingKrayshaderanduncheckall shadows+unseenbyradiosity 5/betterfloor 6/betterlampsontheceiling(nowarecrap) 7/betterchairs 8/betterradiation(spatialistoobig:try0.08) 9/sunskyinTextureenviroment 10/Youcandelatealltablesandchairs(pleaseuseonlyonewithstuffontable:dishes, glass,flowers,cloath,etc)andafterthadloaditinlayoutanduseInstances 11/diffuseonwalls:85% 12/ceilingistooflat:makeholsinforambientlight. M Rendersaredarkwithoutcolors,"washingrenders"... 1/PleaseaddarealightsinwindowswithPowersShader 2/AddPowershaderforSun(minimum10) 3/doublesurfaceonmirror 4/addbackgroudview100%luminositywithraytracingKrayshaderanduncheckall shadows+unseenbyradiosity 5/betterfloor 6/betterlampsontheceiling(nowarecrap) 7/betterchairs 8/betterradiation(spatialistoobig:try0.08) 9/sunskyinTextureenviroment 10/Youcandelatealltablesandchairs(pleaseuseonlyonewithstuffontable:dishes, glass,flowers,cloath,etc)andafterthadloaditinlayoutanduseInstances 11/diffuseonwalls:85% 12/ceilingistooflat:makeholsinforambientlight N Formenowisbest:

Lightmapmode+Arealightsoutside(1mfromwindows,5070%sizeofwindowswith Powerminimum10(bluecolour),Sun610Powerbeigecolour,insideindarksareas AreaonceilingwithPowerminimum15(verywarmcolour:deepbeige,orange).Powerin Kraymustbeunder1.0.IfYouhave20windows,pleaseuse1015Arealights.Diffuse maximum85%. Deepbluebackgroundforreflections(nosunsky).Minimum20bouncelight(becouse photonsmustmixcoloursinscene)andtheimportant:greatidea O Fewguysaskedforsettingandididn'tansweranyhtingthatmayhelp.SoItriedtodescribe whatilearnedfrommyshortKrayexperience.Pleasenotethatthereareprobablybetter waystodothings,ijustdon'tknowthemyet:)Sotakeitsceptical.Mostoftipslook obviousandmostofitidigoutfromthisforum.Ihopesomeonewillfindituseful.Thereit goes: IstartwithsettingallmaterialsDiffuseto80.Thisisbasediffusevalue.Backtopastwhen 3DappshadntGIimplementedandpeoplewereusingregularlightsandsurfacingtricks tomimicrealwordlightingIwasusingDiffuse=60asbase.LaterwhenLWgotuseableGI solutionIfoundoutthatvalue80worksbestforme.SoimusingsameforKray,though maybelowerDiffusevaluesmaygiveyoumorefreedomandpossibilitieswithKray.Idont haveenoughexperiencetotellthat. LateronSurfacingstageiadjustdiffusevalueswhereitneeded. Then,IsetDiffuseto0forluminoussurfacesansetLuminositytoappropriatevalues. ThenIaddKrayQuickLWFmasterplugin,setParameterto2.2andcheckAffecttextures. Soallimagemapsandcolorvalueswillbeconvertedfrom2.2gammato1.0gamma (whichisequaltoapplying0.45gammatoimages),Itwillhelptokeepsaturationand contrastoffinalrender. NextstepIputlightstoscene.Andtuneoveralllighting.Lightingmaychangeduring surfacingphasebutIneedtohavesomethingtostartwithJAtthispointyouhavetodo PhotonEstimaterenderstoseewhatsgoingonwithphotons. Imusingarealightsforwindowsandappropriatelighttypesforinteriorlights(likespotsfor toplightsetc.)UsingArealightsforwindowsinsteadofluminoussurfacesorGIsphere helpstoproducebetterqualityshadows.Itworksforsmallspaceslikeapartmentsandso on,forlargespaceslikeretailareasorcasinohallsusinglotsarealightswillleadtoway longerrendertimes. TherearetipsforlightsIlearned: InverseDistance^1worksbestforwindowarealightsformanyscenes. Youcanbalancedirect/indirectlightinggeneratedbylightusingKrayPhotonMultiplier motionmodifier.DirectlightiscontrolledbylightsIntensity,Falloffdistanceandindirect

lightcontrolledbyPhotonpowermultiplierinmotionmodifierappliedtolight.Thiswayyou canavoidoverbrightareasnearlightswhilekeepingroomwelllit. Irunintosomeproblemswhentuninglighting: WhenusingphotonmapifyouhavespotsunlightwithSpotlighttoareaenabledorusing arealightassunlightsarelosingphotons.OnPhotonsEstimaterenderitlookslikealot ofblackspotswheresurfacewasnthitbyphotons.Actuallyfinalimagemaylook somewhatok,butyouwillseedarksplotchesinreflections. Thereare2workaroundsIcamewith. 1.UsespotsunlightanddisableSpotlighttoarea.Thiswayyouhavehardshadowsfrom sunsource 2.Switchtolightmapmode. Whenusinglightmapyoumayrunintobrightspotsonrender.Sometimestheyareseenin reflectionsonly.Thesearecausedbyhot,overbrightsurfacesnearlightsource. TherearefewworkaroundsIcamewith. 1.Switchtophotonmapmode.Forsomereasontheresnosuchissue,butyouwillhaveto dealwithdarkspotsifyouusingareasun:),thoughforsceneswithnosunitwillworkwell. 2.Moveobjectawayfrombrightlightormovelightitself. 3.ChangelightfallofftoInverseDistance^1. Forthosewhodoesntknowhowfalloffworks:Ifwehavelightwithintensity=100%,falloff distance=1mandfallofftypesettoInv.Distance^1or^2thenlightintensityon1m distancefromlightequalsto100%.For^2itfallsoffinproportionto1/R^2,andfor^1? 1/R. Letsseewhatintensitywillbein10cmfromlight.ForInv.Distance^2itwillbe10000%! ForInv.Distance^1itwillbe1000%.For1cmdistanceitwillbe1000000%and10000% respectively. Thatswhychangingfallofftypehelpswiththissituation. NowaboutPhotonstabsettings.ImusingmostlydefaultsettingsandadjustingGlobal photonnumber,NvalueandPoweronly.(andsetCausticphotonsto0ofcourse) GlobalphotonsandNallowtocontrolnumberofcellsgeneratedbyKray.Numberofcells canbeseeninrenderwindowlog(somethinglike***BuildingPrecomputedKD(XXXXX

cells)).ForthesescenesihaveGlobalphotons:500.000?2.000.000andN:300?800 andcellsnumberproducedisabout60k?100k,thoughitreadsomewhereonforumthat 35kwouldbeenoughforsuchscenes.ForPowerihave0.50.8. FGtabsettings.FGTreshold=0.001,Minrays:200400,MaxRays:8001200 Spatialtolerance0.10.03?lowervalueshelpwithsmalldetailsandcontactshadows (AreasforwindowshelptokeepthisparameterhighandasresultfasterFGcalculation) SomeobjectscanslowdownFGcalculationdramatically.Curtainsforexample.Forthese youcanuseKraySurfaceOptionsshader.TurnControlFGraysonandusesomethinglike 50,0,01,200.Verycoolability. AndsomesurfacingtipsIused ForluminoussurfacesbehindwindowsIusedKrayIndirectRaysshaderwithLimitDR enabledandsetto100%orlower.Ithelpstocrunkluminosityuptogetgoodreflections andpreventsurfacestoaffectindirectlighting(sincewindowlightdonebyarealights already) Whenyourrenderhasacceptablelevelofnoiseonsurfaceswithblurredreflectionbutone ofobjectstillappearstoonoisy,insteadofcrunkingreflectionqualitysettingsupand endingupwithwaylongerrendertimeyoucanuseKraySurfaceOptionshaderfornoisy surfaces.JustenableControlReflectionblurandputsettingsyoulike. PeopletryingtomimicFresneleffectbyusinggradientwithIncidenceAngleinput.Ususally theyuse2keys,onefor0degreesandsecondfor90dergrees.Youcanimproveitabit addingthirdkey.Imusuallyclickingnear90degreekey(darkareaforReflectionchanel) anddragituptoward0degreeskey.FPrimecancomehandyforfinetuning. Torevealsmalldetailsonsomeobjects,likecarvingandrecessingondoors,moldings, seamsbetweendrawersandsoon,insteadofcrankingFGsettingsupimusingIFW Occlusionnodewithsamplenumber1012,Distance0.1andDitherDisabled. SometexturesmaylooktoodarkoroversaturatedwhenusingKrayQuickLWFifthis happensimusingLWsImageEditorandadjustSaturationandGammavaluesfor particulartexture. FordarkareasyoucanadjustpowerofbouncedphotonswithKrayPhotonMultiplier shader.SayyoucanputitondarkfloorsurfaceandsetDiffusepowermultiplierto2or3. P

Itookalookatyourscene....Herearemysuggestions: getridofhiddenarealightsontheceilinguselumipolygons turnluminositymodeltoindirect increasesunintensity addarealightsinwindows switchtoexponentialtogetbettercontrast adjustqucikLWFforexponential(lowergamma) removekrayindirectraysshader(uneedtoseecolorbouncing) removeSG_CCtools(udon'tneedthis) decreasediffuseontextures(max8090%) letsmakeanexample ihaveinthegeneralkrayrenderpanel:exponential2,2e2 inLWFpanelgamma2,2e2 therenderwiththosesettingisquitedark...torendermorelighhenedhowishouldchange bothsetting? Don'tchangeexposureinQLWFpanel.Leaveitat1.0.WithexponentialinKrayguithe correctwaywouldbetochangetonemaptoExponentialinQLWFalso.Butthiscurrently producesblackrenderbecausethereisabug.Aworkaroundistousegammaandlower parametertoaround1.6. Soforexample KrayGUI:exponential2.2 QLWF:gamma1.6 Inyourcaseinsteadofhavingexposure2Iwouldchangeitto1andmakealllights2x brighter...