An Animation Control project

Hi everybody!

We (100town.com) created one open-source project for 3D animation control of models: http://code.google.com/p/amao/
From there you can download an early access version of it and browse the source file.

Hope it can be helpful to your work. And we also hope you give us advices and suggests. It is an early version, many things can be changed.
Anybody interested in this topic can join us and we can work together will make it better.

I get this:
javax.media.opengl.GLException: javax.media.opengl.GLException: pbuffer creation error: glXChooseFBConfig() failed
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.maybeDoSingleThreadedWorkaround(X11GLDrawableFactory.java:669)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.createGLPbuffer(X11GLDrawableFactory.java:318)
at cl.space.ScenePanel3D.(Unknown Source)
at cl.space.sh.HomeScene3D$HomePanel3D.(Unknown Source)
at cl.space.sh.HomeScene3D.(Unknown Source)
at cl.space.sh.HomeScene3D.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at cl.space.SceneLoaderUtil.instanceDom(Unknown Source)
at cl.BrowserHistory$BrowserEntry.A(Unknown Source)
at cl.BrowserHistory$BrowserEntry.A(Unknown Source)
at cl.BrowserHistory.updateHistory(Unknown Source)
at cl.BrowserHistory.updateHistory(Unknown Source)
at cl.ScenarioManager.B(Unknown Source)
at cl.ScenarioManager.A(Unknown Source)
at cl.ScenarioManager.A(Unknown Source)
at cl.ScenarioManager$2.noChangeAnd(Unknown Source)
at cl.CLCommunicator.A(Unknown Source)
at cl.ScenarioManager.loadScenario(Unknown Source)
at cl.ScenarioManager$1.A(Unknown Source)
at cl.ScenarioManager$1.doInBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(SwingWorker.java:278)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:317)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.media.opengl.GLException: pbuffer creation error: glXChooseFBConfig() failed
at com.sun.opengl.impl.x11.X11PbufferGLDrawable.createPbuffer(X11PbufferGLDrawable.java:126)
at com.sun.opengl.impl.x11.X11PbufferGLDrawable.(X11PbufferGLDrawable.java:73)
at com.sun.opengl.impl.x11.X11GLDrawableFactory$2.run(X11GLDrawableFactory.java:311)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

I’m under Debian Etch Linux with ATI Radeon XPress 200M. Some other games using JOGL work fine on this machine.

Well, I don’t even try other platform except for windows. It is not a jogl-specified project. We only use JOGL for a demonstration.
Solving this problem is quite easy. I guess people trying to download this project should be JOGL experts. :stuck_out_tongue:
Add necessary JOGL files in your projects and set several vm arguments such as java.library.path.

to me it looks like a proven JOGL expert actually suggested that something is going wrong with p-buffers with your project on linux…

I got it.
The bug reported by gouessej is not about the animation control project. But I misread his post.
It is our another project Home3D. We tested it on opensuse platform but still don’t get chance to test it on Debian yet.

I’m going to try to reproduce this problem under Mandriva Linux, I will let you know if something is wrong.

Same problem under Mandriva Linux with ATI Radeon 9250 Pro. It does not come from Linux, it happens because you don’t check if Pbuffers are supported.