In my project I have about 28000 polygons that are mostly flat.  I needed to
draw text on each polygon, and found that using text2d, text3d or Decals
would require too much memory and be generally difficult.

Instead, I am using LineStripArray to draw the text point-to-point.  I have
to input the point locations into my code (one set of points for each
character), but the text looks good and uses very little memory.  Right now
I have only numbers 0-9, but it's easy to add letters or other shapes.

I have a method that returns an array of Point3d in (simple x,y space) given
a string and an index of the current character.  Then I calculate a
Transform3D to transform my array of points to their correct location on the
polygon.

Daniel

===========================================================================
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".

Reply via email to