[YS Science] HTRADIUS and render distance

Topics discussing YS physics and behaviour
Post Reply
User avatar
waspe414
Staff
Staff
Posts: 1534
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 148 times
Been thanked: 488 times
Contact:

[YS Science] HTRADIUS and render distance

Post by waspe414 » Thu Aug 25, 2022 2:19 am

HTRADIUS defines the distance from an object center within which collisions are calculated. It also affects render range
YS will load the primary visual file within 21x the HTRADIUS. Outside of 21x HTRADIUS it switches to the coarse file, which renders to 730x HTRADIUS
For an aircraft with a 10m HTRADIUS, it will render the visual file within 210m, and the coarse file to 7.3km

Ground object files render from, at maximum, 18km, which corresponds to a coarse HTRADIUS of 25m, or a full detail HTRADIUS of 850m. Accordingly, large ground objects should be low detail to prevent excessive render cost. It's possible to overlay two objects, one for collisions with a high HTRADIUS, and one for visual detail with a low HTRADIUS
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests