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]
601
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.

602
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
t3DList
        at com.threed.jpct.World.<init>(Unknown Source)
        at HelloWorldAWTGL.<init>(HelloWorldAWTGL.java:28)
        at HelloWorldAWTGL.main(HelloWorldAWTGL.java:18)
Caused by: java.lang.ClassNotFoundException: com.threed.jpct.Object3DList
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown 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: java.util.zip.ZipException: incomplete literal/length tree
        at java.util.zip.InflaterInputStream.read(Unknown Source)
        at sun.misc.Resource.getBytes(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        ... 10 more



603
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.

604
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.


605
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.setCenter(SimpleVector.ORIGIN);
           part.rotateX((float)-Math.PI);
           part.rotateMesh();
           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.

606
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.

607
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]