[JAVA3D] Where is the first ColorCube?

2000-07-25 Thread grace Wang
Hi, Everyone, I modified the HelloJava3Da, I add two ColorCube into the same BG, translate them into different spot. It seems only the last added ColorCube is shown. I don't know what is wrong with it? Could anybody please help me? Thanks a lot! ---

Re: [JAVA3D] Where is the first ColorCube?

2000-07-25 Thread Joerg Baus
grace Wang wrote: > > Hi, Everyone, Hi Grace, there are two color cubes in the scene, but the first is placed to high or your viewpoint is to near, respectively ;-) > ColorCube cb1 = new ColorCube(0.4); > ColorCube cb2 = new ColorCube(0.2); > Transform3D translate1 = new Transform3D(); >

Re: [JAVA3D] Where is the first ColorCube?

2000-07-25 Thread Carl Smotricz
At 23:56 24.07.00 -0700, you wrote: >Hi, Everyone, > >I modified the HelloJava3Da, I add two ColorCube into the same BG, translate >them into different spot. It seems only the last added ColorCube is shown. I >don't know what is wrong with it? Could anybody please help me? Thanks a >lot! Hi Grace

[JAVA3D] The example of Offscreen-Canvas3D which Onscreen-Canvas3D isn't u sed.

2000-07-25 Thread Norihito Hiruma
Hello J3D developers! The example of Offscreen-Canvas3D which is in J3D 1.2 uses Onscreen-Canvas3D. But, I don't want to use Onscreen-Canvas3D. Could someone please give me the example of Offscreen-Canvas3D which Onscreen-Canvas3D isn't used. Thank you very much. Norix Hiruma ===

[JAVA3D] Textures & Lights

2000-07-25 Thread Víctor
Hello, I'm trying to create a box with textures on his faces and then get it lit. When I use the box without texture I can see the lights perfectly, but when I apply the texture the lights can't not be seen. Can anybody help? Thanks in advance PRISMAKER TEAM ==

Re: [JAVA3D] Cones, spheres, cylinders, etc...

2000-07-25 Thread Terence J Fagan
Hey Bruno,     I am trying to do the same thing with a box w/ no luck either. I am posting what I have done. Maybe there is some way we can work this out together. Compile and run my3DBox. If anyone else has any suggestions I would greatly appreciate it.       Terence J Fagan

Re: [JAVA3D] Textures & Lights

2000-07-25 Thread François Savard
It is very important to set the TextureAttribute to MODULATE: here's a sample code to load the texture: public Appearance loadTexture(javax.swing.JApplet applet, String image){ Appearance app = new Appearance(); java.net.URL texImage; Texture tex; C

[JAVA3D] AWT color vs. J3D color3f

2000-07-25 Thread JayT
Hi, i have a j3d/swing app and i utilize the ColorChooser from swing to control the color of shapes in a J3D scene. is there some sort of mapping between the two? I utilize java.awt.Color and javax.vecmath.Color3f.. what i believe should be a blue in Color is a light blue in Color3f... if it is

Re: [JAVA3D] AWT color vs. J3D color3f

2000-07-25 Thread Carl Smotricz
At 08:48 25.07.00 -0700, you wrote: >Hi, > >i have a j3d/swing app and i utilize the ColorChooser from swing >to control the color of shapes in a J3D scene. is there some sort >of mapping between the two? I utilize java.awt.Color and >javax.vecmath.Color3f.. what i believe should be a blue in Col

Re: [JAVA3D] The example of Offscreen-Canvas3D which Onscreen-Canvas3D isn't u sed.

2000-07-25 Thread Charmaine Lee
Included in the attachment is a simple offscreen test that does not use onscreen canvas3D. -Charmaine Lee Java3D Engineering Team > MIME-Version: 1.0 > Date: Tue, 25 Jul 2000 19:11:23 +0900 > From: Norihito Hiruma <[EMAIL PROTECTED]> > Subject: [JAVA3D] The example of Offscreen-Canvas3D which

[JAVA3D] IBM Alphaworks and Java3d

2000-07-25 Thread adam treat
Hi all, I just installed the IBM Alphaworks JDK1.3 for Linux and it is running with java3d from blackdown. I had to copy the files from jre/lib/i386/* to /jre/bin but that was no problem. The performance is impressive although i haven't run any benchmarks yet. Has anyone else done this? adam

[JAVA3D] How to determine correct scale factor

2000-07-25 Thread Rajamiyer Ravichandran
Hi All, I have difficulty in setting the correct scale factor for the top level TransformGroup of my scene graph. My 3D models have different sizes and shapes. Knowing the current size of the model, how can determine the scale factor so that, the model will just fit in the canvas3d. I believe ther

Re: [JAVA3D] How to determine correct scale factor

2000-07-25 Thread Snavely, John A
I have a very similar question. I'm loading a set of wavefront objects. Normally, I'd just use the "RESIZE" flag to scale and position an object. Now I have a group of objects and I'd like to scale and position all of them correctly. I've tried aiming the view at the scenegroup and positioning the