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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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