Skip to content

PShape styling in P3D or P2D rendering mode doesn't work. #1910

@angellinares

Description

@angellinares

I'm trying to modify how SVG or OBJ files are rendered, but modifying the code in the rocket example (LoadDisplayOBJ.pde) or in robot example (DisableStyle.pde) nothing happens.

I'm unable to modify PShape appearance using fill(), stroke() or other stuff.

If I type sh.fill(), or other methods an error is displayed saying:

"fill() can only be called between beginShape() and endShape()"

I'm using Windows7 and Java mode.

P.S.: I've been reading and using sh.setFill() I can change the fill property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions