Distant feature billboard size estimation

Distant feature billboard size estimation

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Distant feature billboard size estimation

Post by Beherith »

How does the engine do it? Because the distant billboards seem to be half the size of the features they replace at large distances.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Distant feature billboard size estimation

Post by jK »

-_-
You are the 2nd one ...
It uses the S3O model-radius set in UpSpring.
Seems like modelers rarely set it to decent values ...

It's really time to display in debug mode feature collision volumes, too.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Re: Distant feature billboard size estimation

Post by bobthedinosaur »

So does that mean we can make a large hitsphere in s3o, and it would go off of that sphere size even if the unitlua shrank the sphere?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Distant feature billboard size estimation

Post by Pxtl »

There are legitimate reasons for making the billboard radius not match the collision radius, like if you have some non-colliding extremities on the model.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Distant feature billboard size estimation

Post by Beherith »

Ok thanks. Seems like ill have to switch to TDF defined hit volumes then. Because putting a tall tree in a large sphere screws gameplay, while having it in a smaller, sensible hitsphere makes for ugly ass distant billboards that you have no clue how they got so small.

Man every time I learn something new about the engine, I have to remake those 150+ features.

On a related note, does anyone have any sort of python or other scripted tool to read s3o-s?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Distant feature billboard size estimation

Post by Beherith »

Also, will switching to "box" hitvolumes on 1k+ features per map be much slower than using hitspheres?

Burning features also use hit sphere radius for flame radius, which makes them look off.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Distant feature billboard size estimation

Post by Argh »

will switching to "box" hitvolumes on 1k+ features per map be much slower than using hitspheres?
Somewhat, yes.
Post Reply

Return to “General Discussion”