Hi,
got another problem…
I tried to load a simple cube, exported from wings3D or Blender.
The loaded cube from the Blender-file is black or white depending on some settings; the wings3D-file is loadable with texture but (that’s my problem) I want to change the texture or material of the cube but i can’t reach the cube.
I load it that way: scene = objL.load(“Test.obj”);
Some posted codes load it like BranchGroup xy = null; -> null = new OBJLOader().load(“xy”);
I used to test it but if I try to load the object that way, I got a classCastException… ???
The only thing working is loading the file as scene, but no chance to set material or texture there.
Where is the mistake? Wrong export?
thx for help