WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-15-2013, 09:23 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Ok, I see two ways to go about this:

1) Use a LOD node with with a different group node for each range, but the same base model is added to each group node. So you still retain only one instance of the model. Then you can apply the different shaders to each group node.

2) Compute the distance of the viewpoint to the object within the vertex shader and use that as a way to dynamically switch between simpler and complex computations.

I would consider method 1 more ideal, but it might be more difficult to setup. Also, if you have different shaders applied to various sub-parts of the model, then method 1 won't work.
Reply With Quote
Reply

Tags
lod, shader


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC