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.
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.