Jump to content
  • Advertisement

Archived

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

jstark

OpenGL DIRECTX/OPENGL & Volume Drilling/Sculpting

This topic is 5270 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, i am currently working on a project of volume drilling/sculpting, that is -> we have a volume (a 3D array of voxels), and when the user clicks on a part of it, he can remove/add material or smooth the volume at the click point. Because we require the application to be speedy, and because of a poor initial implementation (no DIRECTX or OPENGL were used), i was wondering if DIRECTX or OPENGL could be used easily for this kind of application. Can u help me ? Thanx

Share this post


Link to post
Share on other sites
Advertisement
It depens on what you mean by easily, and on the infrastucture of the code.

For this type of project I would actually suggest OpenGL because it offers immediate mode. It might be much simpler to integrate into poorly written existing code.

DirectX is very nice, but I find you have to have good base code, and good organization, mainly due to weaker immediate mode support.

With openGL it should be rather simple to replace your old voxel rendere, with a call to OpenGL or GLUT. (which has a solid cube primitive that is easy to render).

This is a very broad question, so I am just skimming over the answers. You''d have to ask some more specific questions to get better information.

Share this post


Link to post
Share on other sites
Let''s say that we have a cube of MxNxK Voxels. Let''s also say, that we have a spherical drilling tool of radious R. We want to remove material from the cube when tha mouse clicks on a point, equal to half the sphere of our tool. Or, we would like to add some material to the cube at the point clicked. Can this be done "easily" with OPENGL/DIRECTX routines ?

Thank you

Share this post


Link to post
Share on other sites

  • 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!