Hi Justin,


The first thing you should see is a single polygon in front of you with a white background textured geometry behind it. Everything is turned on at this point, so by rights you should be seeing the reflected text, a bump map, stencil map and light map all applied to the polygon.

This is the first bug - the cubic environment map does not show up.
Even using normal map, you can't see the actual text that should be
there.

The text does not show up using NormalMap, only Reflection map can see it. All the stages are download to OGL correctly so I believe this is not a bug but the region just map to an area without text.



To make the text turn up, click on the Reflection Mapping radio button
on the right. Now you will see the text turn up - mainly black with a
purple outline.

Now click back on the Normal Mapping radio button. Notice that the
text does not change at all. It is failing to pick up the change of
mode. So that's bug number 2.

Bug 4836232 - TextureUnitState setTextureAttributes() & setTexCoordGeneration() may not work

is filed for this and the problem is identified. This one also caused
J3D fail to pick up light angle changes
when background is on.

However it seems that changing ambient light angle has no effect on the
texture output.


With the bottom set of controls, start clicking on and off the textures. After about 20 or so changes, things start disappearing. On random runs, the complete background texture disappears to be replaced by grey garbage. Other times the whole polygon stops rendering or you start getting garbage textures displayed. The stencil map stops working and the whole lot disappears or just turns completely black. Other times I can turn off the bump mapping and the whole object goes black, rather than blue-ish (base colour set to blue) tint that should be expected. Trying to track down what is really going on is close to impossible. We've spent probably two months now on and off trying to develop test cases, but we can't accurately work it out. I am more than highly suspicious of the Java3d doing very bad things with the texture IDs (ie not reserving them) and then things getting trashed.

Anyway, this is very problematic for us and we'd really appreciate it
if you can fix all the bugs.


When all 4 texture stages button are uncheck, it should display a white
image. But J3D fail to disable the first texture stage,
instead it pick up the last texture environment set (which is background
texture). That's why you see background texture
swap in. This is bug 4829458.

In addition, we're able to reproduce the crash under Radeon card, win2K and
bug 4836337 - OGL: Java crash when multitexture apps exit under Radeon
9700 card
is filed for investigation.

Thanks.

- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.

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