Results 1 to 5 of 5

Thread: Java and VRML

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2008
    Posts
    9

    Java and VRML

    Hi,

    I want to develop a VRML application using OpenGL and Java. Are there any good tutorials or any advice on same e.g. what software I need,how I bind Java and OpenGL together etc. I am researching a lot on this but it's all very vague i.e. where do I begin programming, do I write a text file in Java and save with a .wrl extension. Where do I then view this file?

  2. #2
    Senior Member OpenGL Pro k_szczech's Avatar
    Join Date
    Feb 2006
    Location
    Poland
    Posts
    1,107

    Re: Java and VRML

    I googled for VRML just yesterday and ended up here:
    http://openvrml.org/

    In includes both C++ and Java implementations, but I think example applications are in C++ only. Still, they should be enough to learn how to do it in Java.

    Then just google for java opengl tutorial - you should find enough samples

  3. #3
    Member Contributor
    Join Date
    Jul 2008
    Posts
    99

    Re: Java and VRML

    VRML and Java is a bit of a problem...actually a bit of a headache.

    First of Java has two major 3D divisions: JOGL and Java3D

    Java3D has the ability to use the "vrml97" loader and it is fairly easy to load VRML models in it.

    JOGL (the OpenGL implementation in Java) does not have a VRML loader so most people convert to 3DS or other known formats and read those files. Save yourself the headache and convert the files to 3DS using 3D Studio (or other) and then use JOGLUTILS to load the 3DS file into JOGL.

    Writing a VRML loader is not easy, even though VRML file look easy since they are ASCII based and simple, but they are quite complicated so I would not advise you to pursue this avenue unless you have a lot of free time and lots of medication.

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Java and VRML

    And VRML is dead-born since 10 years ago.
    try X3D or Collada for modern formats.

  5. #5
    Member Contributor
    Join Date
    Jul 2008
    Posts
    99

    Re: Java and VRML

    I agree with ZbuffeR....go with something new. 3DS at least is very widely used and 3D Studio Max can convert most VRML to 3DS (assuming correct VRML).

Similar Threads

  1. Is this possible with VRML?
    By barintan in forum OpenGL: User Software
    Replies: 0
    Last Post: 03-25-2009, 10:27 PM
  2. Who have the EAI lib for Java and VRML
    By hawaii in forum OpenGL: Windows
    Replies: 2
    Last Post: 02-03-2008, 12:10 AM
  3. Who have the EAI lib about Java and VRML?
    By hawaii in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-02-2008, 03:11 PM
  4. VRML
    By carson670 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-07-2007, 04:50 AM
  5. VRML
    By masonium in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-18-2001, 02:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean