Digital Art Zone

 
   
3 of 3
3
Falloff controls for spotlights in DS4.5P?
Posted: 06 February 2013 09:42 AM   [ Ignore ]   [ # 31 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14261
Joined  2003-10-09

RSL = Renderman Shader Language, the code in which shaders are written.

Try increasing the gamma - 2.2 would be right if shaders adjusted textures, but they don’t and so that tends to look washed out unless you create your own sahders which inverse correct textures, I find 1.5 to 1.8 is a fair compromise to get visible shadow areas without blowing out the textures.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 06 February 2013 12:49 PM   [ Ignore ]   [ # 32 ]
Addict
Avatar
RankRankRankRank
Total Posts:  2945
Joined  2011-12-10

OOO… wouldn’t it be cool if DAZ Studio could read RSL and convert that into a shader?

 Signature 

My DeviantArt Galleries
My ShareCG Gallery
OPENSUBDIV Testing and Discussion
3Delight Surface and Lighting Thread

Profile
 
 
Posted: 06 February 2013 02:11 PM   [ Ignore ]   [ # 33 ]
Power Member
Avatar
RankRankRank
Total Posts:  1313
Joined  2006-08-19
wancow - 06 February 2013 12:49 PM

OOO… wouldn’t it be cool if DAZ Studio could read RSL and convert that into a shader?

well technically thats what the shader builder is for. but yes it would be nice if it read the script files directly.

and if you want a working spotlight with decay, (I couldn’t find the sliders for the dzspotlight either) this works, you just have to fiddle with the intensity (i.e. I put the light where I wanted it and kept adding Zeros till it illuminated its target).

 

Image Attachments
Decay-SpotLight.jpg
 Signature 

http://rarethdigitalmusings.blogspot.com/

http://www.daz3d.com/gallery/#galleries/76346/

Profile
 
 
Posted: 06 February 2013 02:13 PM   [ Ignore ]   [ # 34 ]
Power Member
Avatar
RankRankRank
Total Posts:  1313
Joined  2006-08-19

here is how it rendered,

note I have the gamma set to 1.8 and for some unknown reason I used an Indrect light shader camera…

Image Attachments
spotlightwDecay.jpg
 Signature 

http://rarethdigitalmusings.blogspot.com/

http://www.daz3d.com/gallery/#galleries/76346/

Profile
 
 
Posted: 06 February 2013 04:11 PM   [ Ignore ]   [ # 35 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14261
Joined  2003-10-09

There is a compile RSL shader option in DS, if you don’t want to go through Shader Builder. But Shader Builder creates the support files (the scripts that populate the Surfaces pane, for one) which I think need to be done separately with the compile command (I’ve not used it to be sure).

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 22 February 2013 12:03 PM   [ Ignore ]   [ # 36 ]
Member
Avatar
Rank
Total Posts:  148
Joined  2011-09-24
Bejaymac - 05 February 2013 04:23 AM

Those lights are script samples that were part of the Script Dev kit in DS3, which is now included in DS4 so everyone has access to them, unless they have altered them since earlier builds then these lights don’t cast shadows, you will need to edit their main file which is stored beside the main program files to get them to cast shadows.

They don’t cast shadows in 4.5 so I’m in hot pursuit for these “DS Defaults” shader lights to get to full potential:
dzDistantLight.duf
dzPointLight.duf
dzSpotLight.duf

Could someone direct me towards editing the main files on a Mac (or does the system even matter)? I’ve never attempted anything like this.

thanks.

 

 Signature 

My Store
My Gallery
A captain’s goal was simple: find a crew, find a job… keep flying.
-Firefly

Profile
 
 
   
3 of 3
3