brlrt / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

Rendering problem with TextField3D and Trident #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add TextField3D and Trident to same Away3D scene
2. Render.

What is the expected output? What do you see instead?
In addition to the 3D text and the trident, I see additional spurious lines
and shapes.

What version of the product are you using? On what operating system?
Away3D trunk rev 1404 (17 June 2009).  Flash CS3.  Windows XP.

Please provide any additional information below.

FLA demonstrating the problem is attached.  Same problem seems to occur if
I mix a Sprite2D with a Trident or any object using LineSegment.

Original issue reported on code.google.com by ralph%sa...@gtempaccount.com on 17 Jun 2009 at 11:20

Attachments:

GoogleCodeExporter commented 8 years ago
I reduced the problem to show up with a very simple test of a Plane and a
LineSegment, the default camera, no lights, no textField3D, and the basic 
renderer. 
The line and plane rotate with OnEnterFrame and may intersect depending on 
angles. 
The problem does not show up with tag 2.3.3, so I experimentally homed in on 
which
trunk revision the problem starts at.

At trunk SVN rev 1346 and above, the scene renders with extraneous fills to the 
right
of the shapes.  From the log it looks like you made some enhancements to
WireColorMaterial.as and AbstractRenderSession.as, so that may give you a hint. 
 It
seems to have to do with LineSegments intersecting with fills and/or being 
ordered in
front of fills.

Problem is demonstrated in file renderBug2.fla and .swf.

Original comment by ralph%sa...@gtempaccount.com on 1 Jul 2009 at 3:38

Attachments:

GoogleCodeExporter commented 8 years ago
fixed in rev 1591

Original comment by rob.bate...@gmail.com on 7 Aug 2009 at 10:30