Java3D 1.5.2 with JOGL 2

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Java3D 1.5.2 with JOGL 2

gabnicu
Hello,

Is there any way to run Java3D (we use 1.5.2) with JOGL 2? Java3D runs fine with JOGL 1.1.1 (we need to run on MacOS) but the name of the jars is different in JOGL 2.0. I was wondering if anybody did test Java3D with JOGL 2.
Thx,
 Gabi
Reply | Threaded
Open this post in threaded view
|

Re: Java3D 1.5.2 with JOGL 2

Sven Gothel
Administrator
On Tuesday, November 29, 2011 09:34:56 AM Gabriel Nicula [via jogamp] wrote:
>
> Hello,
>
> Is there any way to run Java3D (we use 1.5.2) with JOGL 2? Java3D runs fine
> with JOGL 1.1.1 (we need to run on MacOS) but the name of the jars is
> different in JOGL 2.0. I was wondering if anybody did test Java3D with JOGL
> 2.
> Thx,
>  Gabi

If the Java3D implementation you are referring to is open source,
you can [easily] migrate to JOGL2, sure.
I may be able to assist you in this regard, sure.

(Please comment on the Java3D implementation you are targeting)

Otherwise .. well, you would need to convince the vendor of your Java3D
implementation to move to JOGL2.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Java3D 1.5.2 with JOGL 2

gabnicu
Hello Sven,

This is Gabi Nicula. Thank you for your answer.
Java3D is an open-source project from Sun, and we would definitely be interested in porting it to the latest JOGL build which should fix the issue of JOGL applets not running in MacOS with JVM later than 1.6.0.17.
Our target platform is Mac, and AFAIK Java3D on Mac uses JOGL specifically for not having to generate JNDI calls to Opengl API. Java3D on Mac (we use version 1.5.2, the latest release) uses JOGL 1.1.1 - but JOGL 2 has quite different jar names, and class names.
How can we proceed? Can you give us some guidance? We are hard pressed by time.
Thank you,
Gabi
Reply | Threaded
Open this post in threaded view
|

Re: Java3D 1.5.2 with JOGL 2

Sven Gothel
Administrator
On Tuesday, November 29, 2011 05:43:48 PM gabnicu [via jogamp] wrote:
>
> Hello Sven,
>
> This is Gabi Nicula. Thank you for your answer.
> Java3D is an open-source project from Sun, and we would definitely be
> interested in porting it to the latest JOGL build which should fix the issue
> of JOGL applets not running in MacOS with JVM later than 1.6.0.17.

And surely we can use such implementation for all other platforms,
X11, Android, .. the latter only if using ES1 or ES2 for mobile .. sure.

> Our target platform is Mac, and AFAIK Java3D on Mac uses JOGL specifically
> for not having to generate JNDI calls to Opengl API. Java3D on Mac (we use
> version 1.5.2, the latest release) uses JOGL 1.1.1 - but JOGL 2 has quite
> different jar names, and class names.
> How can we proceed? Can you give us some guidance? We are hard pressed by
> time.

Well, I would say:
  - clone gluegen/jogl from master branch via git
  - clone/checkout the Java3D stuff

.. port it (the tedious part, but not too hard I hope).
  - you will soon see that most of the changes can be made by sed scripts
  - most public API is unchanged
  - all changes are sort of 'obvious', ie not rocket science

if you need more assistance than the usual Q&A here, feel free to contact me
in person to discuss things [sgothel (at) jausoft (dot) com].

> Thank you,

You are very welcome.

~Sven

> Gabi
>
Reply | Threaded
Open this post in threaded view
|

Re: Java3D 1.5.2 with JOGL 2

gabnicu
Hello,

And thank you again for your answer and your advices. We will (try to) port Java3D to JOGL 2.
Should we be successful we would definitely want to share this version of Java3D with the community for general use.
I will contact you by email in privater should we need some more advices.
Thx,
Gabi