[JAVA3D] Color with LineStripArray

2000-05-08 Thread Sánchez Sanz, Javier
Hi, I'm trying (for a long time) to make a LineStripArray with color, but it appear black. I'm using a lit scene, so coloring attributes are ignored. I make a geometry colors and material color, but none of them seems to work. I have an ambient and a directional light. I put spheres and they are c

Re: [JAVA3D] Color with LineStripArray

2000-05-08 Thread Dvorak, Daniel J.
I believe you need to use a ColoringAttributes object. My code (which works fine) is below. LineStripArray lineArray = new LineStripArray(n, LineArray.COORDINATES, stripCount); lineArray.setCoordinates(0, coordinateData); // create a new appearance object for the grid

Re: [JAVA3D] Fwd: OrientedShape3D bug - Defeats View KeyboardBehavior for View

2000-05-08 Thread David Hopkins
Someone, Please kill this post. I have umpteen copies. Sincerely, Dave Hopkins === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send

Re: [JAVA3D] Fwd: OrientedShape3D bug - Defeats View KeyboardBehavior for View

2000-05-08 Thread David Hopkins
Charles, I am getting one of these every 1/2 hour. Please check your mail to be sure that this isn't automatically being sent. Thanks, Dave Hopkins Charles Hulcher <[EMAIL PROTECTED]>@java.sun.com> on 05/06/2000 10:30:20 PM Please respond to Discussion list for Java 3D API <[EMAI

[JAVA3D] rotationInterpolator

2000-05-08 Thread luigi
Hello all. I have a problem with the animations. I want to animate a robot arm with for example 3 articulations. When i push a button i want to rotate one of this articulations a number of grades in the axis i choose. How i can do that?

[JAVA3D] Accurate Collisions?

2000-05-08 Thread Víctor
I'm trying to detect accurate collisions between boxes. I am modifying the TickTockCollision example. I've remove the animation code and added picking behaviors (rotate and translate). When I try to detect collision the result is really unaccurate. I send you a snapshot for you to see it. Pr

[JAVA3D] Nurbs in Java3D

2000-05-08 Thread Jose Gonzalez
Hi all, I've been searching through the archives for this, but I didn't find a definitive answer... is there any implementation of nurbs for Java3D? As far as I know Java3D is polygon oriented, but I thought there could be some nurbs primitive that tessellated the nurbs into an appropiate

Re: [JAVA3D] Accurate Collisions?

2000-05-08 Thread Kelvin Chung
Hi: Please try to use USE_GEOMETRY as speed hint, the default is USE_BOUND public WakeupOnCollisionEntry(SceneGraphPath armingPath, int speedHint) - Kelvin --- Java 3D Team Sun Microsystems Inc. >X-Accept-Language: es,en >MIME-Version: 1.0 >Dat

[JAVA3D] Custom Leaf Node

2000-05-08 Thread Marvin Chase
I am trying to create by own Leaf node by subclassing Leaf. When I try to add my custom Leaf to a BranchGroup I get the following Exception. Exception in thread "main" java.lang.NullPointerException at javax.media.j3d.GroupRetained.checkValidChild(GroupRetained.java:356) at javax

Re: [JAVA3D] Stereo question

2000-05-08 Thread Shawn Kendall
Any word on this problem yet?  It's been two weeks... Dan Petersen wrote: > > > Sounds like they forgot to clean the z-buffer before drawing the right > eye view. I had this in some OpenGL code once. If you do: > >   clean z-buffer >   select left buffer >   draw left view >   select right bu

[JAVA3D] FontExtrusion question

2000-05-08 Thread JayT
Hi, Does anyone have a good example for utilizing the FontExtrusion?  It seems when I set it up to have a Line2D.Double (or Line2D.Float) and there are many Text3D objects in the scene, there seems to be a line going to the top left corner.. Is it a bug or am i not uzing FontExtrusion and Fo

Re: [JAVA3D] FontExtrusion question

2000-05-08 Thread Kelvin Chung
Hi, There is an open bug 4191172 - Text3D rendering problems for it. It happens for some Win32 fonts only. - Kelvin -- Java 3D Team Sun Microsystems Inc. >X-Originating-IP: [128.149.8.201] >MIME-Version: 1.0 >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Mic

Re: [JAVA3D] Custom Leaf Node

2000-05-08 Thread Kelvin Chung
Hi, A bug 4336464 for investigation. It happens when abstract leaf Node is extends. For non-abstract Leaf Node there is be no problem. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >X-Unix-From: [EMAIL PROTECTED] Mon May 8 10:51:11 2000 >MIME-V

[JAVA3D] BUG?! setMinimumFrameCycleTime attempts to lock to a frame rate that is NOT close to the intended frame rate

2000-05-08 Thread Syrus Mesdaghi
Hello all, I) I've been trying to use  view.setMinimumFrameCycleTime(  ) to set the frame rate in game engine that we have written, but I haven't been able to get satisfying results.  I wrote a small behavior that demonstrates this problem:    here are the results of my test app:      ms

Re: [JAVA3D] BUG?! setMinimumFrameCycleTime attempts to lock to a frame rate that is NOT close to the intended frame rate

2000-05-08 Thread Mark Hood
> > I've been trying to use view.setMinimumFrameCycleTime( ) to set the frame rate in >game engine that we have written, but I haven't been able to get satisfying results. >I wrote a small behavior that demonstrates this problem: > > here are the results of my test app: > > msfps

Re: [JAVA3D] BUG?! setMinimumFrameCycleTime

2000-05-08 Thread Kelvin Chung
Hi, >MIME-Version: 1.0 >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 >Date: Mon, 8 May 2000 17:09:34 -0500 >From: Syrus Mesdaghi <[EMAIL PROTECTED]> >Subject: [JAVA3D] BUG?! setMinimumFrameCycleTime attempts to lock to a frame rate that is NO

Re: [JAVA3D] BUG?! setMinimumFrameCycleTime attempts to lock to a frame rate that is NOT close to the intended frame rate

2000-05-08 Thread Syrus Mesdaghi
Mark Hood wrote: > Perhaps your frame rate is be getting quantized to the refresh rate of the your > monitor? If so, this is a driver issue -- see if your graphics card driver > allows you to decouple frame buffer swaps from monitor vertical retrace cycles. Hellow Mark. I tried my app with Vert

[JAVA3D] Notify when finish

2000-05-08 Thread Carlos Proal
i have a little problem: when i call the method for paint my virtual world, i want to display a message "working...", while j3d is rendering all nodes and branches. My problem is that i reach the next statement but j3d is still working, ie: displayMessage("working"); myArithmeti

[JAVA3D] Win2K

2000-05-08 Thread Demetrius
All,   Has anyone else tried running J3D code on Win 2K?  Many of the sample (and very low memory) appliations I have written keep getting outofmemory exceptions.  Has anyone else seen this?  I have used the -ms and -mx switches, to increase memory.  The screwy part is I can take the same ja

Re: [JAVA3D] Win2K

2000-05-08 Thread Jim Schatzman
Yes, we have run all versions of Java 3D on Windows 95, 98, NT 4.0, 2000 Professional and 2000 Server. No problems on any platform. Note that the Unix/Windows JVM's have different syntax for the -msm and -mxm command line options. If you mess up the syntax you may get no error or warning message