Jump to content
  • Advertisement
Sign in to follow this  
maximspb

OpenGL Visualization of Corner-point grids

This topic is 2115 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

Hi guys

Sorry for a stupid question, first of all. I would like to visualize a "corner-point grids" (http://en.wikipedia.org/wiki/Corner-point_grid) model using OpenGL only, but looks like it's not so obvious as I thought before :) .
Typical model looks like this :


nexus3.jpg?SRC=NexusReservoirSimulationSoftwareImage3

Fig-17.gif

So, am I right in thinking, that OpenGL doesn't provide "hidden surface removal" solutions and I have to implement all that stuff on CPU (I mean all that terible words : BSP trees, z-buffers, painter's algoritms etc) instead of using my GPU?

Or may be someone can give me advice how to visualize such models, that would be really cool :)

Thanks,
Maxim

Share this post


Link to post
Share on other sites
Advertisement
I think depth buffers (what you call z-buffers) are available in OpenGL since version 1.0. You can also enable backface culling to automatically discard faces which are not oriented toward the camera. If these operations aren't enough for your application, you still have to implement other hidden surface removal solutions by yourself (not necessarily on the CPU though).

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!