[JAVA3D] Never-ending surface plane

2002-04-09 Thread Ian Mayo
Hi all, in the next few weeks I'm going to be trying to improve the 3-d output of my analysis application from this: http://www.debrief.info/safe/3d.gif to something more like this http://www.debrief.info/safe/Debrief_2002_3D.jpg Yes, I know I've got a long way to go, and obviously there are

Re: [JAVA3D] Setting Material for a GeometryArray

2002-04-09 Thread David Rush
Rick, Thanks for the help, but I think I've sussed it already. If you declare the QuadArray with QuadArray.NORMALS in the vertex format it works. I guess that makes sense as if you don't specify normals, how can it calculate the lighting effects for the surface of the shape? Well thanks again

Re: [JAVA3D] Solaris and Mesa drivers.

2002-04-09 Thread Kelvin Chung
Hi, This config is not support, please download and install Solaris OpenGL v1.2.3 from http://www.sun.com/solaris/opengl/ Thanks. - Kelvin -- Java 3D Team Sun Microsystems Inc. >Date: Tue, 09 Apr 2002 06:56:33 -0600 >From: Anders Hasselkvist <[EMAIL PROTECTED]> >Subject: [JA

Re: [JAVA3D] Texture.setLodOffset(float r, float s, float t)

2002-04-09 Thread Doug Twilleager
Hi John, > >I have been working on removing the blurriness from the texture mapped >images in my application (the textured geometry is on the ground in the >scene). I finally determined that when I use mipmapping on the ground, the >mipmap level used is too small because of the aspect ratio of t

[JAVA3D] Normalization

2002-04-09 Thread Raúl
Hello, I try to normalize a Vector3f (0.09f, 0.0f, 0.0f) with the normalize() method and the result is (0., 0.0, 0.0). Why? Thanks in advance! === To unsubscribe, send email to [EMAIL PROTECTED] and include in

Re: [JAVA3D] AW: [JAVA3D] "cannot modify capability bits" exception

2002-04-09 Thread Doug Twilleager
Since the live shared geometry already has it's capability bits set, you don't need to reset it. If you are using the utility primitives, you will most likely have to walk though the primitive subgraph and set capability bits as needed. You can use SceneGraphObject.isLive() to check for the live

Re: [JAVA3D] French speaker need

2002-04-09 Thread Christian Zanardi
I should be able to help you too. -Message d'origine- De : Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]De la part de Justin Couch Envoye : mardi, 9. avril 2002 01:12 A : [EMAIL PROTECTED] Objet : [JAVA3D] French speaker need Folks, We got an enquiry through the j3d.org al

Re: [JAVA3D] French speaker need

2002-04-09 Thread Enrique Dumas
Hello Justin, Well if I can help you to translate something, let it me know, I'll do my best...   Justin Couch <[EMAIL PROTECTED]> wrote: Folks,We got an enquiry through the j3d.org aliases about (I think) a 3DSloader. Unfortunately for me it's in french. Would a french speaker mindhelping me with

[JAVA3D] A viewer and code generator for Appearance

2002-04-09 Thread Alessandro borges
Hi ! I am a newcomer in Java3D world, and I wannt to show you my AppearanceEditor. Not too much tested, but seens to work. This is a applet/application to test some Appearance configurations as well generate Java Source Code to obtain that Appearance configuration in your application . You can

Re: [JAVA3D] "cannot modify capability bits" exception

2002-04-09 Thread Georg Rehfeld
Hi Asaf, you wrote: > 1) I created one sphere, called allow_intersect on it and added to the > world. Cool. > 2) Icreated a second sphere, called allow_intersect on it and got a > "Cannot modify capability bits on live or compiled objects" exception. > Not cool. > > What am I doing wrong? Pro

Re: [JAVA3D] geometry positioning

2002-04-09 Thread Daniel Selman
Karl, You use instances of TransformGroup to translate, rotate and scale all the scenegraph nodes below your TransformGroup: TG <-- call setTranslate / setTransform3D on the Transform3D and TransformGroup | | BG <-- add the BranchGroup to the TransformGroup (allows you to detach/reattach) | | Sh

