Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-11-2007, 12:11 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Graal Mode 7

Stefan, would this be possible to program into the Graal engine? The technique was made for SNES, and would be quite.. awesome to see on Graal.

http://en.wikipedia.org/wiki/Mode_7

Moderator; this link is very much related to what I'm asking for, please dont remove it.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #2  
Old 08-11-2007, 12:17 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
that would be a realy good idea
__________________
**FLIP OUT**
Reply With Quote
  #3  
Old 08-11-2007, 12:38 AM
Bell Bell is offline
Registered User
Bell's Avatar
Join Date: Feb 2007
Posts: 1,824
Bell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud of
I can see where that would open up a whole new way of having the overworlds work when it comes to distance fighting etc. Not as complicated as 3D but has a similar effect.
__________________
For support contact
http://support.toonslab.com/
Reply With Quote
  #4  
Old 08-11-2007, 01:30 AM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Chrono Trigger also used this for the minirace. :P
__________________
Reply With Quote
  #5  
Old 08-11-2007, 01:56 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Secret of Mana used it <3
Reply With Quote
  #6  
Old 08-11-2007, 02:23 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
I want to be able to do Final Fantasy 6 overworlds
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #7  
Old 08-11-2007, 07:36 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
I love how Terranigma for the SNES used this effect on both their Overworld and their Underworld.
__________________
Do it with a DON!
Reply With Quote
  #8  
Old 08-11-2007, 07:42 AM
Em Em is offline
Registered User
Em's Avatar
Join Date: Oct 2006
Posts: 288
Em is an unknown quantity at this point
An excellent idea. One of the best i've read on the forums in recent months.
__________________
Em is the proud owner of Skywide Design [Dot] ca
Reply With Quote
  #9  
Old 08-11-2007, 08:09 AM
Cloven Cloven is offline
Delteria
Cloven's Avatar
Join Date: Dec 2006
Location: Florida, United States
Posts: 542
Cloven has a spectacular aura about
Send a message via AIM to Cloven
Yeah, I'm certainly in favor of this in principle, though I'd like to know what its affects on the client and computer may be.
Reply With Quote
  #10  
Old 08-11-2007, 06:13 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
I would just love to see that by implented!!
Very nice idea Ziro!
__________________
Reply With Quote
  #11  
Old 08-11-2007, 06:19 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I'm in the middle of scripting something along these lines right now
Maybe I'll post a screenshot when I'm done.
But ya, would be a nice addition.
Reply With Quote
  #12  
Old 08-11-2007, 07:47 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva


Reply With Quote
  #13  
Old 08-11-2007, 09:08 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Awesome!!
__________________
Reply With Quote
  #14  
Old 08-11-2007, 10:29 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by xXziroXx View Post
I want to be able to do Final Fantasy 6 overworlds
Chrono Trigger overworlds > you
__________________
Reply With Quote
  #15  
Old 08-12-2007, 05:13 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
We await Stefan's input on the subject.
THIS IS A CUE<- THAT IS A CUE
__________________
Reply With Quote
  #16  
Old 08-12-2007, 05:26 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Inverness View Post
We await Stefan's input on the subject.
THIS IS A CUE<- THAT IS A CUE
^ THAT WAS A CUE ^

IT WAS A CUE

I agree.
__________________
Do it with a DON!
Reply With Quote
  #17  
Old 08-12-2007, 05:59 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally Posted by xXziroXx View Post
Stefan, would this be possible to program into the Graal engine?
"Program into"? I don't think the Mode 7 source code is just floating around on the internet.
__________________
Reply With Quote
  #18  
Old 08-12-2007, 06:50 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Googi View Post
"Program into"? I don't think the Mode 7 source code is just floating around on the internet.
Of course not. I meant if it was possible to program a similar system in Graal, with the same functions.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #19  
Old 08-12-2007, 06:54 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
You don't need source code, there is already an explanation of what Mode 7 does. You have your end result right there, now you just need to figure out how to get to it.

I'm sure you already know this Googi.
__________________

Last edited by Inverness; 08-12-2007 at 08:47 PM..
Reply With Quote
  #20  
Old 08-12-2007, 09:46 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Mode 7:
Take the image.
Put it on a polygon (skin).
Skew the polygon.
Done.

The interesting math is for moving diagonally, and having the map keep track of where you are...that's matrix math, that is. "For every step you take back, move one bit closer to the center. For every step you take forward, move one bit further from the center."
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #21  
Old 08-13-2007, 01:10 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Dusty that is so cool. Just like z3 map oh please tell me how you did it? Like how did you get the players head to move properly with that perspective, I'm completely clueless with scripting with matrices. XD
__________________
Deep into the Darkness peering...
Reply With Quote
  #22  
