Re: [JAVA3D] J3D for IRIX

1999-10-29 Thread David Hallé
Hi, I have installed J3D on INDY (irix 6.5.1) and it seems to work fine. I say "seems" because I developed my app on a PC, and as INDY is a 256 colors station, I didn't see much of my app. Anyway no Exception appeared, so I guess it works fine. May be I could try some examples from the J3D distri

Re: [JAVA3D] Q: Install Java3D to SGI Irix6.2...

1999-10-29 Thread David Hallé
Hi, I could send to those who are insterested in my download of J3D for SGI wich I successfully installed. David. __ Message envoye depuis iFrance >> http://www.ifrance.com Gratuit >> Hebergement (50 Mo)/Vos emails (POP&HTML,2

Re: [JAVA3D] Q: Install Java3D to SGI Irix6.2...

1999-10-29 Thread Robbert van Dalen
> Second - Steve and I got an email message a couple of days ago from a > guy that has just got stereo working on SGIs. He's sending us the > information and we'll post that to the FAQ as soon as possible (we're > quite busy doing some redesign work on it at the moment). This means > that it can b

Re: [JAVA3D] Java 3D w/ Mesa on Linux

1999-10-29 Thread Thomas Ruge
Hello Adam, if i understand your mail correctly, you're looking for a way to do Java3D on Linux hardware accelerated using a nvidia TNT. Some month ago i wrote a mail to the Java3d Mailing List concerning this topic, but nobody seemed to be interested, i got no response. But i can tell you some i

Re: [JAVA3D] Q: Install Java3D to SGI Irix6.2...

1999-10-29 Thread Justin Couch
Robbert van Dalen wrote: > Has your guy also patched a library or does it work out of the box? Sorry, can't help. All he sent was an email that said he'd got it working. He was going to be away until Thurs (US time?) and would write something up after that. We're waiting on the info as we know

[JAVA3D] Shading QuadArray with per-vertex colors?

1999-10-29 Thread Casteel, Don
I've posted this question before, and have seen it asked by others, but I've never seen an answer: If I've got a QuadArray (and I assume TriangleArray as well) with per-vertex-colors, how do I set up the Material so I get shading with the colors I've put in? Seems a simple question, but I get th

[JAVA3D] GenerateNormals?

1999-10-29 Thread Casteel, Don
Didn't I see a class somewhere for Automatically generating normals from retained geometry? Don Casteel Manufacturing Engineer TEXTRON Automotive Company -- Athens Operations ~ Voice: (423)744-1109 Fax:(423)744-1112 Pager: (423)744-1129

[JAVA3D] disable backface culling in .obj models?

1999-10-29 Thread clemenTs schröder
Hi there, i've got wavefront .obj file loaded into a scene. there are some shapes where the front and the back must be visible. to solve this problem i want to disable backface culling. how can i do this? so long and ... clemenTs ===

[JAVA3D] Unofficial Java3D stereo mode fix for SGI/IRIX platform

1999-10-29 Thread Robbert van Dalen
Dear Java3D developers, For the ones that can't wait for stereo to work :-) I have made a patch for Java3D so that stereo mode works for the SGI/IRIX version of j3d (version 1.1.1 of the Java 3DTM API Edition). The patch is dynamic in the sense that the OpenGL call 'glDrawBuffer' is 'overloaded'

Re: [JAVA3D] Shading QuadArray with per-vertex colors?

1999-10-29 Thread Burns Boaz
I'm doing this using the IndexedQuadArray (and the IndexedTriangleArray) and the per-vertex coloring is working just fine. However, setting up the Material really doesn't figure into it - using the SetColors method (or equivalent) once the appropriate vertex format is set (COLOR_3 or COLOR_4) sho

Re: [JAVA3D] Shading QuadArray with per-vertex colors?

1999-10-29 Thread Allen McPherson
Don Casteel wrote: > If I've got a QuadArray (and I assume TriangleArray as well) with > per-vertex-colors, how do I set up the Material so I get shading with the > colors I've put in? If you've set per-vertex colors, have a Material attached, and lighting is enabled...

[JAVA3D] texture coords for sphere, and rotating earth

1999-10-29 Thread Decker, Scott D
To add to what Daniel Selman wrote: I think the 2D way is a way cool approach to the problem. Another solution might be to create your own sphere code There are lots of places to pick up how to generate your own sphere with triangles and such. Then, what you could do is map triangles to what coun

Re: [JAVA3D] Shading QuadArray with per-vertex colors?

1999-10-29 Thread Dan Petersen
> > I've posted this question before, and have seen it asked by others, but I've > never seen an answer: > > If I've got a QuadArray (and I assume TriangleArray as well) with > per-vertex-colors, how do I set up the Material so I get shading with the > colors I've put in? > > Seems a simple ques

[JAVA3D] jar vrml images

1999-10-29 Thread Anselm Hook
I'm having trouble fetching an image from a jar file using the web3d vrml loaders. I'm using Windows 95, Jdk1.2.2 and the non beta J3D. I'm able to fetch a .wrl file without trouble, but if the .wrl file references a texture then I get an error message: java.lang.IllegalArgumentException: inv

Re: [JAVA3D] scenes (from loaders) and intersect

1999-10-29 Thread Guillermo E. Gutierrez
Hi Ed, A Shape3D is a Node (look at the hierarchy). Thus, assuming that your "getSceneGroup()" method returns a Group or BranchGroup (we'll call "myGroup") you can iterate through it's children via: myGroup.numChildren() and myGroup.getChild(int) or myGroup.getAllChildren(). Then on each chil

Re: [JAVA3D] disable backface culling in .obj models?

1999-10-29 Thread Dan Petersen
> X-Sender: [EMAIL PROTECTED] > Mime-Version: 1.0 > Date: Fri, 29 Oct 1999 13:56:09 +0200 > From: clemenTs schröder <[EMAIL PROTECTED]> > Subject: [JAVA3D] disable backface culling in .obj models? > To: [EMAIL PROTECTED] > > Hi there, > i've got wavefront .obj file loaded into a scene. there are s

Re: [JAVA3D] GenerateNormals?

1999-10-29 Thread Dan Petersen
> MIME-Version: 1.0 > Date: Fri, 29 Oct 1999 07:01:53 -0400 > From: "Casteel, Don" <[EMAIL PROTECTED]> > Subject: [JAVA3D] GenerateNormals? > To: [EMAIL PROTECTED] > > Didn't I see a class somewhere for Automatically generating normals from > retained geometry? > > Don Casteel Look at the Geometr

[JAVA3D] MouseBehavior.INVERT_INPUTS

1999-10-29 Thread Victor Raymond
Most of the Java3D example programs allow rotation of the scene by adding a MouseRotate which manipulates a top-level TransformGroup on the content side of the scenegraph I need to manipulate the View Platform's parent Transform (on the view side of the scenegraph) and achieve the same result. Th

Re: [JAVA3D] jar vrml images

1999-10-29 Thread Rick Goldberg
Anslelm, Sounds like the file references texture images via ftp, check the url of the textures in the file. Regards, __ Rick Goldberg - Member Technical Staff Sun Microsystems Graphics Systems Software 901 San Antonio Road, MS UMPK27-302 Palo Alto, CA 94043-4

Re: [JAVA3D] MouseBehavior.INVERT_INPUTS

1999-10-29 Thread Doug Gehringer
> From: Victor Raymond <[EMAIL PROTECTED]> > Subject: [JAVA3D] MouseBehavior.INVERT_INPUTS > > The Java3d documentation seems to suggest that all I'd have to > do is use a MouseRotate constructed with the INVERT_INPUTS flag > and have this manipulate the View Platform's Transform. This works OK f

Re: [JAVA3D] jar vrml images

1999-10-29 Thread Anselm Hook
Fixed it! and maybe even found a bug! In com\sun\j3d\loaders\vrml97\impl\ImageTexture.java near line 127 there is a statement as follows: urlObj = loader.stringToURL(url.strings[i]); This rolls through the alternates for a textures file path. I added a new line after it which overrides

Re: [JAVA3D] MouseBehavior.INVERT_INPUTS

1999-10-29 Thread Dennis J Bouvier
I would have to look back at what i wrote, but what the tutorial should say is that you can use the MouseBehavior.INVERT_INPUTS and move the view around, but it is not the best solution. I hope the tutorial is not misleading. Dennis Victor Raymond wrote: > > Most of the Java3D example programs a

Re: [JAVA3D] GenerateNormals?

1999-10-29 Thread Dennis J Bouvier
The NormalGenerator utility works only on GeometryInfo objects. Other utilities are the triangulator and stripifier. After the utilities operate on the GeometryInfo object, the resulting geometry can be used in a Shape3D object. All of this is covered in Section 3.3 of the tutorial, including a

Re: [JAVA3D] jar vrml images

1999-10-29 Thread Anselm Hook
Just a final followup on our experience loading textures in vrml files inside of jars... not certain if this applys to other people yet. In com\sun\j3d\loaders\vrml97\imp\Loader.java on line 226 the code appends a "//" to the url path. For some reason now with the "jar:" prefix having 2 slash