David,
This sounded like the same bug that Shawn had with the particles.
We had fixed that bug in 1.2.1beta2. If you can send me a test program,
I'll make sure it is/will be indeed fixed in 1.2.1beta2.
Thanks,
-Charmaine Lee
Java3D Engineering Team
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> Date: Sat, 25 Nov 2000 22:52:38 -0500
> From: David <[EMAIL PROTECTED]>
> Subject: [JAVA3D] 1.2.1 : Multitexuring interfering with Alpha Blended
textures
> To: [EMAIL PROTECTED]
>
> If I use multi-texturing on my terrain there is corruption in my Alpha
> blended trees. It looks like some kind of transform is being randomly
> applied to the planes which crossed to form my "cutout trees". What happens
> is the tree texture is expanded so that two limbs are now the whole tree.
> This looks like the texture coordinates are getting messed up. The
> scenegraph looks like this:
>
> root
> |
> BG
> |
> Switch Node
> |
> +-BG---Shape3D with multitexture (terrain cell)
> +-BG---Many Link Nodes to shared groups with shapes that have alpha
> transparencies. (trees)
>
> This happens even if I only use one texture unit and effectively "disable"
> multitexturing. So basically if I use this contructor:
>
> int texMapping[] = {0,1};
>
> buf.triangles = new TriangleStripArray(vertexPoints,
> GeometryArray.COORDINATES |
> GeometryArray.NORMALS |
> GeometryArray.TEXTURE_COORDINATE_2 |
> GeometryArray.COLOR_3,
> 2,
> texMapping,
> perStrip);
>
> I get the corruption, but if I use
>
> buffer.triangles = new TriangleStripArray(vertexPoints,
> GeometryArray.COORDINATES |
> GeometryArray.NORMALS |
> GeometryArray.TEXTURE_COORDINATE_2 |
> GeometryArray.COLOR_3,
> perStrip);
>
> I do not get corruption. This problem is worse on 1.2 Has anyone had
> issues like this? It would probably take me a while to write an example
> program which can reproduce this for a small test case, which I will do if
> necessary.
>
> Dave Yazel
> Cosm Development Team
>
> ===========================================================================
> 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".