aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Help needed to run a Java3D program! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Help needed to run a Java3D program!" Watch "Help needed to run a Java3D program!" New topic
Author

Help needed to run a Java3D program!

dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
Hi Friends,

I am new to Java3D programming. Please have a look at the following code.


I dont have OpenGL1.2 support. Hence, I tried to run the program like this:

java -Dj3d=d3d Hello3D

I am getting the following exception


Any kind help will be highly appreciated.
Thanks in Advance!!!
dinesh.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
The property to set is called j3d.rend, not j3d; see here for details.
[ April 22, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
Thanks Ulf,

Thanks for the information. But I tried to execute in that way. Now, I am getting the following error.

"The dynamic link library d3d9.dll could not be found in the specified path"

Could you help me in resolving this issue?

Thanks in advance!!!
dinesh.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
Sounds like Direct3D (possibly version 9) is not installed properly. I have no idea how to check for that or possibly rectify it.
dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
Thank you very much for pointing out the problem.

Now, I have reinstalled the DirectX 9 and updated it. Now the dll issue is fixed.

But i am getting the following exceptions:

and followed by an error message No compatible device found, please switch to other display mode and try again !

I think i am close to resolving the issues. Can anybody help me in this issue?

regards,
dinesh.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help needed to run a Java3D program!
 
Similar Threads
Help Java3d
Java3D Animation problem (Loads up components, then skips animation. No errors. Less than 75 lines.)
Concept question regarding Transform3D
facing problem while creating a Road/Pathway using Java3D
Scaling the Image.