Skip to main content

Java 3D 1.4.0 daily build with D3D support

3 replies [Last post]
kcr
Offline
Joined: 2004-03-17
Points: 0

This morning's daily build of Java 3D 1.4.0 (pre7-0510110104) now has a functional D3D module.

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

To run the D3D version of Java 3D, set the "-Dj3d.rend=d3d" system property. It requires DX9.

Thanks to Alessandro for his efforts in getting this to work.

-- Kevin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
scotthong
Offline
Joined: 2006-05-05
Points: 0

Hi Kevin,

The updated D3D renderer did break my existing applications
and the rendering performance is pretty bad! Here are
some numbers under various Java3D version.

1. Java3D 1.3.2 -> 102 FPS (OGL)
2. Java3D 1.4.0 Prebuild before July 13-> 18 FPS (OGL)
3. Java3D 1.4.0 Latest Daily Build -> 4 FPS (D3D)

There is one thing I noticed that the issue about not
been able to render large triangle array has been fixed!

Thanks,

-- Scott

scotthong
Offline
Joined: 2006-05-05
Points: 0

There is a type in the post.

Number 2 should be the latest daily build with OGL instead.

-- Scott

scotthong
Offline
Joined: 2006-05-05
Points: 0

Hi,

The latest D3D renderer throws the following exception
and crashes the application when a Canvas3D window is
closed/released.

[MyApp] Exception in thread "J3D-MasterControl-1" java.lang.UnsatisfiedLinkError: freeResource

[MyApp] at javax.media.j3d.DrawingSurfaceObjectAWT.freeResource(Native Method)
[MyApp] at javax.media.j3d.DrawingSurfaceObjectAWT.freeDrawingSurface(Unknown Source)
[MyApp] at javax.media.j3d.MasterControl.handlePendingRequest(Unknown Source)
[MyApp] at javax.media.j3d.MasterControl.doWork(Unknown Source)
[MyApp] at javax.media.j3d.MasterControlThread.run(Unknown Source)

-- Scott