Main Menu
Menu

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.

Show posts Menu

Messages - mikedehaan

#1
Support / Using Blender to create a 3ds file
April 12, 2006, 07:13:03 PM
Hmm....This error seems to happen when the rotateMesh() method is called.

Here's my code snippet...


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.
#2
Support / Using Blender to create a 3ds file
April 07, 2006, 05:29:08 AM
Egon, I sent you an email that has the 3ds file I tried to load.  Let me know if there's anything else I can provide you with.
#3
Support / Using Blender to create a 3ds file
April 07, 2006, 01:35:01 AM
For the jPCT version, when I run...


public static void main(String args[]) {
System.out.println(Config.getVersion());
}


It returns...


1.10


I'll need to work on getting you a failing 3ds file.  I overwrote the bad one by mistake.  I will hopefully have one by tonight.  Should I send it to your email address on the contact page?

Also, I'm using 3ds because it was the only loader I recognized.  Is there a better(non-proprietary) way that I should be doing this?  Are there plans in the future to support Blender or other open source modelers?
#4
Support / Using Blender to create a 3ds file
April 06, 2006, 06:29:19 AM
Doesn't 3ds max cost something like $4,000?

I've tried AC3D which costs about $59 (for the basic version).  The textures and 3ds export seem to work for the most part.  Although, some of the models I've created with AC3D won't load in jPCT.  I get an exception in MergeObjects...

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 20
   at com.threed.jpct.Object3D.appendToObject(Unknown Source)
   at com.threed.jpct.Object3D.mergeObjects(Unknown Source)
   at JPCTDemo.<init>(JPCTDemo.java:275)
   at JPCTDemo.main(JPCTDemo.java:152)
#5
Support / Any suggestions on a better modeling tool?
April 03, 2006, 06:08:58 AM
Is there a another tool that I should be using instead of Blender to create 3ds files?  What is everyone else using?

- :?:
#6
Support / Using Blender to create a 3ds file
April 03, 2006, 01:39:57 AM
I'm trying to create a 3ds file in blender similar to the ql.3ds from the fps demo app.

I'm having some trouble understanding materials and textures.  What I'm trying to do is create a terrain in blender and assign some simple textures to parts much like the wooden doors and brick walls in the ql.3ds file (e.g. water for a small pond, grass for the rest - nothing too complicated).

I have sample code that demonstrates my problem (modified version of the fps demo) and blender files, but I don't have a place to make them available.

Any advice would be greatly appreciated.

-Mike