COLLADA on JOGL(build 20090420)

We just finished our beta version of our COLLADA on JOGL viewer. Anyone who is interested can have a look in and give us suggestions. Here is a short intro
http://www.100town.com/web/public/products/colladaonjogl/intro and a JWS link for animation test http://www.100town.com/base/cyber.jnlp
The server is in china so it might be a little bit slow to you :frowning: and the performance is not so satisfying currently. :stuck_out_tongue:
But we will continue to improve it.

You might want to make it 1.5 if at all possible so that mac users can view it as well.

Thanks for your advices.
We will compile under JDK 1.5 and test it under other OS types.
It might be 15th of this month after our spring vacation.
I will put a post here then.

It is faster and a little bit more stable now. :stuck_out_tongue: there are many works need to be done.

I have been viewing it on Windows Media Center sp2, 1gig RAM, 1.6CPU single, Intel 945GM,

it’s kinda slow… and it takes A LOT of memory :open_mouth:

Are you going to give away the source code? :smiley:

http://www.java-gaming.org/forums/index.php?topic=18179.0

It might solve that topic ;D ;D ;D

One bad news and several good news. The version for JDK1.5 is still not ready. It will be done later after we feel our 1.6 version is good enough. Some guys ask me for the possibility of using our COLLADA on JOGL in their applications. Now you can go to the page http://www.100town.com/web/public/products download the sample project to check the possibilities. It is free for non-commercial purpose.

Our SDK is based on joglutils. The sample only show basic functions of loading and viewing. You may have to implements your logic about manipulating objects right now.

Very soon a new package about manipulating collada objects such as moving, scaling, rotating and animation invoking etc. will be published.

Again we welcome your advices and suggestions.

We had implemented a facility to help users embed their own COLLADA models into the web pages. Check http://100town.com/web/public/promotion for our samples.
User can also test the collada model by drag the model (or a link) the application for viewing.
If you are wondering how we do it. You may find some clues from the following long url. :stuck_out_tongue:
http://100town.com/web/public/products/colladaonjogl/testcollada?_jsptoscript_clzn=6&_jsptoscript_clzi0=clzzimgi&_jsptoscript_clzzimgi=http%3A//sketchup.google.com/3dwarehouse/download%3Fmid%3Dc5d032b1808d5ae015f5ee0ab3287adc%26rtyp%3Dlt%26ctyp%3Dother&_jsptoscript_clzi1=clzzwidthi&_jsptoscript_clzzwidthi=700&_jsptoscript_clzi2=clzzheighti&_jsptoscript_clzzheighti=650&_jsptoscript_clzi3=clzzPi&_jsptoscript_clzzPi=cl.testcollada&_jsptoscript_clzi4=clzzexnin0&_jsptoscript_clzzexnin0=extracolladaurl&_jsptoscript_clzi5=clzzexniv0&_jsptoscript_clzzexniv0=http%3A%2F%2Fsketchup.google.com%2F3dwarehouse%2Fdownload%3Fmid%3Dc5d032b1808d5ae015f5ee0ab3287adc%26rtyp%3Dzip%26fn%3DEstadio%2Bde%2BVelez%2Binventado%26ctyp%3Dother

Java 1.6 is available through ADC for Macintosh as far as I know.

One major reason that we don’t support jdk1.5 yet is because we are using jaxb2. There are many great feathers which are only supported in the later version of jaxb. And the bundles of jaxb2 are huge. If it is shipped with jdk 1.5 users have to download them.
Sun should have a resolution to let all users only use the latest version of java and keep the world simpler.

So I’ve heard, although it seems only available for 10.5 (and I have 10.4).

The new build (20090420) of COLLADA on JOGL is published.
In this version, the performance had been improved greatly with a little sacrifice of loading time;
the Double-buffered animation and rendering are implemented;
The memory usage had been improved greatly;
Skeleton-rig animation are implemented;
Shader supported;
Configurable animation Control are included.
http://100town.com/base/cl/testcollada/cyber.jnlp

I got an exception (console file enclosed on this post).
Java 1.6-07
XP PRO SP3
ATI X800

This exception is cause by the slowness of the network. The collada file and the texture are stored on a web server. We set the default waiting time for download 30 secs.

Try to run it again…

run fine second at second try, unfortunatly too slow to be really usable :frowning: anyway very cool demo and nice GUI (I am currently working on something a bit similar but not related to collada)

About the performance issue, the loading time is the major problem. The problem of rendering has proven good enough on any modern graphical card.
The long loading time is due to we using JAXB2. We had tried every way of optimization we can do. But JAXB2’s classloader’s mechanism is the major bottle-neck, especially when loading COLLADA’s nearly 200 java classes at the first time, Later they will be cached. I hope JAXB2 can improve it in the future. If you are not using JAXB, it will be another story.

This demo is just a demo of COLLADA on JOGL library, it has other factors that may make you feel it is too slow, for example, downloading resources from server located in another country, etc. That are the things we cannot control. But don’t worry the usage, it will be useful at some cases :). We had spend some time to improve user’s experience when running from some old-computer.
Try to press up, down, left, right to have a look.
By the way, some guys asked me how to view the animations of the model. The animation is configured in a file. The format is defined in the project: http://code.google.com/p/amao/

It this demo, the animation control is defined as:
Press “F” for four circles of animation;
Ctr+W for start
Shift + R for stop.