Re: [JAVA3D] How to set the normals of IndexedGeometry

2000-05-24 Thread Remi Koutcherawy
Hi Zhu, How to set the normals of IndexedGeometry ? You can use com.sun.j3d.utils.geometry.NormalGenerator But then you have to build the geometry with GeometryInfo. GeometryInfo gi = new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY) ; gi.setCoordinates(coordinates); gi.setCoordinateIndices(indices

Re: [JAVA3D] centering object and rotation

2000-05-24 Thread David Hallé
Hi Mona, Before answering your question, could you say that you want to rotate your object itself, or do you want to rotate the camera around the object? Or Both? David. Mona Wong wrote: > Hi: > > I'm a beginning Java 3D programmer. I've got my scene built and can > view it in my windo

[JAVA3D] adding object at runtime

2000-05-24 Thread Tiza Iskandar
Hello all,       Can I add and show another different object to canvas3d at runtime ?   Thanks Tiza

[JAVA3D] Wanted J3D class heirarchy image

2000-05-24 Thread Justin Couch
Folks, I was trawling through the bowels of j3d.org last night and came across a link to a j3d class heirarchy diagram from Ross Finlayson. The problem is that the image is a) old (probably v1.0) b) corrupted I'd like to get the thing updated to the current 1.2 specification and also show it in

Re: [JAVA3D] How to Display a VRML looded object

2000-05-24 Thread Juergen Neubauer
Hello Naoufel, look at http://www.vrml.org/WorkingGroups/vrml-java3d/ and then http://www.vrml.org/WorkingGroups/vrml-java3d/downloads/0.90/README and the examples / sources: http://www.web3d.org/WorkingGroups/vrml-java3d/downloads/0.90/vj3d0.90.2.src.zip hopethishelps -Juergen. Naoufel Wer

[JAVA3D] Problem creating Canvas3d

2000-05-24 Thread François Savard
Hi, I would like to known if anybody have experience this problem: when I create a canvas3d with the GraphicsConfiguration, GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice();

Re: [JAVA3D] Wanted J3D class hierarchy image

2000-05-24 Thread Casteel, Don
Wouldn't this be a good Java3D project. A J3D applet or application which extends the javadoc app to generate a full recursive 3D map when any JAR is passed into it. The 3D map could provide links to HTML javadoc type pages when a class is clicked on. Seems the guys at sun might support this, wh

Re: [JAVA3D] 3D Studio File Format

