Thread: Project Mode7
View Single Post
  #22  
Old 05-15-2012, 05:28 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
Quote:
Originally Posted by Hezzy002 View Post
Why don't you just flip the verts along the center of the screen and then translate them down? Also, I'm not sure how you're able to increase performance with the technique you discussed, unless it enables you to render in horizontal strips? But then how would you handle rotation?

It also looks like you have the same problem that everyone else has; if you were to change the viewing angle/view distance to properly look like a SNES racer's horizon, you'll find either horrific artifacts or if you increase the resolution to remedy that, really poor performance.
I sorted out the distance issue, and here it is running at 20fps(a few frames lost while recording):

But I have yet to try it in a real "racing" level and I need to add gmap support before I can start tweaking FOV and how far to render out. A single level actually is pretty damn small for mode7.

As for how I'm accomplishing it, imagine I'm taking the level, rendering a flat image of it and slapping it on a single polygon. Now imagine I'm slicing that polygon up into multiple segments. Not visually, but mechanically. It's the same technique I was using from the start except now instead of grabbing level data in realtime I'm working off of a prerendered image of the level generated from the start. Then instead of one polygon per tile, I can render as many polygons as I desire, and just cropping the image into parts. I can lower or raise the quality of the plane with a single variable, so I suppose for those with more powerful machines they could crank even better quality. In the video I rendered I was processing 20x20 segments in the plane. Lowering it more and more 'causes all those seam issues with texture normals that Graal is so well known for. The segments help alleviate that issue.

Quote:
Originally Posted by Fulg0reSama View Post
I'll see if I can get a friend to help ya on that math.
That'd be cool. I got it figured out, but as you can see in the video I'm still having the same issue with the sort of barrel effect. I don't like it and would love to have the plane render straighter.

Last edited by DustyPorViva; 05-15-2012 at 05:41 PM..
Reply With Quote