Skip to main content

Java 3D 1.5.0-build4 now available

31 replies [Last post]
kcr
Offline
Joined: 2004-03-17

Java 3D 1.5.0-build4 is now available.

https://java3d.dev.java.net/binary-builds-pre.html

To run this via Java Webstart:

https://j3d-webstart.dev.java.net/test/

This should support Mac OS by using the JOGL pipeline, although it still needs to be tested more fully.

The JOGL rendering pipeline should be mostly complete now. There are also a few bug fixes. The pre-release notes are at:

https://j3d-core.dev.java.net/j3d1_5_0/RELEASE-NOTES-pre.html

Click on the "JOGL Rendering Pipeline" link for a description of the JOGL rendering pipeline and the "Improvements in 1.5.0" link for a list of bug fixes.

-- Kevin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mlouka
Offline
Joined: 2004-06-27

> Of course you have to make sure Java3D is uninstalled
> (trash-ed) from the system/library/java/extensions folder.

That has not been necessary on any of the Macs that I've tested on as /Libary/Java/Extensions takes precedence. It should be sufficient to copy the newer version of Java 3D with JOGL into /Libary/Java/Extensions for system-wide adoption. That is at least the case with Mac OS X 10.4. I've tested on two G5 PowerMacs, two different G4 PowerBooks, a G4 Mac Mini and a MacBook Pro.

Michael.

kcr
Offline
Joined: 2004-03-17

> > Of course you have to make sure Java3D is uninstalled
> > (trash-ed) from the system/library/java/extensions folder.
>
> That has not been necessary on any of the Macs that
> I've tested on as /Libary/Java/Extensions takes
> precedence.

But Shawn's case is for a Web Start app launched via JNLP, so copying files into /Libary/Java/Extensions isn't an option. We'll ask the Java Web Start team if there is a workaround for this problem.

-- Kevin

mlouka
Offline
Joined: 2004-06-27

Sorry... Didn't read the previous email properly. It certainly sounds like a bug in Java Web Start to me. Most Mac users are likely to be rather sceptical to being asked to manually remove system files.

shawnkendall
Offline
Joined: 2003-06-10

Althought this is certainly not desired from our view, I do not believe it is a bug. Web start (or the JRE) yields to the installed extensions as the primary execution source.

It seems wrong to me since I can set up the deliverables and configure the .jnlp script to launch exactly the combination (and therefore versions) of components my app needs but it seems that is not how web start was designed perhaps? OR possibly there is a web start attribute (although I couldn't find in online anywhere) that requests the downloads to override the installs...

mlouka
Offline
Joined: 2004-06-27

I would have expected JAR files listed in the WebStart resources to take precedence over previously installed jar files. Have you've tried including Java 3D 1.5 with your own jars and including them directly in the resources list rather than as extensions? For what it's worth, webstart works fine for me for running Java 3D 1.5 applications (without removing 1.3.1 from the system folder) if 1.5 is installed in /Library/Java/Extensions.

kcr
Offline
Joined: 2004-03-17

> Java 3D: optimize for space disabled
> Exception in thread "J3D-Renderer-1" java.lang.RuntimeException: Unable to make new context current
> at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6613)
> at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4474)
> at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2248)
> at javax.media.j3d.Renderer.doWork(Renderer.java:737)
> at javax.media.j3d.J3dThread.run(J3dThread.java:256)

We haven't run into this problem. Could you please file a bug on this (even if you don't have a test case, although a test case would be better).

Thanks.

-- Kevin

kcr
Offline
Joined: 2004-03-17

> The only issue I'm seeing with our Java 3D applications is with JoglPipeline.createOffScreenBuffer(),
> which is also the only such printout I'm seeing with build4.

I'll update the release notes to indicate that off-screen rendering is not yet implemented in the JOGL pipeline.

-- Kevin

yowmhong
Offline
Joined: 2003-06-19

Just from the behavior of the lockup exception, it looks
a little bit more complicated than just the "OffScreen"
buffer issue. Based on the test program, the JOGL renderer
sometimes can run many iterations before the exception
is thrown. The program freezes up after that.
An issue along with a reference to a test program found
in issue #98 has been filed for this bug.

Happy Holidays!

-- Scott

> > The only issue I'm seeing with our Java 3D
> applications is with
> JoglPipeline.createOffScreenBuffer(),
> > which is also the only such printout I'm seeing
> with build4.
>
> I'll update the release notes to indicate that
> off-screen rendering is not yet implemented in the
> JOGL pipeline.
>
> -- Kevin

shawnkendall
Offline
Joined: 2003-06-10

Just FYI, I think you guys already know about this (I got the bug issue in my email IIRC) but I can at least confirm that it also happens on my Mac (OS X) now.

See forum post over at JGO:
http://www.javagaming.org/forums/index.php?topic=13993.msg115654#msg115654

At first the post may seem of because it's about web start, Java3D and Mac but at the end of that post I mention the render and crash error.

shawnkendall
Offline
Joined: 2003-06-10

Oh yeah, I could also give you the webs tart link if you want it for Mac testing.
Of course you have to make sure Java3D is uninstalled (trash-ed) from the system/library/java/extensions folder.

