Skip to content

PQTorus Rendering Glitch #1121

@louhy

Description

@louhy

PQTorus vanishes when you're not looking at it directly. Looks like world bounds aren't updated after the vertex buffer is set:
https://vimeo.com/341919874

Suggest adding an updateBound() call at the end of updateGeometry() within PQTorus.java:

        ...
        setBuffer(Type.Position, 3, fpb);
        setBuffer(Type.Normal,   3, fnb);
        setBuffer(Type.TexCoord, 2, ftb);
        setBuffer(Type.Index,    3, sib);
        
        updateBound();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions