Hey flavin, thanks for the info. I tried VRML loader but havent actually tested it. Can you tell me if we can set appearance for part of a obj file using VRML loader? it's been not possible with java3d obj loader. your help is appreciated Henu
-----Original Message----- From: P. Flavin [mailto:[EMAIL PROTECTED] Sent: Sun 9/28/2003 4:21 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [JAVA3D] setting appearance for a obj file, or better yet, using VRML with the Sun VRML Loaders If OBJ Loaders aren't up to the task then use VRML with the Sun VRML Loaders which support putting textures on surfaces, specifingly the color of the surface, animation. Java3d and VRML is a great combination when you use the Sun VRML Loaders ... Java3d's powerful Scenegraph closely mirrors VRML's Scenegraph and the Sun VRML Loaders create and make available to you a close representation of your VRML Scenegraph and Sun's Java3d Scenegraph Editor lets you see that scenegraph. Also, within Sun's Java.net developer community are free 3d Editors to let you create VRML with Java3d so it can animated by you Java3d program in a browser without certificates, extra downloads, or the need for Webstart wrappers. | This is a tool for creating 3D | and physics animation content. | | For more information see: http://www.martinb.com/ | https://mjbworld.dev.java.net/ | 3D World Simulation | | This Program is a general purpose 3D editor | which allows you to create 3D worlds by graphically | selecting and dragging objects on the screen. | There are two versions of the program, ... | | written in Java ... [ and exports VRML ] | http://www.euclideanspace.com/ http://www.artofillusion.org/screenshots http://aoi.sourceforge.net/ http://sourceforge.net/projects/aoi/ Java 3d Modeler Exports VRML ---------------------------- | www.artofillusion.org | | Nice site, nice prog, still alpha, | but definitely worth a look. | | | * free, | * written in java, | * easy to use, 3d modeller, | | * vrml export function. | | what else could one ask for? | http://www.web3d.org/www-vrml/hypermail/2001/04/0115.html | Translators allow Art of Illusion to read and write | scenes in foreign file formats. Translators are | Java classes which implement the Translator interface. | | At present, Art of Illusion is distributed with | a single Translator plugin which allows it to | | __ export ___ VRML ___ files. | http://www.artofillusion.org/docs/pluginstut/index Madeti, Henu S. (UMR-Student) wrote: > > I'm working on a code that would have to set the > appearance for each part of obj file differently. > > One way of doing it is divide the obj files into parts, > set the appearance differently and load them. > but the problem here is with display size and location. > > I want them to be displayed as they are all from a > single obj file, but it doesnt . > Does anyone know how to solve this tricky question? > thanks > henu Many use VRML & Java3d together -- including Nasa -- and there is lot's of free source code available to get you started ... Load VRML, Navigate around using Halden Navigation Demo ------------------------------------------------------- | | This simple VRML viewer is inteneded mainly as a | demonstration for programmers interested in using VRML | and the Java 3D API. | | The code was developed because we wanted good performance | when navigating virtual environments. | | It was also important for us that users unacustomed to | 3D environments could quickly and intuitively move around. | | Before we considered Java 3D to be stable enough, we | created applet-based solutions using a web browser with a | VRML External Authoring Interface connection to Cosmo Player. | [ one of the old-style VRML plug-in viewers ] | | This was too unstable for us and there were problems with | performance and flexibility. | | We have been using Java 3D since Java 3D 1.2 was released | and our navigation code really gave a boost to our work, | which is the reason why this page is here to share it! | | To run the VRML viewer you should have Java 2 and Java 3D | 1.2.1 properly installed. | | You also need Sun's VRML loader, x3d.jar [ or VRML97.jar ], | ------------------------------- in your CLASSPATH. ... | | Download the Navigation Software demonstration (~110KB zip file) | http://www.external.hrp.no/vr/projects/java3d/navigation/License.html | http://www.external.hrp.no/vr/projects/java3d/navigation/ http://www.external.hrp.no/vr/projects/java3d/navigation/image.jpg | http://archives.java.sun.com/cgi-bin/wa?A2=ind0307&L=java3d-interest&P=52334 | Nasa using the Original Xj3d VRML Loaders from Sun | | ----------------------------- in Your Web Browser -- | | | | VRML using vrml97.jar | | http://fastscript3d.jpl.nasa.gov/vrml97.html | | http://fastscript3d.jpl.nasa.gov/vrml97.html http://fastscript3d.jpl.nasa.gov/FS_MODEL/vrml-roverR.wrl http://fastscript3d.jpl.nasa.gov/FS_MODEL/vrml-shuttleR.wrl | | http://fastscript3d.jpl.nasa.gov/gallery.html | | | | | | Sun's Java3d Scenegraph Editor showing a | | | | Nasa VRML model uses the Sun VRML Loaders, | | source code available and is free | | http://www.frontiernet.net/~imaging/Nasa_3d_animation.html | | | The Original Xj3d Loaders ( Sun's VRML Loaders ) Working ... | -------------------------------------------------------- http://www.frontiernet.net/~imaging/vrml_loaders_working.html | http://archives.java.sun.com/cgi-bin/wa?A2=ind0306&L=java3d-interest&O=A&P=83605 Nasa does 3d Web Animation with Java3d and VRML ----------------------------------------------------- http://www.frontiernet.net/~imaging/Nasa_3d_animation.html Java3d does Human Animation in a browser with Sun's Loaders ----------------------------------------------------------- http://www.frontiernet.net/~imaging/vrml_loaders_working.html -- Paul, Java Developer & Web Animator ----------------------------------------------------- "Imaging the Imagined: Modeling with Math & a Keyboard" =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".