Just let me know. I'll be showing this next week at Apple's WWDC IF I can get it to keep runnning :-) I am testing a couple other Macs (my machine is a G4, trying to get my hands on one of the new Intel ones)

kcr
Offline
Joined: 2004-03-17

One possible problem is that the latest webstart version is 1.5.0-build4, which doesn't include the most recent fixes (e.g., off-screen rendering is unimplemented in build4). We are considering cutting build5 tomorrow, although if you are getting the following error:

> Exception in thread "J3D-Renderer-1" java.lang.RuntimeException: Unable to make new context current

then a new build won't help.

-- Kevin

kcr
Offline
Joined: 2004-03-17

We put a preliminary 1.5.0-build5 on our JNLP server so that Web Start apps can use it. The D3D build is broken due to an incomplete change that we putback last week, so we don't want to release a downloadable build until that is resolved. Let us know if this build solves your JOGL problems, although as indicated earlier in this thread, the "RuntimeException: Unable to make new context current" problem isn't yet addressed. See issue 324 -- https://java3d.dev.java.net/issues/show_bug.cgi?id=324 -- for more information.

-- Kevin

shawnkendall
Offline
Joined: 2003-06-10

Dupe post from over at JGO:
------------------------
Woo-hoo it "worked"!

It at least launched, everything I can see looks rendered correctly and it hasn't crashed yet.

Unfortunately, since I don't have JOAL working on the Intel Macs, the game is hanging up at the begining and I can't play it yet but I'll cut out the sound shortly to get mo' better test.

However, it looks much, much better so far!
Awesome job all!

Justin Couch

java3d-interest@javadesktop.org wrote:
> Unfortunately, since I don't have JOAL working on the Intel Macs, the game is hanging up at the begining and I can't play it yet but I'll cut out the sound shortly to get mo' better test.

I have a universal binary build of the current CVS if that will help. It
requires OS X 10.4.7 to work as that's the first version of OSX to
handle OpenAL 1.1 that the current JOAL binds to.

Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

shawnkendall
Offline
Joined: 2003-06-10

Oh yes, that would help much.
Can I download it from you or perhaps you can email it to me?
Thanks!

shawnkendall
Offline
Joined: 2003-06-10

Just to catch this thread up... I have JOAL working but now that that is working I get crashes shortly into the run, probably/possible Java3D related.

info posted at:
http://www.javagaming.org/forums/index.php?topic=13993.msg115843#msg115843
I can get the crash dump on the mac, but it was too big to post over at JOG, maybe it will fit here.

Anyway the link to the app in the other forum post.

yurig
Offline
Joined: 2006-03-16

Java crashes on beta 4.
I filed an issue.

https://java3d.dev.java.net/issues/show_bug.cgi?id=339

lucidor
Offline
Joined: 2004-08-04

That's what I thought, but I'm not at all sure how the use of Jogl in Java3d would be implemented, having no JavaDoc-umentation on the new classes and not finding any examples of GL use in Java3D. I may have really misinterpreted the new capabilities, but is it possible to implement a GL pipeline instance with a Canvas3d rather than a GLCanvas?
I really find the Java3d capabilities extremely useful and complete in fully implementing our goal (a detailed 3D simulation of complete solar systems...both stars & planets), especially the ability to implement Shaders which we use a great deal.
But it would also be useful to be able to implement Jogl GL objects in combo with our Java3d code, even though our Java3D is using OpenGL. It would be great to get more info on this.

With appreciation for your attention,
Lucidor / Alan

lucidor
Offline
Joined: 2004-08-04

I'm finally getting some time to test some code I'm writing, which will use jogl rendering among other stuff, but I can't seem to get any of the JoglXxxxxxx classes to be visible . . . apparently since they are not declared public in the recent daily builds.
I'm using Eclipse v3.2 on a Pentium laptop with an Nvidia 6800 Ultra and OpenGL v2.0.

I've got a recent j3dcore daily build and I'm importing "javax.media.j3d.*" as well as the jogl jars, but I get, for example, the popup message "The type javax.media.j3d.JoglPipeline is not visible" when I mouse over the code. It happens with all of the Joglxxxxxxx classes, but if I move my code into the javax.media.j3d package everything becomes visible.
Are these classes available somehow or going to be even though they're not Public now ? I know I must be missing something stupid, but don't see what. :-)
I was also wondering what if any javadocs are available for the new classes, as a reference other than the source itself.

I was also wondering if anyone else is seeing this.

Thanks for your attention,
lucidoor / Alan

kcr
Offline
Joined: 2004-03-17

The JOGL pipeline classes are not meant to be public. They internal implementation classes.

-- Kevin

brianbrookwell
Offline
Joined: 2005-10-06

Which system do I use for a Mac? The Linux or the Solaris version?

kcr
Offline
Joined: 2004-03-17

Do you mean which build do you use? It doesn't matter. The Windows version is the one we deliver via JNLP for apps using Java Web Start.

https://j3d-core.dev.java.net/j3d1_5_0/RELEASE-NOTES-pre.html#JoglPipeline

