Hi!
 
I have a terrain, which is rendered like a TriangleStripArray.
 
I want to set objects (Trees, etc) onto this Terrain, and I would like to get the Triangle of the
TriangleStrip which contains the insert point of my object.(and assign Z from the z of the triangle points)
 
Has TriangleStripArray class such a method?
 
Before now, I use a numerical struct ([] [] double), and assign Z from the four points that envolves my object point,
but I think is better to use the points of the triangle rendered by Java3D.
 
The problem is that I dont know which triangle is, because I use QuadArray and Stripifier.
 
Thanks in advance!
 
 
 
 
 
 
----- Original Message -----
Sent: Thursday, October 11, 2001 7:15 AM
Subject: [JAVA3D] what's the value of texture by reference?

I'm just in the beginning stages of working with textures.  However, i keep seeing this "texture by reference" thing popping up.
 
My question is, what does using a texture by reference give you that using a texture in the "normal" way does not?
 
Is there some performance advantage to using texture by reference?
 
If I have a bunch of objects and I want to update each objects texture for every frame, which method is better?  Is one faster for switching textures on an object each frame?
 
Is texture handling going to be any different under Java3D 1.3?
 
Mike
 

Reply via email to