Re: [JAVA3D] Java3d Memory Consumption

2002-04-09 Thread Daniel Selman
Kapil, You should not need to duplicate the scenegraph to support multiple Views - Java 3D has built in support to do that. Check out the MultiView and PlatformTest examples from my book. As for GC to reclaiming memory, you should search the list archives, this is a subject which has come up reg

[JAVA3D] geometry positioning

2002-04-09 Thread Karl Parry
Hello all, I'm trying to build a 3D room in Java 3D, but I'm having trouble specifying where the geometry should go. At the moment i can create geometry, but I cannot place it anywhere other than the origin, I've looked at the tutorials and a few books, but I'm still lost! Is there something simp

Re: [JAVA3D] keyboard / mouse behaviours with inertia

2002-04-09 Thread John Wright
Sam, Yes, we do that in Pernica. Essentially we maintain a "velocity" which we decrement if the user isn't pressing a key to accelerate. - John Wright Starfire Research Sam Hocking wrote: > > Hi, > > I'm wondering if any of you have developed / seen any keyboard and mouse > behaviours that int

[JAVA3D] Java3d Memory Consumption

2002-04-09 Thread Kapil Joshi
hello everybody !   i have developed a small application using swing & java3d. i want it to support multiple views. i have used JInternalFrames in swing for that. i am duplicating the scenegraph for the purpose. but it is consuming a lot of memory. i have also written a function that recursiv

[JAVA3D] Solaris and Mesa drivers.

2002-04-09 Thread Anders Hasselkvist
Is it possible to run Java3D on Solaris using Mesa drivers? I have downloaded (www.mesa3d.org) and compiled Mesa 4.0.1 but I Java3D will not work. When I set the LD_LIBRARY_PATH environment variable to the directory path of the compiled Mesa files (libGL.so, libGLU.so, ligGLw.so, libOSMesa.so)

[JAVA3D] AW: [JAVA3D] "cannot modify capability bits" exception

2002-04-09 Thread "Römer, Daniel"
Hi! I run into the same problems with shared geometry. I have a scene with many shapes. Because they have the same geometry, this geometry is shared internally by java3d optimization. I want to do picking, so i need to set capabilities. Creating the shapes first time I don´t have problems. But so

Re: [JAVA3D] Problem with J3DTimer

2002-04-09 Thread Rob Nugent
Artur, Many thanks, Rob Artur Biesiadowski wrote: > Rob Nugent wrote: > >> Hi, >> >> Apologies if this has already been asked - I've been >> off this list for a while. >> >> It appears to me that com.sun.j3d.utils.timer.J3DTimer.getValue() >> is returning the timer value in clock ticks and not

Re: [JAVA3D] Problem with J3DTimer

2002-04-09 Thread Artur Biesiadowski
Rob Nugent wrote: > Hi, > > Apologies if this has already been asked - I've been > off this list for a while. > > It appears to me that com.sun.j3d.utils.timer.J3DTimer.getValue() > is returning the timer value in clock ticks and not nanoseconds. Yes, this is know bug - it will be fixed in beta2.

[JAVA3D] Problem with J3DTimer

2002-04-09 Thread Rob Nugent
Hi, Apologies if this has already been asked - I've been off this list for a while. It appears to me that com.sun.j3d.utils.timer.J3DTimer.getValue() is returning the timer value in clock ticks and not nanoseconds. The java doc is pretty explicit: 'Get the timer value, in nanoseconds' Has anyo

[JAVA3D] "cannot modify capability bits" exception

2002-04-09 Thread Asaf Dafner
Hi all, I want to allow_intersect on my objects. 1) I created one sphere, called allow_intersect on it and added to the world. Cool. 2) Icreated a second sphere, called allow_intersect on it and got a "Cannot modify capability bits on live or compiled objects" exception. Not cool. What am I doi