[JAVA3D] Extruded Shape

2003-11-06 Thread Osama Abdalah
Hi All, Iam developing an Extruded shape class in which i give it an array of points that lie on the same plane and a length for the extruded shape can any one tell me how to begin packing the points into Geometry noting that the array of points provided may be more than four points and adding pr

Re: [JAVA3D] Extruded Shape

2003-11-06 Thread MUNDE SANDEEP VIJAYKUMAR
hi, if u know the equation of plane and the perpendicular distance of extrusion then its easy to do. take a look at the example provided by java.sun.com where a rotated car body is shoen. i think u have to do like that only. means take any two points (neighbouring only) then calculate points at e

Re: [JAVA3D] Extruded Shape

2003-11-06 Thread Dirk L. van Krimpen
Osama, You need to create triangles anyway. What you could do is index your points at that plane (pb[0], pb[1], etc. and create the same array of indexed points at a plane at a distance "length" above the first plane. The best you could do is to number that second array of points as e.g: pt[0],pt[

Re: [JAVA3D] Extruded Shape

2003-11-06 Thread MUNDE SANDEEP VIJAYKUMAR
hi all, to all those want to make cad modeller by using java 3D. it is better to use open cascade or ACIS graphical kernels wich can do work of calculation of the geometry as well as the triangles. i am doing samne thing bye for now > Hi All, > Iam developing an Extruded shape class in which

[JAVA3D] Is this a new bug in Java3D?

2003-11-06 Thread Nikolai V. Chr.
When I do this code: Transform3D trans = transport.getTransformation (); trans.lookAt (origin, destination, up); trans.invert (); transport.setTransformation (trans); the scales is not preserved!! I have to do this workaround to preserve

Re: [JAVA3D] VRML97Loader and Appearances

2003-11-06 Thread Rainer Blum
Hello Justin, thank you for the information. Could you give me some hints on how exactly I can use the multitexture abilities you mentioned? What I did up to now, was to go to every appearance node in the SceneGraph and set new TextureAttributes with TextureMode MODULATE. This works, but unfortuna

[JAVA3D] Apple: Java3D support on Macintosh OS X

2003-11-06 Thread Alessandro borges
I guess the the official Java3D page needs a update about this info http://developer.apple.com/java/ Alessandro --- Christian Britton <[EMAIL PROTECTED]> escreveu: > Woohoo! > > Strait from the source, official press release! > > "Java3D and Java Advanced Imaging Developer Previews > Developer Pr

Re: [JAVA3D] VRML97Loader and Appearances

2003-11-06 Thread Alan Hudson
Rainer Blum wrote: Hello Justin, thank you for the information. Could you give me some hints on how exactly I can use the multitexture abilities you mentioned? What I did up to now, was to go to every appearance node in the SceneGraph and set new TextureAttributes with TextureMode MODULATE. This w

[JAVA3D] simulates projectile motion

2003-11-06 Thread Kampon Tangwaritorn
If I want to simulates projectile motion using Java3D. The used obbject is sphere. How should I do? Which way I have to do? Which method should I use? Help me please... cause it is my work _ Tired of spam? Get advanced junk mail prot

Re: [JAVA3D] simulates projectile motion

2003-11-06 Thread Zak Nixon
Call sphere.doProjectileMotion() and that should do it.. - Original Message - From: "Kampon Tangwaritorn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 11:54 AM Subject: [JAVA3D] simulates projectile motion > If I want to simulates projectile motion

Re: [JAVA3D] simulates projectile motion

2003-11-06 Thread P. Flavin
Java3d Animation: Object Moving Along 3d Path with Java Source code: Java3d Demos, on-line US Navy Postgraduate School - http://www.cs.nps.navy.mil/people/faculty/capps/4470/java3d/examples/SplineAnim/SplineAnim.html http://www.cs.nps.navy.mil/peopl