Open shaddatic opened 4 days ago
In what circumstances is this useful? If the radius and center are set properly (which the tools do automatically), the model will be rendered whenever it is onscreen, right? Why would you need to render a model that isn't onscreen? Or is the game's algorithm broken?
It's used for skipping the ModelClip
function, like for models that will always be on-screen no matter what, making the clip calculations pointless. The performance improvement was greater on DC, I admit, however it's still a built in feature of Ninja that should be considered for support in SAIO
Chunk and Ginja have support for disabling model clipping for models with an
r
value of0.f
or below. This is intended behavior and is built into the source code; for example, Chunk:Adding support for this would allow greater control over the clipping behavior of individual models, both part of an object tree and on their own, without needing to enabling the
NJD_CONTROL_3D_MODEL_CLIP
flag in-code at runtime.It's possible Basic has the same logic, but I haven't confirmed if this is the case.