Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (686)
Games in Android Showcase (198)
games submitted by our members
Games in WIP (758)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java3d not totally dead  (Read 7868 times)
0 Members and 1 Guest are viewing this topic.
Offline hharrison

Senior Newbie

« Posted 2012-01-22 23:12:02 »

I've mirrored the Java3d svn repos to github and started updating it assuming Java6
as a feature baseline.  For now all that I've added is a lot of generics annotations.

But I've fixed to races that I hit in practice on larger core-count machines and cut the
memory use of the Bounding regions in half.

If anyone has any patches they've been carrying, I'd be more than happy to take them.

I maintain an engineering application that requires Java3d, so I'll likely be maintaining this for the
foreseeable future.


Harvey Harrison <> <>
Offline ra4king

JGO Kernel

Medals: 438
Projects: 3
Exp: 5 years

I'm the King!

« Reply #1 - Posted 2012-01-23 02:37:51 »

Oh wow, this is probably the biggest thing to happen to Java3D in like....6 years?

Offline SwampChicken
« Reply #2 - Posted 2012-01-23 03:26:26 »

I wish you the best of luck.
[size=5pt]I also recommend that you have a hammer and large wooden stake ready just in case Justin Couch shows up.[/size]
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline tom
« Reply #3 - Posted 2012-01-23 09:58:55 »

Good to see someone patching up Java3D. We might have some fixes laying around. We had to resort to forking Java3D as well as some of our fixed didn't get approved and checked in. For example Although the best way to fix this bug would be to use a ThreadLocal. But I didn't know at the time.

Offline gouessej
« Reply #4 - Posted 2012-01-23 13:52:44 »

Do you plan to switch to JOGL 2.0? Java3D still uses JOGL 1 whereas this version is no more maintained. Best regards. Good luck.

Offline hharrison

Senior Newbie

« Reply #5 - Posted 2012-01-24 02:28:44 »

Thanks for the pointer, I'll have a look. In our application we write all the scenegraph changes from
a Behavior, so haven't run into those exceptions.

In all seriousness, I will give a good long look at any and all patches you have laying around for
Java3d that are even remotely reasonable.  Please feel free to e-mail them to me.  At very least
I would create a holding branch on that github mirror to make them more visible to others.


Offline Preston

Senior Devvie

Medals: 4

« Reply #6 - Posted 2012-01-26 08:57:53 »

Thank you very much, Hharrison. This is good news.

I always liked Java3D and it's very useful for many projects. It would be a shame in case it died.
Offline Atran

Junior Newbie

« Reply #7 - Posted 2012-01-28 19:06:38 »

I am writing a game with Java 3d V 1.5.2 at the moment and i experienced some problems with the "picking" stuff.
Offline tom
« Reply #8 - Posted 2012-01-29 02:42:59 »

What problem? I know of one bug where pickfast will bleed outside the specified branchgroup when picking.

Offline hharrison

Senior Newbie

« Reply #9 - Posted 2012-01-29 06:42:25 »

You have any more info to offer about the pickfast behavior?  If it's something with a small
testcase, or even a decent description I might have a look.  I just spent some time cutting the
memory use of the Bounding region calculations in half, and at least was looking at the picking
code while doing so.....thoughts?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline tom
« Reply #10 - Posted 2012-01-29 21:37:27 »

I can try to make a test case. Do not remember how reproducible it was. The ease fix was to use the "old/slow" picking instead.

Offline Atran

Junior Newbie

« Reply #11 - Posted 2012-02-04 18:50:53 »

I had the issue that picking via a PickCone with multiple objects in the Cone and then trying to get all hits delivered me a ArrayIndexOutOfBoundsException.
I don't have a small example for that issue and not even the big code of my game because i changed the way i checked if i have targets in a 90 degree area (not a cone any more) via good old angle mathematics and the stored positions of the gangers (=targets).
Offline hharrison

Senior Newbie

« Reply #12 - Posted 2012-02-05 22:37:37 »

Well, if you have any of the backtraces still laying around, maybe that would be enough.  Feel free to
post them if you have any (Assuming Java3d 1.5.2?)

Offline gouessej
« Reply #13 - Posted 2012-02-10 18:01:05 »


I thank Harvey, Gabi and all the persons who drives it possible. I have ported Java 3D to JOGL 2.0:

Let's have fun. I will be actively maintained anew. I will make a small demo next week if I have enough spare time.

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

roseslayer (411 views)
2016-08-06 11:43:29

roseslayer (375 views)
2016-08-06 09:43:11

xTheGamerCodes (449 views)
2016-08-04 15:40:59

xTheGamerCodes (443 views)
2016-08-04 15:40:24

orrenravid (794 views)
2016-07-16 03:57:23

theagentd (869 views)
2016-07-11 14:28:54

Hydroque (966 views)
2016-07-06 05:56:57

Hydroque (989 views)
2016-07-03 08:52:54

GrandCastle (802 views)
2016-07-01 09:13:47

GrandCastle (637 views)
2016-07-01 09:09:45
Rendering resources
by Roquen
2016-08-08 05:55:21

Rendering resources
by Roquen
2016-08-08 05:52:42

Rendering resources
by Roquen
2016-08-08 05:50:38

Rendering resources
by Roquen
2016-08-08 05:49:53

Rendering resources
by Roquen
2016-08-08 05:32:39

Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!