Thread: Graal Mode 7
View Single Post
  #36  
Old 08-13-2007, 03:34 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by DustyPorViva View Post
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+0500,
    
800-0500,
    
8008000,
    
508000
  
}; 
2nd Picture: Square Polygon w/ bottom vertices z=300
PHP Code:
  polygon = {
    
50+0500,
    
800-0500,
    
800800300,
    
50800300
  
}; 
3rd Picture: Trapezoidal Polygon w/ all vertices z=0
PHP Code:
  polygon = {
    
50+100500,
    
800-100500,
    
8008000,
    
508000
  
}; 
4th Picture: Trapezoidal Polygon w/ bottom vertices z=300
PHP Code:
  polygon = {
    
50+100500,
    
800-100500,
    
800800300,
    
50800300
  
}; 
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.
Attached Thumbnails
Click image for larger version

Name:	polygon1.jpg
Views:	178
Size:	109.7 KB
ID:	42416   Click image for larger version

Name:	polygon2.jpg
Views:	169
Size:	116.0 KB
ID:	42417   Click image for larger version

Name:	polygon3.jpg
Views:	178
Size:	111.5 KB
ID:	42418   Click image for larger version

Name:	polygon4.jpg
Views:	176
Size:	116.8 KB
ID:	42419  
__________________

Last edited by Inverness; 08-13-2007 at 04:05 PM..
Reply With Quote