Advertisement

How should I model this?

Started by June 02, 2003 03:17 PM
13 comments, last by bzroom 21 years, 5 months ago
I''m not sure where to put this so im just gona throw it here. I''m making a multiplayer driving game for me and my fiends, it will feature our own cars and will be set in our neighborhood. We always hoped they would close the streets for a day so we could race but thats never going to happen, so this is the next best thing. Today i drove around and took picture of the neighborhood, a map, and a few cars. I was wondering what would be the best technique to model the terrain. First i was thinking heightmap and a huge texture. But that texture would be huge, our neighborhood is a mile square. Also there would be not enough detail where it needs to be, around the streets. Then i was thinking just model it raw but that would be pritty time consumeing. Last i was thinking maybe a heightmap + raw roads. But then i figured there would be artifacts where the heightmap droped off next to the road. Any suggestions on how i should do this? Here are some pictures, please these are alot of pictures, once you get the idea stop loading. http://68.53.233.74/arlington.html I know this is a cross post. I requested the other to be closed.
on a side note: DIE BITMAPS DIE!

I would go for the 8 quad house on that square block roads personally, but then i can''t draw/model...
Advertisement
Thank you for your very constructive response. Oh man, life sux then you make your own batch resolution reducer in vb and it saves them in .bmp instead of .jpg so instead of increasing your transfer speed u slow it down.

[edited by - honayboyz on June 2, 2003 4:50:16 PM]
Scan in a map of your neighborhood, and trace the streets. Now you have a base for the map, and you have small plots where you can make the houses and other stuff in, so you won''t end up with things that don''t perfectly fit etc. if it doesn''t fit, you only have to remake a small part.

My Site
I know i have the map, im talking about strictly the terrain. What method of creating and rendering the terrain (yards, street, golf course, ponds) should i use?


edit: my map: http://68.53.233.74/images/arlington/6.jpg

[edited by - honayboyz on June 2, 2003 5:12:07 PM]
I like the way Battlefield 1942 does it.

You can have a huge texture of the landscape. Your program will then break it up into smaller sections to render.


You also have a height map, (I think theirs is 256x256), you would have your game "stretch" that over your texture so your terrain would be elevated.

Also you could have a map which held friction data. Twhite areas are like ice and black areas are very sticky. This way you could have the vehicle react properly whether it is over a road or grass.

Lastly a damage map, with shades to determine potholes, etc.


That''s my idea, but I am sure someone will top me here (as they always do) and then I can learn as well
Advertisement
Yea, I was thinking about a heightmap. When you do a heightmap you create your terrain on a grid, the x,y''s off all the verticies are lined up in a grid. This is fine for terrain where the detail is almost the same acrost the hole area. In a game where the road meets the terrain, the terrain is goin to have vertices ever 3 scale feet or so, the road is going to need them much closer together for curbs and smooth corners.

I''m thinking about making the whole thing in 3D studio. Make a road cross section and then extrude it along the path (i forget what this is exactly called). This will be great for roads, but then i will have a hard time connecting the ground to the roads. Maybe if i make my road shaped like a large U. I can sink it into the ground and boolean subtract that U from the ground. Later delete the large, extra, verticle parts of the U from the scene will leave the road in the ground.

I don''t know, i dont'' have Max at this house. Any other suggestions?
Here''s my progress on my "world".

In the top left i have the map being splined over. In the bottom right i have the lofts of the splines, there are only 3 splines and 2 are shown lofted, the 3rd has like 20 un connected ends so i need to connect those somehow to allow it to be lofted as well.


http://honayboyz.tripod.com/work.jpg
The reason that I didn''t suggest a height map was that houses (vertical things with overhangs) tend not to come out very well as generic heightmaps (ie. fixed grid ones).

NB: a 1600x1200 jpeg at a compression ratio of about 6 (near bitmap) comes to about 100k, so I''d do it that way...
What engine are you going to use to run all of this? Are you going to write an engine? If you are, I think you''re getting a little ahead of yourself.

If you''re using an engine like say, torque, you would make the terrain using height maps, and make the height map accommodate the road ''objects'' so that nothing clips or overlaps. To texture the terrain you would simply paint the height map surface one of 2 ways, either by literally using something like the torque editor to ''paint'' the terrain, you could use a terrain color map, where the engine picks the colors based on the height of the terrain.

The road(s) would be modelled in something like worldcraft, quark or 3dsmax, and you would simply texture the roads using UUV maps, or a brush. (Depending on the program you use.)

It would be a good idea if you used frustrum culling, octrees, etc, so that your entire map isn''t rendered. Of course, if you didn''t know that, you really shouldn''t be trying to write a multiplayer game.


It honestly depends on what your engine is capable of.


btw, I think what you want to do is weld the vertices on the splines together.


This topic is closed to new replies.

Advertisement