[JAVA3D] Obvious, but it took me a while to get it

1999-09-25 Thread Tim Bray
The problem: you want to do something obvious like, say, texture mapping or using specular color, and you find that neither the API spec nor the javadoc nor the tutorial explain how. Yes, they enumerate the arguments and give a one-line explanation, but nothing that actually outlines the concepts

[JAVA3D] Color problem

1999-09-25 Thread Jose Monzon
Hi! I have some problems with equivalence between JAVA3D color system and R.G.B Suposse I have a RGB color, for example RGB[3]. Each of them (red, green, blue) go from 0 to 255 (INTEGER) In JAVA3D we use Color3f(), that are FLOAT, and go from 0 to 1. suposse that i have a vector: Java3dColor[3]

Re: [JAVA3D] Behaviors

1999-09-25 Thread Marco Lohse
Hi, on live graphs you can only attach BranchGroups. So you have to create a new BranchGroup, add your Behavior to the BranchGroup and add the BranchGroup to your graph. The node in the graph where you add this new BranchGroup needs the right capabilities. Marco. -Ursprüngliche Nachricht

[JAVA3D] problem with IndexedQuadArray

1999-09-25 Thread Boggavarapu V S N Murthy
I am working with a robot in vrml-eai. recently i heard about java3d and i switched over to java3d since the interface between a 3dworld and java applet is more clear here. forget all these. Now i started building the robot with IndexedQuadArray as oppsed to IndexedFaceSet. First of all I created

[JAVA3D] best approach ?

1999-09-25 Thread Peter Lueders
what is the best approach to implement an object (shap3d) whose vertices completely change their coordinates/normals but not their texturecoordinates ? is there another solution than completely initialize a new trianglearray (eg) every frame ? ciao peter -- [[ http://fly.to/jzone ]] email--> m

Re: [JAVA3D] Behaviors

1999-09-25 Thread Gernot Veith
On Fri, 24 Sep 1999 22:50:40 +0100, Jose Monzon wrote: >Hi! >I have tried to add a behavior (addChild) when objects are "live". >I recive the error: ONLY ONE BRANCHGROUP CAN BE ADDED >I suposse that behaviors can't be added when objects are live isn't >it > that's true, you can only add