Jump to content
  • Advertisement

Archived

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

Facehat

Crazy Idea?

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

I am working on programming something like that. Instead of voxels to render the volume, I render the surface. I record the heights of the last line and fill between the old line and new line with polygons.

I have a neat working demo if you would like to see it, email me.

[This message has been edited by LeeIsMe (edited September 06, 1999).]

Share this post


Link to post
Share on other sites
Advertisement
writing directly to the zbuffer isn't possible with the current 3d-accel-cards. if it works with d3d it's software emulated.

Share this post


Link to post
Share on other sites
Ok all, I've been thinking about writing a 3D voxel engine. The thing thats been holding me back though, is that I also wanted to mix it with Direct3D so that I could render polygons for the models, and use voxels for the landscape. Anyway, I got to thinking about a couple of ways to do it, so here are my ideas:

1) render voxels as you normally would (as lines), but also write the appropriate values into the hardwares Z-Buffer. Now you can render polygons as you normally would, and they should render correctly. The problem here is that im not sure you can write directly into the hardwares z-buffer. Anyone know if you can? Also, it seems like it would be slow.

2) Render voxels as quads (triangle strips, to be more exact). This wouldn't take much fussing around, and would probably be the fastest solution.

Thoughts? Ideas?

--TheGoop

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The only way to write into the z-buffer is to send polygons to the card. That would leave you with option 2 automatically.

Greetz,

---------
Eddy Akman
E-mersion Project
www.connectii.net/emersion

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!