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.

Messages - fireside

Pages: 1 ... 39 40 [41]
News / Re: Release candidate of 1.16
« on: February 13, 2008, 08:43:15 pm »
Oh, yeah, how did I miss that other stuff, sorry.  I'm going to try to set up a whole new workspace in Eclipse and try to get this keyboard polling working.  I had started with that Cartoon Network program and I see now it was missing some files it needed.

News / Re: Release candidate of 1.16
« on: February 13, 2008, 04:58:16 am »
I don't suppose you could put keyboard polling in the hello world example?  I've been trying for a while and I can't get it to work.  The other examples are a little too big for me right now.  I just know the basics of Java, haven't done any windowing. 

Also, it started working for me when I accidentally overwrote my older jpct with the newer one. But then I erased the jpct folder and extracted this new one and now the runjava bat file doesn't work anymore and I get his error:
Actually, I think it's an extraction error.  I've tried two unzip utilities and I get an error on both.  It probably has something to do with this piece of crap called Vista, but the older version of jpct  extracted o.k.  I think it has something to do with the picture for hello world. 

C:\Downloads\jpct\examples\helloworld>java -Djava.library.path=../../lib/lwjgl-1
.1.4 -Xmx128m -classpath classes;../../lib/jpct/jpct.jar;../../lib/lwjgl-1.1.4/l
wjgl.jar HelloWorldAWTGL
Exception in thread "main" java.lang.NoClassDefFoundError: com/threed/jpct/Objec
        at com.threed.jpct.World.<init>(Unknown Source)
        at HelloWorldAWTGL.<init>(
        at HelloWorldAWTGL.main(
Caused by: java.lang.ClassNotFoundException: com.threed.jpct.Object3DList
        at$ Source)
        at Method)
        at Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 3 more
Caused by: incomplete literal/length tree
        at Source)
        at sun.misc.Resource.getBytes(Unknown Source)
        at Source)
        at$000(Unknown Source)
        ... 10 more

Support / Re: 2nd object
« on: February 11, 2008, 09:59:37 pm »
The normals were turned around on the model, which didn't help either.  It looks pretty good when the normals are the right way.

Support / Re: 2nd object
« on: February 11, 2008, 02:40:18 pm »
O.K.  Thanks.
I'm having a kind of rendering problem, now.  This is a mouse on a platform.  The platform is, you know, like any platform, but it seems like it doesn't look right.  It should be lighter on top.  The light is above and in front.  The mouse looks right, but the platform looks funny.

Support / 2nd object
« on: February 11, 2008, 07:10:38 am »
I'm starting with the cartoon network code for a framework because it's small and a little easier to understand and I'm rusty with my Java.  Anyway, I have an object loaded from this code:

Code: [Select]
Object3D[] obj= Loader.load3DS("Shadow.3DS", 1);

      Object3D Toy=new Object3D(0);
        for (int i=0; i<obj.length; i++) {
           Object3D part=obj[i];

           part.setRotationMatrix(new Matrix());
          Toy=Object3D.mergeObjects(Toy, part);
  Toy.translate(0, 0, 0);

What I don't quite understand is it starts out with this Object3d array named obj, loads the model, and doesn't mention it again until it's rotating some parts.  What I'd like to know is how would I load the next object and would that rotation code that  sets it aright with the world work for the second object also, or is that just parts of one object and it has to be redone?

So, this code was made for some kind of cartoon effect, but I want to modify it so it just loads multiple objects and sets them right side up.

Support / Re: bump mapping
« on: February 09, 2008, 11:14:25 pm »
O.K.  Thanks.  I have a project in mind that won't need it for now.  The benchmark discussion was interesting. I like the small size of jpct.  Hoping Blender exports will be compatible.  It's pushing polygons fairly well, actually.  Irrlicht uses that castle with octree and I think jpct is a little faster.

Support / bump mapping
« on: February 09, 2008, 08:10:25 am »
Hi.  I'm just starting to look at jPct and really like it so far.  About the only complaint I have is that it doesn't appear to do bump mapping with Opengl.  Are there any plans for that? 

Pages: 1 ... 39 40 [41]