Archived

This topic is now archived and is closed to further replies.

rhagan

3d landscape - sense of scale?

Recommended Posts

Greetings once again, I''ve been working on a 3d landscape program and it has gone great so far. Now what I''m wondering about is scale. Right now, I can load in a 1024x1024 height map, but it seems really small. I was wondering if I could get some pointers on how to make the landscape appear bigger? I''ve tried simply using glScale(), but that doesn''t seem to really do the trick. Maybe I just haven''t hit the right numbers yet? Any advice? Thanks! --Ryan

Share this post


Link to post
Share on other sites
Using glScale() is probably not a good idea, as it will affect your lighting, and also make it hard for you to use the landscape data for other things like physics/collision detection (as it will have to scale the landscape manually anyway for the calculations to look correct).

I would recommend just multiplying the X and Z components (assuming Y is up) by some magic scale constant as you create the vertex data from your heightmap. Note: you could also apply this technique to the Y axis to create a greater scale/difference in height values.

Finding the magic number is just a matter of taste I guess
These scale constants could conceivably be different for each map (and even each axis), so it would be wise to store them somewhere along with your map and read them in at runtime.

Share this post


Link to post
Share on other sites
The wise use of distance haze (fog), a great sky, and putting objects with known size onto your terrain (trees, humans, houses) will do incredible things to your feeling of scale. It gives the brain some hints to interprete scale.

Share this post


Link to post
Share on other sites
> Detail textures are a must.

Absolutely. And good detailed shadows/lighting also helps very much. And add clouds in the sky, they will directly increase your sensation of scale. At night, add stars, but not cheesy textured skybox stars, real GL_POINT ones. Again, all those details give the brain additional scale hints.

Share this post


Link to post
Share on other sites
I did a minimal mesh terrain in my PhysicZ app, on just a 30x30 grid scaled to 1 km. square, it took me 2 minutes to walk across it.

What about your system is small? The look, your movement? how it looks in the distance?

zin

zintel.com - 3d graphics & more or less

Share this post


Link to post
Share on other sites