if your making one large QuadArray consisting of the individual quads from
several cylinders, what you're probably seeing is the attempt to draw quads
from the end of one cylinder to the begining of the next, which when they
overlap one another things will get really wierd.
I think your running into the difference between an "ADD" operation and a
"UNION" operation. (try searching the web for: Constructive Solid Geometry
or CGS)
Check the attached diagram, Hope this helps
-----Original Message-----
From: Dennis Goetz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 06, 1999 4:02 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] need help creating a shape3d
Hello,
I am trying to make my own class for making a 3d Arc.. I am trying to do
this by breaking the arc into cylinders and drawing each one at the
appropriate location/angle.
I think it would not be that hard to put just join a bunch of
rotated/translated cylinders into one branch group to make an arc
branchgroup, but I would like to make a single shape3d object to accomplish
this same thing..
What I tried to do was just take the code for making a cylinder (using a
quadarray) and just adding a bunch more vertices and normals, but that did
not give me anywhere near the expected results, even though i know the
coordinates are correct... if i draw one cylinder it turns out correct,
but when I try to draw several of them in one shape3d, it shows up as this
twisted, abstract type shape.
I have been trying to look for resources that explain shape creation, but
have not been able to find anything really detailed.. Any suggestions on
what i may be doing wrong or an easier way to go about this?
Thanks,
Dennis Goetz
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
CSG.JPG