best way to visualize a heightfield in OpenGL

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 01 January 2004   #1
best way to visualize a heightfield in OpenGL

hello,

what would be the best way to draw a heightfield with OpenGl?
normally you have the data in a two-dimensional array.

i tried it with GL_QUADS and GL_TRIANGLE_STRIPS but the outcome is a little strange as you can see in this screenshot:



the problem is that there is a certain orientation of the polygons which shouldnt be there.

thanks!
 
Old 01 January 2004   #2
It looks to me like your tesselation is not fine enough. Also, when using quads, make sure they're planar.
 
Old 01 January 2004   #3
Looks to me like the field function ...

Looks to me like the field function ...

Is not dynamic enough over that range and also like the other respondent said ... not enough resolution.
 
Old 01 January 2004   #4
no
meanwhile i tried different approches.
now im erndering it linewise with single triangels. this works fine and i get a smooth heightfield.

thanks anyways.
 
Old 01 January 2006   #5
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:10 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.