2000-05-24 Thread J. Lee Dixon
Thanks, this helped tremendously. There are lots of specs at this site. I would vote that a link to this page be pointed to on the LoaderArchive page... Thanks again... Lee -Original Message- From: Maelvon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 2:58 PM To: [EMAIL PROTE

Re: [JAVA3D] Problem creating Canvas3d

2000-05-24 Thread Remi Koutcherawy
Hi, François > I would like to known if anybody have experience this problem: > when I create a canvas3d with the GraphicsConfiguration, Humm... yes... I used the same wrong approach... > GraphicsEnvironment ge = > GraphicsEnvironment.getLocalGraphicsEnvironment(); > GraphicsDevice gd = ge.ge

[JAVA3D] Generating Normals

2000-05-24 Thread David McCafferty
I am trying to generate normals for a polygon I have created, yet I am getting an error at the 'generateNormals()' line. The code is shown below, and works fine to create and display the object, it's just when I try and generate the normals I get a problem. Exception in thread "main" java.l

[JAVA3D]

2000-05-24 Thread David McCafferty
OK, forget that last one I forgot to set the stripCounts for the GeometryInfo... doh! <> David McCafferty.vcf

[JAVA3D] Polygon Anti-Aliasing

2000-05-24 Thread Jack Pien
hi,   i was wondering if there was any way of AntiAliasing Polygons in Java3D?  looks like Point and Line Anti Aliasing is a pretty straight forward process (with PointAttribute and LineAttribute) but PolygonAttribute doesn't have a AntiAliasing capability bit...   thanks.   jack [EMAIL PROTE

Re: [JAVA3D] adding object at runtime

2000-05-24 Thread Nikolay Lvov
You sure can.  Look at the code in the message   Subject:  [JAVA3D] PickIntersection class problem 4/18/00 Shapes  were added at runtime to the scene graph. Nick Tiza Iskandar wrote: Hello all, Can I add and show another different object to canvas3d at runtime ? ThanksTiza

[JAVA3D] infinite rendering loop

2000-05-24 Thread Curtis Rueden
I have a class that extends Canvas3D and overrides the public void renderField(int i) method. In the overriding implementation, there is some immediate mode rendering logic. The code works fine in Java3D 1.1.2 and lower, but in 1.1.3 and 1.2 the code somehow creates a cycle resulting in an infin

Re: [JAVA3D] centering object and rotation

2000-05-24 Thread Nikolay Lvov
Hi Mona, There is some code which implements the method for rotation around an arbitrary point. Using arbitraryTransform method you can rotate object itself or rotate the camera around the object. I hope it will help. Nick Mona Wong wrote: > Hi: > > I'm a beginning Java 3D programmer.

Re: [JAVA3D] centering object and rotation

2000-05-24 Thread Kevin Bartholomew
Hello everyone, I need to know how to develop terrains in Java3d and/or how to import terrains developed in other formats into my application. Could you please point me to any application or websites that uses terrains in java3d. Any help would be gladly appreiated. Thanks ahead of time. ===

[JAVA3D] WakeupOnElapsedTime problem

2000-05-24 Thread J. Lee Dixon
I'm having a problem with the behaviors that use the WakeupOnElapsedTime criteria. They start off running fine, but if I merely behavior.setEnable(false) and then behavior.setEnable(true) later on, the behavior is never woken up again. Am I doing something wrong? Here's some sample code. The t

[JAVA3D] Urgent : 3D card !!!

2000-05-24 Thread Augustin Gjini
Can anybody tell me about the compatibility between java 3D and this cards : ** (NVidia) Riva TNT2 ** (ATI) XPERT 2000 PRO ** (ATI) RAGE FURY PRO ** (ATI) RAGE FURY 32MB TV-Out Thanks in advance === To unsubscribe, sen

Re: [JAVA3D] WakeupOnElapsedTime problem

2000-05-24 Thread Kelvin Chung
Hi, This is a bug v1.2 (ID 4340882). Currently v1.2 rely user to invoke wakeupOn() in processStimulus() to add back wakeupOnElapsedTime condition after it is expired. If the wakeupOnElapsedTime condition expires and processStimulus() can't invoke in case behavior is disabled, the condition wil

Re: [JAVA3D] Multi Texture Question

2000-05-24 Thread Andrew Barras
Well I have been playing around with MultiTexturing all day and have found several interesting problems. Here are my conclusions: My initial test system was a PIII with a GeForce card from NVIDIA. I modified the MultiTextureTest app that comes with the java3d distribution to include the sourc

Re: [JAVA3D] Urgent : 3D card !!!

2000-05-24 Thread Chris Esposito
Augustin Gjini wrote: > > Can anybody tell me about the compatibility between java 3D and > this cards : > > ** (NVidia) Riva TNT2 > ** (ATI) XPERT 2000 PRO > ** (ATI) RAGE FURY PRO > ** (ATI) RAGE FURY 32MB TV-Out > > Thanks in advance > >

[JAVA3D] Interesting question...

2000-05-24 Thread Bruno Sousa Caiado
Hello,     I have a problem that i think is quite interesting but for which i still haven´t come up with an answer:       In my application i have a couple of "hand-maid" polygons (built using for instances, IndexedQuadArrays...) and for each of these polygons i have built a border using an

[JAVA3D] Scaling objects

2000-05-24 Thread Martín Arouxet
Hi: I´m trying to scale one objet. My problem is when i´m doing that, somethimes it rotate the objet. Anybody knows what's happening? public Transform3D zoom(double dx, double dy, Transform3D xT3D) { currXform = xT3D; Vector3f v = new Vector3f(); currXform.get(v); // get Translation

Re: [JAVA3D] adding object at runtime

2000-05-24 Thread HAroldo Pereira
Please, Send me this e-mail below again because i dont recieve correctly. []s >From: Nikolay Lvov <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] adding object at runtime >Date: Wed, 24 May 2000 11:00:25 -0700 > >Y

[JAVA3D] Fast PC graphics card

2000-05-24 Thread Khai Weyn
Hi, We have a scene consisting of a single TriangleArray object with lots of triangles (upwards of 50,000) and a couple of other simple Geometry objects. We believe we are running into graphics hardware performance limitations - moving the objects around is slow, something like 2 - 3fps, running