Jump to content
  • Advertisement
Sign in to follow this  
blue-ice2002

round hill in direct3d

This topic is 4682 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

HELLO how can i make a round hill like this in direct3d? i mean using orthographic projection,with using x and y is there an algorithm to manipulate the vertices so that they come up with something smoother like this? please help HILL

Share this post


Link to post
Share on other sites
Advertisement
Direct3D really don't care about that.

Such things are done using simple algorithms to smooth out the value of each vertex.

Which in the simplest form is, take the height of each adjacent "heights", and add the center... then divide by 9... and put it in the center (the center is the "cursor")... doing this for every vertex will smooth everything out.

But how does this fit into isometric game programming?

Share this post


Link to post
Share on other sites
Quote:
Original post by blue-ice2002
how can i make a round hill like this in direct3d?

Probably not the answer you want, but you do it yourself - Direct3D is an API, for the most part it just does what you tell it to do [smile].

Something closer to an engine (better yet, a terrain engine) will help you more.

Quote:
Original post by blue-ice2002
is there an algorithm to manipulate the vertices so that they come up with something smoother like this?

There are *lots* of algorithms - such as the one already suggested. Other common ones involve using parametric surfaces/functions.

You might get better answers by posting in the DirectX forum though...

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!