Quote:
Originally Posted by DustyPorViva
Well, you did exactly what I did in mines in your new post. You altered the horizontal aspect manually. What I was saying is specifying a z did not 'tilt' the polygon, only change it's vertical position. Z in Graal is more like another Y axis, it doesn't really add any depth. You can achieve the same thing without ever using Z.
|
You have no idea what you're talking about. Each vertex on the polygon can have its own z variable, so if I increase the z of the bottom two vertexes its going to damn well tilt the polygon.
Which one of us has been scripting longer? You're starting to irritate me.
Heres the examples:
1st Picture: Square Polygon w/ all vertices z=0
PHP Code:
polygon = {
50+0, 50, 0,
800-0, 50, 0,
800, 800, 0,
50, 800, 0
};
2nd Picture: Square Polygon w/ bottom vertices z=300
PHP Code:
polygon = {
50+0, 50, 0,
800-0, 50, 0,
800, 800, 300,
50, 800, 300
};
3rd Picture: Trapezoidal Polygon w/ all vertices z=0
PHP Code:
polygon = {
50+100, 50, 0,
800-100, 50, 0,
800, 800, 0,
50, 800, 0
};
4th Picture: Trapezoidal Polygon w/ bottom vertices z=300
PHP Code:
polygon = {
50+100, 50, 0,
800-100, 50, 0,
800, 800, 300,
50, 800, 300
};
You're obviously not understanding the fact that the image's Z as a whole is separate from the Z of each vertex. The image's Z as a whole wouldn't even apply in this case since its a polygon.