-- Kevin

Dmitri Darine

java3d-interest@javadesktop.org wrote:
> Java 3D 1.5.0-build4 is now available.
>
> https://java3d.dev.java.net/binary-builds-pre.html
>
> To run this via Java Webstart:
>
> https://j3d-webstart.dev.java.net/test/
>
> This should support Mac OS by using the JOGL pipeline, although it still needs to be tested more fully.
>
> The JOGL rendering pipeline should be mostly complete now. There are also a few bug fixes. The pre-release notes are at:
>
> https://j3d-core.dev.java.net/j3d1_5_0/RELEASE-NOTES-pre.html
>
> Click on the "JOGL Rendering Pipeline" link for a description of the JOGL rendering pipeline and the "Improvements in 1.5.0" link for a list of bug fixes.
>
> -- Kevin
> [Message sent by forum member 'kcr' (kcr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=128085
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>
>
Still no JCanvas3D? Or am I missing something?

--

Best regards
Dmitri Darine

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

kcr
Offline
Joined: 2004-03-17

> Still no JCanvas3D? Or am I missing something?

JCanvas3D is independent of the JOGL pipeline.

To answer your question, no it isn't integrated yet.

-- Kevin

matteoforesti
Offline
Joined: 2005-06-09

thanks for your reply (I'm not able to use JOGL rendering mode with J3D 1.5.0 build 3)

but I have the same problem using J3D 1.5.0 build 4, and the JOGL build JSR-231-beta05:

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/opengl/util/BufferUtil
...

CLASSPATH includes the full path to jogl.jar

-Dj3d.rend=jogl is set on VM parameters

I opened jogl.jar file with winrar, com.sun.opengl.util.BufferUtil.class belongs to the jar...

kcr
Offline
Joined: 2004-03-17

> but I have the same problem using J3D 1.5.0 build 4, and the JOGL build JSR-231-beta05:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/opengl/util/BufferUtil

This could be some sort of installation problem or classloader problem. Where are Java 3D and JOGL located on your system? Are both in your CLASSPATH? If you have Java 3D installed into the JRE and JOGL outside the JRE, then that won't work.

-- Kevin

yowmhong
Offline
Joined: 2003-06-19

Kevin,

There are still problems preventing "JOGL" rendering
pipeline from launching Java3D applications. Java3D
application cannot be started most of the time.
On the bright side, if the application can be launched,
the geometries with "BY_REF" are rendered properly.

The following are the error messages dumpped from the
application.

-----------------------------------------------
Java 3D: optimize for space disabled
Exception in thread "J3D-Renderer-1" java.lang.RuntimeException: Unable to make new context current
at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6613)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4474)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2248)
at javax.media.j3d.Renderer.doWork(Renderer.java:737)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)

-- Scott

yowmhong
Offline
Joined: 2003-06-19

Here is the system information.

Windows XP Media Center
Intel CoreDuo
Intel 945GSM

-- Scott

java3d-interest@javadesktop.org

Thanks for your great work.

WebStart seems to work fine under Mac OS X.

I've been installing daily versions (and not this build4) regularly and have been using it extensively). It's been working very well. The only issue I'm seeing with our Java 3D applications is with JoglPipeline.createOffScreenBuffer(), which is also the only such printout I'm seeing with build4.

I use an Offscreen buffer to create an image that fits within the current display resolution, and then scale it to fit the current paper size, for "high-resolution" full-page printing from Java 3D applications but with the current beta. Works nicely with Java 3D 1.3.x but I just get a black page with 1.5. Haven't tested under Windows with 1.5 so I'm not sure if this issue also affects the D3D and OpenGL native renders. We also use offscreen buffers in one of our applications to generate thumbnail images of 3D objects, so this functionality is important to us. Is this something that will be fixed soon, or is there a workaround?

Thanks,
Michael.
[Message sent by forum member 'mlouka' (mlouka)]

http://forums.java.net/jive/thread.jspa?messageID=128139

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net

mlouka
Offline
Joined: 2004-06-27

Thanks for your great work.

WebStart seems to work fine under Mac OS X.

I've been installing daily versions (and now this build4) regularly and have been using it extensively). It's been working very well. The only issue I'm seeing with our Java 3D applications is with JoglPipeline.createOffScreenBuffer(), which is also the only such printout I'm seeing with build4.

I use an Offscreen buffer to create an image that fits within the current display resolution, and then scale it to fit the current paper size, for "high-resolution" full-page printing from Java 3D applications but with the current beta. Works nicely with Java 3D 1.3.x but I just get a black page with 1.5. Haven't tested under Windows with 1.5 so I'm not sure if this issue also affects the D3D and OpenGL native renders. We also use offscreen buffers in one of our applications to generate thumbnail images of 3D objects, so this functionality is important to us. Is this something that will be fixed soon, or is there a workaround?

Thanks,
Michael.

otelo
Offline
Joined: 2005-09-14

> I use an Offscreen buffer to create an image that
> fits within the current display resolution, and then...

offscreen rendering, even for the win platform, doesn't seem to be implemented yet with the jogl pipeline, if that's of any help to you.