Jump to content

Recommended Posts

Posted

Basically, I want grass (a 3D thing that looks disgusting any further away than about 100 metres) to disappear at said one hundred metres. I know it's possible, because I've seen objects that are not rendered at a certain distance. How do you determine when the object is no longer shown?

 

Thanks

Posted (edited)

from http://developer.x-plane.com/?article=obj8-file-format-specification
 

ATTR_LOD <near> <far>
LOD indicates the beginning of a new LOD, which should be used to represent the object when the viewer is between near (inclusive) and far (exclusive) meters.


Above is for *.obj file. If you use *.for, try

http://developer.x-plane.com/?article=forest-for-file-format-specification
 

LOD <max lod>
This defines the farthest distance the trees can be seen. Lower values cause forests to disappear faster but result in faster frame rate.

Edited by chenhe1023
  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...