Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - AGP

Pages: 1 ... 13 14 [15]
211
Support / Object3D.animate(float)
« on: August 04, 2006, 11:46:37 pm »
My X-Wing is supposed to open its wings completely at the end of its animation, but when I call animate(1f), nothing happens. I've tried rebuilding the model, but nothing happens.  Thanks for any help.

By the way, the file consists of 37 model pieces, all merged into a simple Object3D. The following code merges them:

   Object3D[] objects = Loader.load3DS("./WolfXWing/xwing.3ds", .001f);
   xWing = Object3D.mergeObjects(objects[0], objects[1]);
   for (int i = 2; i < objects.length; i++)
         xWing = Object3D.mergeObjects(xWing, objects);

212
Support / Tutorials or Help
« on: August 02, 2006, 11:58:55 pm »
Hello. I wanted to start writing programs with JPCT but I need some sort of getting started tutorial. Does anyone know of one.

I am a very good Java programmer, and I did write a program that draws an X-Wing with JPCT and moves the camera around by just reading tha API docs, but I'm not great at 3D graphics programming and a bunch of weird things are happening. The X-Wing isn't onscreen when I start the program, and it disappeard very fast as I zoom out. I've tried increasing FOV but that didn't help.

Also, I'm sure my code has some redundancies because, as I said, I wrote it by just reading the APIs.

Pages: 1 ... 13 14 [15]