Colin S Posted March 6, 2015 Report Posted March 6, 2015 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 Quote
PilotNuts Posted March 6, 2015 Report Posted March 6, 2015 (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, tryhttp://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 March 6, 2015 by chenhe1023 1 Quote
Colin S Posted March 7, 2015 Author Report Posted March 7, 2015 from http://developer.x-plane.com/?article=obj8-file-format-specification Above is for *.obj file. If you use *.for, tryhttp://developer.x-plane.com/?article=forest-for-file-format-specification Excellent! It works perfectly. Thank you very much Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.