I have a plan to try trees with a "solid" trunk and planar branches 
extending (2 triangles with a texture w/alpha) from it.

However, I will need two textures for this – one for the bark of the 
trunk, and one for the branch(es).

Does anyone have any experience/suggestions for doing this nicely in 
Java3d? The most obvious solutions I can see are:

1) A single texture with the branch image and bark image on it, and map 
the tex coords appropriately so branch polysonly point to the branch 
portion of the image, and vice-versa for the bark.

2) Two textures, and hence two Shape3D because of the requirement for two 
different appearances.

Are there any other reasonable ways to do this? I guess (1) would be fast 
because only one texture is used. I could also be cunning with my use of 
the texture space  so that I can have say 2 branch types and one wider 
bark texture (although this would seem to be the converse of what is 
desirable in terms of what is detailed and what isn't).

Cheers

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