www.BinaryAlchemy.de :: View topic - Raylength before displacement.
 SearchSearch   RegisterRegister  ProfileProfile   UsergroupsUsergroups   Log inLog in 
If you create a new post, please use a topic that describes your problem
Documento sin título
 
Raylength before displacement.

 
Post new topic   Reply to topic    www.BinaryAlchemy.de Forum Index -> Shader Requests
View previous topic :: View next topic  
Author Message

danyargici



Joined: 17 Dec 2006
Posts: 25

PostPosted: Sun Dec 17, 2006 6:10 pm    Post subject: Raylength before displacement. Reply with quote

I was just trying to find a way to set up some LOD control for the displacement in my rendertree, when I reaslised there seems to be no way to get the raylength before displacement using standard shaders. Much the same way that applies to Incidence (unless the Alan's Incidents shader is used).

Could be a nice thing to consider.

Cheers,

Dan.
Back to top
View user's profile Send private message Visit poster's website

schoenberger
Site Admin


Joined: 02 Mar 2005
Posts: 3786

PostPosted: Mon Dec 18, 2006 11:31 am    Post subject: Reply with quote

I think it would be possible to get the total distance from the camera to the object. But I am not sure if that also applies, if you enable to option to subdivide all object at start of the rendering. (This An Mray option)
I have already a shader which gives you the total distance, which can be used at initialisation. This shader will be for the next volume version (some shaders are missing). This way you can set the table resolution based on the distance of the object to the camera.
_________________
Holger Schönberger
Binary Alchemy - digital materialization
Back to top
View user's profile Send private message Send e-mail

danyargici



Joined: 17 Dec 2006
Posts: 25

PostPosted: Tue Dec 19, 2006 1:21 am    Post subject: Reply with quote

Sounds like it'd do the trick, looking forward to it! Used your volume cloud shaders for a National Geographic job recently, really worked well. I'll try to remember to send it to you once it gets aired!

All the best,

DAN
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.BinaryAlchemy.de Forum Index -> Shader Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 
Documento sin título
 



Powered by phpBB © 2001, 2002 phpBB Group



Number of shameful bots caught by Anti-Spam ACP: 1667