Hi,
I have discoverd the same with Cylinder and even more: by inspecting the
coordinates I found that only every second triangle of the body seems to be
necessary (since it is constructed as a fan, I think).
Marco.
----- Original Message -----
From: Andy Wilkinson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 07, 2000 11:10 AM
Subject: [JAVA3D] Primitive construction - inefficient geometry
> All,
>
> I've been playing around with Java3D's primitive types a bit over the last
> few days and in particular the geometry used to construct them as I want
to
> export a J3D scene to an obj format file.
>
> I've discovered that a cone is contructed from two TriangleStripArrays
when
> using two TriangleFanArrays would be more efficient. I know this may seem
> like a minor quibble but if you have a highly-subdivided cone or several
> cones in a scene the replication of the centre vertex becomes more and
more
> wasteful.
>
> Just thought I'd pass on what I'd discovered,
>
> Andy
>
>
===========================================================================
> 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".
>
===========================================================================
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".