Trouble-shooting s3o units: Difference between revisions

From Spring
Jump to navigationJump to search
Erom (talk | contribs)
New page: [URL=http://imageshack.us][img]http://img54.imageshack.us/img54/1278/problemga6.jpg[/img][/URL]
 
Erom (talk | contribs)
No edit summary
Line 1: Line 1:
[URL=http://imageshack.us][img]http://img54.imageshack.us/img54/1278/problemga6.jpg[/img][/URL]
This page assumes you have a working knowledge of Spring unit creation, and will address some common pitfalls in creating s30 units.
 
=Invisible Unit=
'''Problem:'''
Unit spawns projectiles, engine flare, and other fx, as well as functioning correctly, but the model is invisible at any view distance.
 
'''Check:'''
* That your s3o has both a radius and height set in Upspring.
 
=Disappearing Unit=
'''Problem:'''
Unit operates correctly, including being visible at low zoom levels, but disappears at higher zoom levels, often leaving a small grey blob. Example:
http://img54.imageshack.us/img54/1278/problemga6.jpg
 
'''Check:'''
* The reduction to grey blob is done by the LOD (Level Of Detail) process in spring. For 3do units, this nicely scales down a full 3d unit to a sprite as you scale out. For s3o, this doesn't work as nicely. There are two things you can do:
** 1: Make sure your unit has a radius that reflect the model size accurately. The view distance at which LOD kicks in is proportional to unit radius.
** 2: Make sure your LOD setting in Spring is high enough to actually display the unit correctly.

Revision as of 15:39, 15 July 2007

This page assumes you have a working knowledge of Spring unit creation, and will address some common pitfalls in creating s30 units.

Invisible Unit

Problem: Unit spawns projectiles, engine flare, and other fx, as well as functioning correctly, but the model is invisible at any view distance.

Check:

  • That your s3o has both a radius and height set in Upspring.

Disappearing Unit

Problem: Unit operates correctly, including being visible at low zoom levels, but disappears at higher zoom levels, often leaving a small grey blob. Example: problemga6.jpg

Check:

  • The reduction to grey blob is done by the LOD (Level Of Detail) process in spring. For 3do units, this nicely scales down a full 3d unit to a sprite as you scale out. For s3o, this doesn't work as nicely. There are two things you can do:
    • 1: Make sure your unit has a radius that reflect the model size accurately. The view distance at which LOD kicks in is proportional to unit radius.
    • 2: Make sure your LOD setting in Spring is high enough to actually display the unit correctly.