Z-ordering of three simple elements

Software: Away3D 3.x

achim, Newbie
Posted: 22 June 2011 02:31 PM   Total Posts: 20

Hi,
I have a problem with my histogram experiment in Away3d. Seems to me to be Z-ordering ?
I have renderer:Renderer.CORRECT_Z_ORDER, though, but when the cubes are too close to each other, the display isn’t rendered well.
You can check here :
histogram by moving the three sliders.
Thanks in advance if you can help…

   

mprzybylski, Newbie
Posted: 22 June 2011 03:38 PM   Total Posts: 6   [ # 1 ]

have you tried setting pushfront: true on the top cube and pushback: true on the bottom one?  I think this would help your rendering since they don’t necessarily need to be all on the same “plane” if you know what I mean, by setting those properties you may be able to get away with the z-sorting issue.  Hope that helps.

   

achim, Newbie
Posted: 22 June 2011 03:44 PM   Total Posts: 20   [ # 2 ]

Thanks a lot, you made my day. Works like a charm.

   

mprzybylski, Newbie
Posted: 22 June 2011 03:47 PM   Total Posts: 6   [ # 3 ]

excellent, glad I could help.

   

achim, Newbie
Posted: 22 June 2011 04:05 PM   Total Posts: 20   [ # 4 ]

Err, lol. Well, one weird thing happens now, though : the bottom of the purple Cube “passes over” its right side ?
(it is online)

   

achim, Newbie
Posted: 23 June 2011 08:38 AM   Total Posts: 20   [ # 5 ]

I solved this by turning back to the BASIC Renderer.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X