Skip to main content

java 3d tutorial help

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
shebaloma
Offline
Joined: 2011-04-13

im using ObjectFileLoader to get a a shape from a .obj file that works fine, but im tring to get the values from the shape by casting to GeomatryArray. when i have the GeomatryArray i try to getCoordinate(i, floats) on the GeomatryArray i get "GeometryArray: cannot directly access data in BY_REFERENCE mode".
any help would be good thank you for your time