Re: [JAVA3D] What does this StackTrace mean?

2001-08-21 Thread Joachim Diepstraten
Hi Kelvin >Seems that you are using v1.2.1_01 from the line number. > Please upgrade the Java3D version to v1.2.1_02. If the > bug can be reproduced please send us a test case to > investigate. Well I've upgraded it but still the same Exception/StackTrace occures could this be connected to if

[JAVA3D] setting the material for a double sided face

2001-08-21 Thread Saurabh Akhauri
hi Is it possible to set different material properties for the different sides of a face made double sided by setting the polygonattribute to CULL_NONE. basically I want the two sides of the shape to have different colors How is this possible regards Saurabh

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread matthias sweertvaegher
hi 8/21/01 11:26:30 AM, Saurabh Akhauri <[EMAIL PROTECTED]> wrote: >Is it possible to set different material >properties for the different sides of a face made double >sided by setting the polygonattribute to CULL_NONE. > >basically I want the two sides of the shape to have different colors >How

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Joachim Diepstraten
Hi Saurabh > Is it possible to set different material > properties for the different sides of a face made double > sided by setting the polygonattribute to CULL_NONE. Nope this is not possible. To overcome this you could instead add a second (directional light coming from behind and change the co

[JAVA3D] 3DLabs card

2001-08-21 Thread Sky Rumsey
For those of you with 3DLabs Graphics cards and are wanting stereo support, I believe the bug has been fixed http://www.3dlabs.com/support/troubleshooting/ap-13.htm Regards Sky === To unsubscribe, send email to [EMAIL PROT

[JAVA3D] How can I delive a Shape3D?

2001-08-21 Thread Joachim Diepstraten
Hi I've got quite some interesting problem (I think). Okay here's my scenario: I've got a MainFrame containing a Canvas3D and a SimpleUniverse with a Scenegraph. I've got a Button somewhere when you press on this one a JDialog pops up containing also a Canvas3D and a SimpleUniverse. I have all t

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Dola Woolfe
Hi, This may be impossible in Java3D, but it is definitely possible OpenGL. So I'm surprised that it is impossible in Java3D. Dola --- Joachim Diepstraten <[EMAIL PROTECTED]> wrote: > Hi Saurabh > > > Is it possible to set different material > > properties for the different sides of a face made

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Joachim Diepstraten
Ehlo Dola > This may be impossible in Java3D, but it is definitely > possible OpenGL. So I'm surprised that it is That's right it would work under OpenGL. But definitly not under DirectX. Maybe that's why it's left out. But I think only a SUN-Engineer could answer that question EOF, J.D. -- J

Re: [JAVA3D] Several branchgroups or just a big one?

2001-08-21 Thread John Wright
Certainly the scenegraph layout does impact performance in several ways. The Sun engineers can answer this more accurately than I can (I think Dave Yazel could shed more light on this too) but the biggest impact I've seen is more in how you model an object. Rendering can clip and completely igno

[JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Fergus Murray
Is the OpenGL Full-Screen 'workaround' technique of using a Window object sized to fill the current screen enough to gain the full advantage of hardware acceleration? Does it depend on what graphics card you're using? I'm using a Matrox Millennium G200, in case that makes a difference. My progr

Re: [JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Joachim Diepstraten
Hi Fergus > I'm using a Matrox Millennium G200, in case that makes a difference. My > always this slow in Java3D, or is my graphics card to blame or something? Definitly your GFX-Card. Matrox G200 is a business office card not a 3d/gamer card so it's fillrate is awfull low. I would suggest to u

Re: [JAVA3D] Collisions using default J3D WakeupOnCollisionEntry behavior

2001-08-21 Thread Paul Byrne
Hi Kevin, If you want to do Collision Detection for terrain following etc then check out the Behavior/Collision system included in the Java3D Fly Through demo. This includes an extensible collision system using picking that can be used for terrain following etc. The demo is available (with sourc

Re: [JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Fergus Murray
>> always this slow in Java3D, or is my graphics card to blame or something? >Definitly your GFX-Card. Matrox G200 is a business office card not a >3d/gamer card so it's fillrate is awfull low. I would suggest to upgrade >it at least to a G400 which is equal to a TNT2. I think the G200 lies >somew

[JAVA3D] javax.swing.Timer gives an AccessControlException from an applet

2001-08-21 Thread Daniel Moscoso
Hi all !! I'm trying to animate a VRML world using a Timer to change its viewpoint in a specified number of milliseconds. But the calls to start(), stop() from the Timer give an AccessControlException from an applet (it works as an application). Is this a thread problem ? If not, how can it wo

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Corysia Taware
I think it's D3D that's the limiting factor. Isn't it d3d that does not render back faces? I know OpenGL can, but my d3d experience is extremely limited. - Original Message - From: "Dola Woolfe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 7:53 AM Subject:

Re: [JAVA3D] Several branchgroups or just a big one?

2001-08-21 Thread Chien Yang
John has covered this topic pretty well and accurate. I would like to add some points to the following question : If a scene can be represented by m Shape3D nodes. Will breaking the scene into n Shape3D nodes help rendering performance ? Where n > m. There are atleast 3 factors need to be consid

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread Joel Shellman
Will it not serve your purpose to just put two faces each facing opposite directions nearly on top of each other? It would double the number of faces of course, but would do what you want. Joel Shellman Full Service Internet Solutions [ Design | Flash | eCommerce | Backend | Database | Hosting |

Re: [JAVA3D] moving camera to follow object?

2001-08-21 Thread Kelvin Chung
Hi Michael, You may see the Cube jitters if two separate behaviors is used to change the camera and another behavior get back the camera position and setting the cube's position. The is due to the ordering of behaviors is not gaurantee in v1.2.1 and the time interval from frames to frames var

Re: [JAVA3D] VRML animaton

2001-08-21 Thread P. Flavin
You can animate VRML models with Java3d using the VRML Loaders developed by Sun and donated to the Web3d.org ... I've been working doing animation with VRML and Java 1.1, and Java3d for several years, it's a great combination, it works well, its fun, you can animate Web3d's H-Anim Avatars with

[JAVA3D] Finding intersections in a scene

2001-08-21 Thread Mark A. Tapia
I've developed a class that extends com.sun.j3d.utils.picking.behaviors.PickRotateBehavior. I developed an updateScene method for the new class, using as a model code I found on the web for PickHighlightBehavior. I need to find the closest vertex of the object hit by the current pickray. T

Re: [JAVA3D] What does this StackTrace mean?

2001-08-21 Thread Kelvin Chung
Hi, Bug 4494571 is filed for this. This and the next problem that you mention is most likely cause by sharing of Primitives in geometry utility. We cache the first geometry create and return it next time. To work around this, pass GEOMETRY_NOT_SHARED in primflags. public Sphere(float radius,

Re: [JAVA3D] Full screen, hardware acceleration, texture maps

2001-08-21 Thread Corysia Taware
Maybe. It does not change your current desktop mode. If you do not receive hardware accel in the current desktop mode, then you won't in "fullscreen" because that fullscreen work around simply makes a window the size of the desktop. Basically, you won't get any performace improvement and will p

[JAVA3D] Java3D and Magician

2001-08-21 Thread Roy Duffy
You are all probably aware of a commercial package called Magician, which provides Java bindings to OpenGL (similar to GL4Java). We are trying to integrate a Java3D display and a display written in Magician into one application. We basically took the "HelloUniverse" Java3D demo and the "HelloWorl

Re: [JAVA3D] loading a 3ds file constructed in Amapi

2001-08-21 Thread John Wright
Adrian, Most likely your sphere doesn't have a material applied (i.e. it's "invisible"). The best first step to debugging these issues is to look at the log output. If you aren't getting any materials then you won't see anything. Our loader doesn't render geometry unless it has a color. Many p

Re: [JAVA3D] Movies on walls

2001-08-21 Thread Dan Petersen
> Delivered-To: [EMAIL PROTECTED] > Delivered-To: [EMAIL PROTECTED] > Date: Tue, 21 Aug 2001 16:18:27 -0700 > From: Adrian Meekings <[EMAIL PROTECTED]> > Subject: [JAVA3D] Movies on walls > To: [EMAIL PROTECTED] > > Hello again > > Im interested in hearing about presenting Movies such as MPEGs on

[JAVA3D] collision prevention via interpolators?

2001-08-21 Thread Markus Poltorp
Hi people, I've been trying to monitor the position of various objects as they are interpolated. I figured that in that way, you could perform checks before the position of the object is updated. Since I'm kinda struggling, I'm just wondering if it is possible at all. I've tried to printout t

[JAVA3D] loading a 3ds file constructed in Amapi

2001-08-21 Thread Adrian Meekings
Hello all Im having dificulty seeing a simple sphere that Im loading using Starfire Research 3ds loader (as a test) I placed ambient lighting within the scene but still no luck. Can anyone please tell me what Im doing wrong? The information to screen appears to inform me that the loader is work

[JAVA3D] Movies on walls

2001-08-21 Thread Adrian Meekings
Hello again Im interested in hearing about presenting Movies such as MPEGs on walls of a j3d room that Im building. Is this possible or do I have to do something like use an Alpha to animate a series of "jpeg textures"? Ive looked under the archives using mpeg, Movie, Animation etc but I eithe

[JAVA3D] Yo, Len ... H-Anim & Java * * S-O-L-V-E-D * * that problem: We Can Animate ANYTHING.

2001-08-21 Thread P. Flavin
Len, Human Animation is solved, with H-Anim & Java. I'm sorry, I thought I had posted that fact to: 1) www-vrml, 2) h-anim, 3) java3d-interest 4) comp.lang.java.3d, comp.lang.vrml, comp.lang.java.programmer Perhaps you had mislead by Aaron Walsh's "Core Web3d" book or comments from Justin

Re: [JAVA3D] loading a 3ds file constructed in Amapi

2001-08-21 Thread Adrian Meekings
Thanks Ill look into this... Your right I didnt realise that about modelers. Trap for young players. Cheers A - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 11:11 AM Subject: Re: [JAVA3D] loading a 3ds file constructed

Re: [JAVA3D] collision prevention via interpolators?

2001-08-21 Thread Miguel Branco
You could create a trigger using WakeupOnElapsedFrames(0); to try an update the object position. This triggers on every frame so you should be able to know exactly where the object is. To do collision prevention, you could try an use greater bounds than necessary and after the WakeupOnCollisionEnt

Re: [JAVA3D] loading a 3ds file constructed in Amapi

2001-08-21 Thread Adrian Meekings
Yes no details re colours. Unfortunately I can apply any range of colours in Amapi and have them rendered (by Amapi ) but it appears they dont export this information. Just for kicks here is the sphere. Are you able to tell me if Im applying a colour or texture ? the Amapi material editor is not

Re: [JAVA3D] What does this StackTrace mean?

2001-08-21 Thread Joachim Diepstraten
Hi Kelvin >Bug 4494571 is filed for this. This and the next problem What next problem? You mean the other mail with an interesting problem? Hmm you're sure that it is related because it has nothing to do with primitives I used own created basic Shape3Ds > Primitives in geometry utility. We c