I tried updating to 3.6 over the weekend and also noticed that z-
sorting did not seem to be as accurate in 3.6.


On Nov 17, 5:45 pm, Ralph B <[email protected]> wrote:
> I am updating a tutorial on latitude and longitude.  It has a sphere
> representing the earth with lines of latitude around it.  In Away3D
> 3.4.2 the lines would render correctly over the sphere if their radius
> was 1.03X the sphere radius.  But in3.6, they need to be much further
> away: much further even than the size of the triangles; about an
> entire sphere radius away.  And the numbers of segments in the lines
> and sphere do not have any effect.
>
> Therefore it seems that the BASIC renderer in3.6is doing a worse job
> withZ-sorting than in 3.4.2.  In fact it seems like theZ-sorting
> algorithm is comparing the line segment in the ring with the entire
> Sphere primitive, not the triangles on the Sphere surface.
>
> Could that be true?
>
> I tried using CORRECT_Z_ORDER but it is painfully slow.  I see the
> same effect wrapping rings around a Cube, and if I make the ring with
> WireCircle or my own array of LineSegments.
>
> Forcing thez-sorting using pushfront, pushback etc. is not an easy
> solution because the latitude rings must be seen to wrap around the
> earth.
>
> Any suggestions?  Thanks!

Reply via email to