December 23, 200223 yr 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
December 23, 200223 yr Author Commercial Member 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.ArnoMember Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a] Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper.com | Former Microsoft FS MVP | Blog
Create an account or sign in to comment