![]() |
perspective, yeah 3D games arn't true 3d but the with the graal Camera currently you only have an aerial view. With traditional 3d games you can change the camera positions giving the effect of 3d. Simply, you can't change Graal's camera position so therefore we always have an aerial view. if we could we would be able to use you method simply.
|
1 Attachment(s)
Heres what happened to mine when I did it using 3 dimensions.
PHP Code:
|
with making any 2d image and tilting it, there is always going to be distortion. Example : a flat map of the Earth no matter what type it has distortions. you can't make a 3d img 2d and vice versa
|
Quote:
|
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.
|
4 Attachment(s)
Quote:
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:
PHP Code:
PHP Code:
PHP Code:
|
Applying a Z to each vertex does not 'tilt' it in the sense that it gives it perspective. You're giving it perspective by modifying the x of each vertex. Your very first script, which I mentioned about the z thing, did not change the x values accordingly, so all it appeared as was a crushed image. You have to apply your own 'tilt perspective' via stretching the width of the image yourself, changing the z will not do that. Which was my original point.
Either way, I did the same exact thing you did, without ever using a z dimension. Like I said in my first post, the z-axis in Graal is nothing more than an additional y-axis. It doesn't add another dimension, just another way to change the position on the y-axis. If you take one polygon and make it 100x100px, then take another polygon and it make it 100x150x50, it will look the same. This all started with your original script which did not replicate my screenshot, which was the whole point in me correcting it. And I don't know what the hell who's been scripting longer has anything to do with it, and why you're getting irritated. |
Yeah Inver, you have to apply your own 'tilt perspective' via stretching the width of the image yourself, changing the z will not do that.
YES IM DOING IT FOR THE SAKE OF ARGUMENT, BRING IT >:( I B MASTR SCRIPTUR OF GRAAL |
Quote:
By the way, my original script was not supposed to replicate your screenshot at all. Hm, I think I'll make a function to calculate depth without manually adjusting the x. Quote:
|
Quote:
|
Hmmm can eventually check if the perspective can be corrected when drawing the polygon.
|
:o that would be great!
|
Quote:
|
Quote:
|
|
| All times are GMT +2. The time now is 11:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.