Author Topic: Using Blender to create a 3ds file  (Read 9505 times)

Offline mikedehaan

  • byte
  • *
  • Posts: 6
    • View Profile
Using Blender to create a 3ds file
« Reply #15 on: April 12, 2006, 07:13:03 pm »
Hmm....This error seems to happen when the rotateMesh() method is called.

Here's my code snippet...

Code: [Select]

Object3D aobject3d1[] = Loader.load3DS("3ds" + c + "terrain.3ds", 60F);
level = new Object3D(0);
for (int k = 0; k < aobject3d1.length; k++) {
Object3D object3d = aobject3d1[k];
object3d.rotateMesh();
level = Object3D.mergeObjects(level, object3d);
}


To be honest, I've been experimenting with JPct by taking the demos and modifying them.  This example came from the FPS demo.  I don't really know why the rotateMesh() method is there, nor do I know the effects of using the method.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Using Blender to create a 3ds file
« Reply #16 on: April 12, 2006, 07:24:25 pm »
Ok, i've found the problem. The upcoming version 1.11 should fix it. For now, just leave out any call to build() or rotateMesh() on the sub objects. It's not needed anyway at this stage of your code.