Sign in to follow this  
arno

Range when object appears

Recommended Posts

Hi!I have one phylosophical question. Let say we have one model which is more detailed when aircraft is near (so fences appears, antennas, etc...) and less detailed when far. Which conditional instruction is better to use,* IfVarRange( :Ret 33b 0 $max_dist ) or* IfVSize( :Ret $Max_dist $min_pixel ) IfHSize( :Ret $Max_dist $min_pixel )I tried to find it out by myself and it seems there is no big difference. I am sking You because FSDS only knows IfVarRange/IfVarAnd conditions and I have some complicated object which are hard to simplyfy.Best regards to all and merry christmas!Goran BrumenFS Slovenija 2002 teamhttp://slovenia.avsim.net

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Goran,I never tried comparing them, but if I remember correct the IfHSize and IfVSize look at the number of pixels a certain object is. So I expect this also to depend on the screenresolution and not only on the distance.Using IfVarRange with the distance depends, of course, only on the distance.So I think it depends on what you want which one is better to use. Some small details may only be relevant at a certain resolution, while for other objects a certain distance mught be more appropriate.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this