Page 1 of 3 123 LastLast
Results 1 to 20 of 44
  1. #1
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default Download java 3d lib

    I want to start with java 3d.

    But I don't know where I can download a java 3d library.

    Does someone know where I can download a java 3d library?

    Thanks,
    Dennis

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default

    I don't see downloadable files/libs on that page.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    No, not at all. But you can find lots of useful hints on that page. Did you read it completely?

  5. #5
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default

    Now I downloaded a bin from the site. (https://java3d.dev.java.net/binary-builds.html, j3d-1_5_2-windows-amd64.zip)
    Thanks for the tip.

    But I think... that lib don't work.
    I've tested it with a simple java 3D tutorial.
    then I got a error.
    (21-May-2010 15:39:17 javax.media.j3d.NativePipeline getSupportedOglVendor
    SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
    )

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    And also please post the complete error message when you posting again in the forum. It's really helpful to comment on your question. :)

  8. #8
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default

    My IDE is Eclipse.
    I added with eclipse the library to the application. (Project > Properties > Java Build Path > Add External JARs)

    My simple script (Getting Started - Your First Program):
    Java Code:
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import com.sun.j3d.utils.geometry.ColorCube;
    import javax.media.j3d.BranchGroup;
    
    public class Hello3d
    {
    
    	public Hello3d()
    	{
    			SimpleUniverse universe = new SimpleUniverse();
    			BranchGroup group = new BranchGroup();
    			group.addChild(new ColorCube(0.3));
    			universe.getViewingPlatform().setNominalViewingTransform();
    			universe.addBranchGraph(group);
    	}
    	
    	public static void main(String[] args)
    	{
    			new Hello3d();
    	}
    }
    It should be a square. http://www.java3d.org/Image1.jpg

    And this is my complete error (in eclipse):
    22-May-2010 14:27:52 javax.media.j3d.NativePipeline getSupportedOglVendor
    SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path

  9. #9
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default

    I've download and installed NetBeans and the complete error of NetBeans is:
    22-May-2010 15:37:40 javax.media.j3d.NativePipeline getSupportedOglVendor
    SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-d3d in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1734)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at javax.media.j3d.NativePipeline$1.run(NativePipelin e.java:231)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.media.j3d.NativePipeline.loadLibrary(NativeP ipeline.java:200)
    at javax.media.j3d.NativePipeline.loadLibraries(Nativ ePipeline.java:157)
    at javax.media.j3d.MasterControl.loadLibraries(Master Control.java:987)
    at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUn iverse.java:299)
    at Hello3d.<init>(Hello3d.java:10)
    at Hello3d.main(Hello3d.java:19)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)

  10. #10
    Dennis's Avatar
    Dennis is offline Member
    Join Date
    May 2010
    Posts
    83
    Rep Power
    0

    Default

    It's already solved, I didn't have a java 3D plug-in. ;)

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  12. #12
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Actually I'm worried why did you change your IDE use in coding. It's really not necessary. In each IDE you can use additional/external packages nowadays. Never mind, NetBeans also a nice IDE. ;)

  13. #13
    gyuvaraj is offline Member
    Join Date
    Sep 2010
    Posts
    17
    Rep Power
    0

    Default

    jus started working in java3d can precisely tell me in net beans 6.8 tools-> libraries under which class library in need to add following jar files j3dcore.jar j3dutils.jar and vecmath.jar to run java3d plz kindly tell me

  14. #14
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Additional jar file either you can add into the project or into the class path. If you added them to the class path only you can use it within any project you want to work out. If you added specifically to a project, only within that you can use it. Check on project properties, there you can see an option to add additional jars.

  15. #15
    gyuvaraj is offline Member
    Join Date
    Sep 2010
    Posts
    17
    Rep Power
    0

    Default

    i add those jar file by tools/libraries-->new library and gave name My Library and add those jar into My Library and execute a java3d program n i got following exception

    Sep 8, 2010 1:48:00 PM javax.media.j3d.NativePipeline getSupportedOglVendor
    SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
    Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: no j3dcore-d3d in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at javax.media.j3d.NativePipeline$1.run(NativePipelin e.java:189)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.media.j3d.NativePipeline.loadLibrary(NativeP ipeline.java:180)
    at javax.media.j3d.NativePipeline.loadLibraries(Nativ ePipeline.java:137)
    at javax.media.j3d.MasterControl.loadLibraries(Master Control.java:948)
    at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUn iverse.java:280)
    at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:38 62)
    at org.jdesktop.j3d.examples.alternate_appearance.Alt ernateAppearanceBoundsTest.init(AlternateAppearanc eBoundsTest.java:110)
    at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.j ava:267)
    at java.lang.Thread.run(Thread.java:619)

  16. #16
    gyuvaraj is offline Member
    Join Date
    Sep 2010
    Posts
    17
    Rep Power
    0

    Default

    java.library.path wer tis path actually located

  17. #17
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  18. #18
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by gyuvaraj View Post
    i add those jar file by tools/libraries-->new library and gave name My Library and add those jar into My Library and execute a java3d program n i got following exception

    Sep 8, 2010 1:48:00 PM javax.media.j3d.NativePipeline getSupportedOglVendor
    SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
    Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: no j3dcore-d3d in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at javax.media.j3d.NativePipeline$1.run(NativePipelin e.java:189)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.media.j3d.NativePipeline.loadLibrary(NativeP ipeline.java:180)
    at javax.media.j3d.NativePipeline.loadLibraries(Nativ ePipeline.java:137)
    at javax.media.j3d.MasterControl.loadLibraries(Master Control.java:948)
    at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUn iverse.java:280)
    at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:38 62)
    at org.jdesktop.j3d.examples.alternate_appearance.Alt ernateAppearanceBoundsTest.init(AlternateAppearanc eBoundsTest.java:110)
    at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.j ava:267)
    at java.lang.Thread.run(Thread.java:619)
    Your error message basically pointed that still come of the libraries are missing in your application.

  19. #19
    gyuvaraj is offline Member
    Join Date
    Sep 2010
    Posts
    17
    Rep Power
    0

    Default

    how to add them in to compile time library

  20. #20
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    On your project, you can see a folder named Libraries, right click on it and click properties. Then on Project Properties window, click Libraries item. You can see several options to add the jar file.

Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 07-20-2009, 10:58 PM
  2. java ebooks download
    By ramkumar123 in forum Reviews / Advertising
    Replies: 2
    Last Post: 11-07-2008, 10:20 AM
  3. Replies: 1
    Last Post: 09-04-2008, 09:07 AM
  4. how to download using java
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 05:36 PM
  5. Help with download java api
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 02:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •