|
Ok, firstly could someone please tell me how I go about
setting the line thickness, here is the code lArray[i] = new LineArray(2,
LineArray.COORDINATES | LineArray.COLOR_3); transGroup[i].setCapability(lArray[i].ALLOW_COLOR_WRITE); Point3f[] pts = new Point3f[2]; pts[0] = fromCD; // Start Point pts[1] = toCD; // End Point (arrow end) lArray[i].setCoordinates(0,
pts); lArray[i].setColors(0,
clrs); shapes[i].setGeometry(lArray[i]); transGroup[i].addChild(shapes[i]); addChild(transGroup[i]); Secondly, could someone
please explain in simple terms, with some example code how to implement picking I cant make sense of the
java tutorial stuff on it Basically I have a screen of
spheres and when I click on one I want to display some text next to it Don’t need any help
with the display text bit, just determining what sphere has been clicked on Thanks in advance for any
help |
- Re: [JAVA3D] Two Things: Line thickness and Picking Ben Logan
- Re: [JAVA3D] Two Things: Line thickness and Picki... Dirk L. van Krimpen
- Re: [JAVA3D] Two Things: Line thickness and Picki... Josh Richmond
