A.

1. create a BufferedImage
2. obtain a Graphics object from it
3. draw what you want to draw
2a. (alternative to 2 & 3, directly manipulate bits in the BufferedImage
4. create a Texture from 1.
5. set the texture coordinates of the facet (quad)
6. set the texture 4. in the Attributes of the geometry including your
facet.

B.

After getting the picked facet, it should be fairly easy to see which of the
vertex was closest to the pick point. There are at most 4 vertexes to test !

Cheers,

Florin

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Sandeep Munde
Sent: Dienstag, 4. Mai 2004 08:19
To: [EMAIL PROTECTED]
Subject: [JAVA3D] how to draw on facets


hi all,
plz consider it as urgent .

i want to know how to draw on any 3D facets (defined by quadarray) in
java3D. i just needed to knowthis.

or

how to select a point on any such facet . pick method selects only facet
but i needed to select a point on it.

thanks in advance

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

Reply via email to