[JAVA3D] How Setting TriangleStripArray parameters

2005-04-29 Thread Saeed Ansari
Hi, How Should I set he last parameter ( stripVertexCounts[] ). I mean what is the relationship between vtxCount and stripVertexCounts[] ?   Regards, Saeed  __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.ya

[JAVA3D] How to locate a shape exactly on other one

2005-04-29 Thread Saeed Ansari
Hi, I have a TriangleArray and I want to locate a Sphere exactly on it's surface. But when I change the radius of the Sphere, there is a distance between them. Should I change the radius and set a bigger radius or there is a way to do this ?   Regards, Saeed_

Re: [JAVA3D] How to make a HUD

2005-04-29 Thread Jeremy Booth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BERNUS Guillaume wrote: > Hi everybody, > > I'm working on a project using a doom-style navigation. I 'm working > on the HUD (to show a map). > I put the map in a BranchGroup wich is a child of the View's TransformGroup. > > This solution is not reall

[JAVA3D] How to make a HUD

2005-04-29 Thread BERNUS Guillaume
Hi everybody, I'm working on a project using a doom-style navigation. I 'm working on the HUD (to show a map). I put the map in a BranchGroup wich is a child of the View's TransformGroup. This solution is not really good because the map must be placed at approximately -1 meter on the z-Axis. So

Re: [JAVA3D] How to have a shape on other shape

2005-04-29 Thread Omer Haybat
Oke... but what is if i want to have an orientedShape with constant scaling and just 1 meter above it a raster image with text also constant scaled. if i zoom in the distance between the objects will no longer be 1 meter. ===

Re: [JAVA3D] Problem with TriangleArray

2005-04-29 Thread Hrvoje Smolic
Hi! After quick inspection of your code, I suspect that what is missing are data where ro put your Shape3D. You have to define: Transform3d tran tran.setTranslation(some Vector3f) TransformGroup tg (tran) tg.addChild(yourshape3d) objroot.addChilg(tg) ... .. ...