Old 08-13-2007, 01:18 AM
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
Uh you don't really need matrices. Here is example of drawing a tilted polygon.
PHP Code:
with (findimg(200)) {
  
layer 4;
  
dimension 3;
  
polygon = {
    
50500,
    
600500,
    
600600200,
    
50600200
  
};
  
image "map.png";
  
mode 0;
  
alpha 0.75;
  
red 1;
  
green 1;
  
blue 1;

__________________
Reply With Quote
  #23  
Old 08-13-2007, 01:30 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
right right I know how to do that but what I need to know is how he got the players head to move accordingly with the tilted polygon. :P
__________________
Deep into the Darkness peering...
Reply With Quote
  #24  
Old 08-13-2007, 01:33 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Actually I used 2 dimensions. Doing what you did won't skew the image properly.
You have to alter the x dimensions accordingly. Here is what I used in my script, though it's probably embarrassing math-wise.

PHP Code:
  this.mapsize=screenheight*.75;
  
this.mappos={(screenwidth-screenheight*.75)/2,(screenheight-screenheight*.75)/2};

  
with (findimg(200)) {
    
dimension=2;
    
polygon={
      
thiso.mappos[0]+25,thiso.mappos[1],
      
thiso.mappos[0]+thiso.mapsize-25,thiso.mappos[1],
      
thiso.mappos[0]+thiso.mapsize+150,thiso.mappos[1]+thiso.mapsize,
      
thiso.mappos[0]-150,thiso.mappos[1]+thiso.mapsize
    
};
    
image="map.png";
    
layer=4;
    
mode=1;
    
alpha=.9;
  } 
EDIT: Oh... as far as player detection... I don't advise doing what I did. I suggest learning some trig and scripting a fully 3D polygon and learn how to 'place' something on it. It would be much more versitile.
When doing stuff like putting the player's horizontal position on the map, I use the basic formula (player.x/gmap.width)*mapwidth. What I did for this map is determine the mapwidth depending on the player's position vertically. I use a base mapwidth of the widest part of the map(in this case, the bottom) and subtract ((player.y/gmap.height)*mapheight)*(widestmapwidth-skinniestmapwidth).

If that makes sense. Either way, I don't advise doing it that way. Also, it seems the script doesn't work exactly the way I wanted. The position seems off, but I think it's because of the way Graal maps the image onto the polygon(as you can see in the screenshot, the bottom right is stretched horizontally a lot more than the top-right).

I wanted to do this script using eulerrotation... but it doesn't seem to work and I can't find anyone who knows how to use it.
Reply With Quote
  #25  
Old 08-13-2007, 01:39 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
sexy
__________________
Deep into the Darkness peering...
Reply With Quote
  #26  
Old 08-13-2007, 02:38 AM
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
How would doing what I did not skew the image properly? Its showing in 3 dimensions with a tilt so you see the image at an angle. I'm confused.
__________________
Reply With Quote
  #27  
Old 08-13-2007, 02:44 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Because all it does is alter z on a graal-relative scale. Meaning it just raises the bottom of image. It doesn't change the image like you think it would in a 3D environment. Anyways, I tested what you posted and it just made the image shrink vertically. That's why I wanted eulerrotation... so things like this would be simple.
Reply With Quote
  #28  
Old 08-13-2007, 03:01 AM
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
I still don't understand you, it changes the image exactly how I would expect in a 3D environment.
__________________
Reply With Quote
  #29  
Old 08-13-2007, 03:03 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
But the Graal Enviorment isnt truly 3d
__________________
Deep into the Darkness peering...
Reply With Quote
  #30  
Old 08-13-2007, 03:08 AM
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 Angel_Light View Post
But the Graal Enviorment isnt truly 3d
Neither is your monitor for your computer. And how does that make a difference?
__________________
Reply With Quote
  #31  
Old 08-13-2007, 03:11 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
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.
__________________
Deep into the Darkness peering...
Reply With Quote
  #32  
Old 08-13-2007, 03:27 AM
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
Heres what happened to mine when I did it using 3 dimensions.
PHP Code:
  with (findimg(200)) {
  
layer 4;
  
dimension 3;
  
polygon = {
    
50+100500,
    
800-100500,
    
800800300,
    
50800300
  
};
  
image "map.png";
  
mode 0;
  
alpha 1;
  
red 1;
  
green 1;
  
blue 1
Graal is not placing the image on the polygon correctly. Perhaps using a simpler rendering algorithm for the image so it doesn't take lots of processing time.
Attached Thumbnails
Click image for larger version

Name:	polygon.jpg
Views:	210
Size:	160.3 KB
ID:	42411  
__________________
Reply With Quote
  #33  
Old 08-13-2007, 03:31 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
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
__________________
Deep into the Darkness peering...
Reply With Quote
  #34  
Old 08-13-2007, 03:34 AM
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 Angel_Light View Post
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
Uh, duh? We're talking about using a 2 dimension versus 3 dimensional polygon to get the same effect.
__________________
Reply With Quote
  #35  
Old 08-13-2007, 03:42 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to 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.
Reply With Quote
  #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:	176
Size:	109.7 KB
ID:	42416   Click image for larger version

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

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

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

Last edited by Inverness; 08-13-2007 at 04:05 PM..
Reply With Quote
  #37  
Old 08-13-2007, 04:53 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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.

Last edited by DustyPorViva; 08-13-2007 at 05:04 PM..
Reply With Quote
  #38  
Old 08-13-2007, 05:00 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
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
__________________
Reply With Quote
  #39  
Old 08-13-2007, 05:08 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
<snip>
When you put it like that, yea you're right. I thought you were implying that the same effect couldn't be done with 3rd dimension.

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:
Originally Posted by Gerami
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
__________________
Reply With Quote
  #40  
Old 08-13-2007, 05:32 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by Inverness View Post
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.