www.jpct.net

General => News => Topic started by: EgonOlsen on February 12, 2008, 07:58:23 pm

Title: Release candidate of 1.16
Post by: EgonOlsen on February 12, 2008, 07:58:23 pm
For all who are interested in 1.16, get it here: http://www.jpct.net/download/beta/jpctapi116rc1.zip (http://www.jpct.net/download/beta/jpctapi116rc1.zip)
This isn't an official release ATM, because it's not fully tested but i wanted to release something now...

Here are the changes for this version (as you can see, nothing too important has happened):

Code: [Select]
Added the possibility to the ShadowHelper to suppress the inversion of the culling when rendering the shadow map.
Fixed a bug in the OBJ-loader that caused objects with multiple materials in one group to fail.
Fixed some problems with particular models in the OBJ-loader.
Fixed a flaw in getPolygonIDs in the GenericVertexController.
The (opengl-alike-) software renderer now supports additive blending.
Fixed a problem with serializing an Object3D that uses a PolygonManager.
All serializable classes now include a serialVersionUID.
Did some smaller code cleanups.
Replaced the LWJGL1.0 by the current release 1.1.4.
Added a HelloWorld-example to the examples-dir (docs are still missing for this).
Title: Re: Release candidate of 1.16
Post by: raft on February 12, 2008, 10:28:40 pm
thank you for serialVersionUID's :)

i'm afraid there is compression flaw in this relaase. jpct.jar has CRC errors so we got NoClassDefFoundError in return  ::)

Title: Re: Release candidate of 1.16
Post by: EgonOlsen on February 12, 2008, 11:06:46 pm
The zip on my HD is fine, just the uploaded version is screwed...this is the second time something like this happened on my server...strange. I've upped the file again, i hope it works fine now.
Title: Re: Release candidate of 1.16
Post by: raft on February 12, 2008, 11:12:58 pm
yeah, it seems ok now
Title: Re: Release candidate of 1.16
Post by: fireside 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


Title: Re: Release candidate of 1.16
Post by: EgonOlsen on February 13, 2008, 04:11:03 pm
The first upload was corrupted somehow by the server, the new upload should work. Try to download it again and see if that helps. Make sure that not some proxy server or something is still giving you the old one. I can download and extract the new version without a problem (even when running Vista... ;) ).
Title: Re: Release candidate of 1.16
Post by: fireside 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.
Title: Re: Release candidate of 1.16
Post by: EgonOlsen on March 02, 2008, 01:20:03 pm
I've released rc2. Get it here: http://www.jpct.net/download/beta/jpctapi116rc2.zip (http://www.jpct.net/download/beta/jpctapi116rc2.zip). It adds just some small fixes to rc1:

Code: [Select]
Added the possibility to the ShadowHelper to suppress the inversion of the culling when rendering the shadow map.
Fixed a bug in the OBJ-loader that caused objects with multiple materials in one group to fail.
Fixed some problems with particular models in the OBJ-loader.
Fixed a flaw in getPolygonIDs in the GenericVertexController.
The (opengl-alike-) software renderer now supports additive blending.
Fixed a problem with serializing an Object3D that uses a PolygonManager.
All serializable classes now include a serialVersionUID.
Did some smaller code cleanups.
Replaced the LWJGL1.0 by the current release 1.1.4.
Added a HelloWorld-example to the examples-dir (docs are still missing for this).
Improved state management to make jPCT work with the current release of FengGUI.
Added a switch to autoBuild Object3Ds to Config. It's disabled by default to stay compatible with older versions.
Fixed a flaw in normal processing when rendering objects that don't have a bounding box.
Title: Re: Release candidate of 1.16
Post by: Jonas on March 02, 2008, 07:00:48 pm
Hi
I get that msg from winrar:

!    CRC failed in jpct\lib\lwjgl-1.1.4\jinput.jar. The file is corrupt
!    CRC failed in jpct\lib\lwjgl-1.1.4\lwjgl.jar. The file is corrupt
!    CRC failed in jpct\lib\lwjgl-1.1.4\lwjgl_test.jar. The file is corrupt


Title: Re: Release candidate of 1.16
Post by: EgonOlsen on March 02, 2008, 07:19:08 pm
Damn...i'm obviously having a problem with my ftp-uploads to the server... >:(
Anyway, i've renewed the file, it should work now. Please try again.
Title: Re: Release candidate of 1.16
Post by: Jonas on March 02, 2008, 08:20:35 pm
Works for me now, thanks.
Title: Re: Release candidate of 1.16
Post by: EgonOlsen on March 05, 2008, 10:22:04 pm
I've update the package with a new helper-class in the util-package called "Overlay". It can be used to create scalable overlays (or backdrops or even something inbetween).

Edit: With "overlay" i mean something like the (ugly!) red border in this picture. It's done using a 256*256 texture. With blitting alone, this is not possible for arbitrary resolutions.

(http://www.jpct.net/pix/overlay.jpg)