google-code-export / papervision3d

Automatically exported from code.google.com/p/papervision3d
1 stars 1 forks source link

DAE UV Map seems with shader appears with black lines. #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I load .dae file by usin DAE Class.
2. When I apply UV Map ( bitmapMaterial ) + Shader I get black lines where
UV Map seems locates.
3. When I apply only material ( w/o shader ) everything looks normal.
4. When I apply shaded material ( for example gouraudMaterial ) everything
still looks normal.

What is the expected output? What do you see instead?

What I want to see:
Bitmap material + Shader = shaded material.

What I actually see:
Bitmap material + Shader = shaded material + black UV Map seems.

What version of the product are you using? On what operating system?

2.0 Beta

Original issue reported on code.google.com by antti...@hotmail.com on 22 Sep 2008 at 3:22

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ohh damnit, wheres the edit button. :)

I'm running Windows Vista

Original comment by antti...@hotmail.com on 22 Sep 2008 at 3:26

GoogleCodeExporter commented 9 years ago
This has to do with the internal rounding withing the Flash Player and is
unfortunately not something we can easily fix. But, and here's the but, a fix 
is to
change the shadercomposition mode to per_tri on the shader. This will be slower 
but
remove the seams.

Original comment by r.hauw...@gmail.com on 17 Oct 2008 at 1:52

GoogleCodeExporter commented 9 years ago
Can anybody help me out with setting the shadercomposition mode to per_tri on 
the
shader? 

I really need to get rid of the black lines. 
I have an 3D object (Coffee cup) and the inside gets an phongMaterial and the 
outside
gets a BitmapMaterial with a PhongShader. 
Looks pretty perfect except for the black seams between the materials.

I really appreciate any advice.

Original comment by DanAr...@googlemail.com on 3 May 2010 at 3:06