Jump to content
  • Advertisement
Sign in to follow this  
gauntalus

Union of two surfaces with GTS library

This topic is 4821 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 was wondering if someone could breifly describe the procedure of taking the union of two surfaces using the GTS library. At this point I've constructed two surfaces, and I just need to figure out how to take the union, the documentation doesn't seem to be very clear about how to do this. So I repeat, for each cube surface that I constructed, I did so by: 1. Adding all of the vertices of the cube as gts_vertex_class()'s. 2. Creating all of the gts_edge_class()es for the cube. 3. Adding each of the 16 faces of the cube as gts_face_class()'s. But I don't know where to go from here. All I need to figure out how to do is take the union of two gts_surface_class()es. (and eventually figure out how to find the difference). Please help if you can, a link to the library is as follows: http://gts.sourceforge.net Click GTS Refereance on the left hand side.

Share this post


Link to post
Share on other sites
Advertisement
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!