PDA

View Full Version : how to create terrain surface from height map??



sudhanshu
04-09-2009, 09:53 PM
i have a task to make a very smoothened terrain surface from a height map.
bezier surfaces seems to make it possible but thers a limitation on order in glMap2f of 30..
how can i make a surface which have 1200 *1200 points

is it even possible with beziers or shall i work with connected triangle strips???

p.s. - performance is also an issue in the project

zeoverlord
04-10-2009, 04:26 AM
yes, tristrips is the way to go, just generate VBO's full of tristrips and you will get the most optimum performance.
You can also make it a bit more optimized by generating it at different lods.