Hi Away3D Community,

We're developing an educational simulation based on Away3D for usage with PhET
Interactive Simulations <http://phet.colorado.edu/>, and we're running into
a rendering problem.  The problem is that when a line segment or outline
intersects with a surface, there are significant errors in the rendering.
We posted an example to demonstrate the problem:
http://www.colorado.edu/physics/phet/dev/density-flex/0.01.09/density-flex_en.html

To demonstrate the problem, visit the link above, then go to the second tab
titled "Advanced".  We are drawing a red line segment at the tip of each
force arrow.  Notice that when a red Segment intersects another object (the
water or ground), there are many rendering artifacts.  You can grab the
block and move it around so that you can control reproduction of the error.

This is built using an earlier version of Away3D, but we also tested against
2.5.0 and 3.5.0 and the same problem exists there.
We are using renderer = Renderer.INTERSECTING_OBJECTS, and the problem
occurs for addSegment(new Segment(...)) as well as for adding an outline to
the arrow geometries.  We reproduced the error to varying degrees with other
renderers, but INTERSECTION_OBJECTS seems to work best for the rest of the
graphics.

Thanks, any ideas would be very helpful,
Sam Reid/Jon Olson
PhET Interactive Simulations

Reply via email to