Quote:- How many objects in the obj file?
- Does the same error happen with a simple obj file (Like a cube)?
- Have you tried OPENGL?
- Have you tried adding a pushMatrix() after the draw of the model (no reason why that should work but just throwing it out there)
I just used to example-code that came with the library, and changed nothing but the model (and copy over the textures and *.mtl to processing root).
I just used the example-code with the the given dma.obj, same prob, same parts display (sometimes), the mouse-drag-events dont work:
V Size: 727
Vt Size: 916
Vn Size: 1494
G Size: 6
S Size: 64
java.lang.RuntimeException: Too many calls to popMatrix() (and not enough to pushMatrix)
at processing.core.PGraphics3D.popMatrix(PGraphics3D.java:2632)
at processing.core.PApplet.popMatrix(PApplet.java:7445)
at Temporary_5216_3911.draw(Temporary_5216_3911.java:54)
at processing.core.PApplet.handleDisplay(PApplet.java:1355)
at processing.core.PGraphics.requestDisplay(PGraphics.java:564)
at processing.core.PApplet.run(PApplet.java:1450)
at java.lang.Thread.run(Thread.java:619)
java.lang.RuntimeException: Too many calls to popMatrix() (and not enough to pushMatrix)
at processing.core.PGraphics3D.popMatrix(PGraphics3D.java:2632)
at processing.core.PApplet.popMatrix(PApplet.java:7445)
at Temporary_5216_3911.draw(Temporary_5216_3911.java:54)
at processing.core.PApplet.handleDisplay(PApplet.java:1355)
at processing.core.PGraphics.requestDisplay(PGraphics.java:564)
at processing.core.PApplet.run(PApplet.java:1450)
at java.lang.Thread.run(Thread.java:619)
So I guess S Size somehow counts geometries int the obj, the one I used has:
V Size: 63689
Vt Size: 74323
Vn Size: 24100
G Size: 3634
S Size: 8672
With OPENGL you mean a part of the processing-API, to load an obj another way?
Any link?
BTW the model works fine with sketchup, blender and Java3D ...