hey guys
I have some problem when I rendering some primitives
in my case i put plane and lineSegment in the scene3D
after that i started render.
then shapes what i made looks crap like pictures below.
is there anyone can solve this problem??
Rendered primitive doesn’t look rightlySoftware: Away3D 3.x |
||
jasonMiller, Newbie
Posted: 31 July 2012 06:59 AM Total Posts: 4
|
||
Richard Olsson, Administrator
Posted: 31 July 2012 09:42 AM Total Posts: 1192 [ # 1 ] How do you expect them to look? Is the black line supposed to be in front of the red plane in all cases? if so, you’re probably best off sub-dividing both into more sub-segments, since the z sorting in Away3D 3.x happens per triangle/segment. |
||
jasonMiller, Newbie
Posted: 31 July 2012 09:57 AM Total Posts: 4 [ # 2 ] yeah~cool~thx! |
||
Richard Olsson, Administrator
Posted: 31 July 2012 10:00 AM Total Posts: 1192 [ # 3 ] That’s how pushfront and pushback work. They push an object to the front or the back of the screen (from the camera’s current point of view) and not the scene. I would still recommend you to split your meshes up into smaller parts (by adjusting the number of segments on the plane, and manually or procedurally splitting the line into several shorter lines.) Also, make sure they are not in the exact same position, but that the line is actually a slight distance away from the plane. That should solve your problem. |