• Advertisement
Sign in to follow this  

How can i create a trianglestrip from a triangle list in c#

This topic is 1763 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 i am working on c# project, i need to create a file for a game that reads faces of a mesh from a trianglestrip, the problem is that i have the mesh  face´s data into triangle list and i need to convert in c# this triangle list to a triangle strip. So i would like to know if there is a free api for c# or something similar that allows me to do what i need

Share this post


Link to post
Share on other sites
Advertisement

The process you are looking for is called "stripification". There are well known algorithms and libraries for this in c and c++ but not sure about c#. You could attempt to implement it yourself using one of these algorithms http://www.codercorner.com/Strips.htm. Good luck.

This link sends me error, Is it right?

Share this post


Link to post
Share on other sites

i was lloking at the code here  http://www.codercorner.com/Strips.htm as i don´t know c++ i think i can´t convert that code to c#.

I was thinking about another idea, if i had that code compiled into a dll could i use dll import from c# to use some of its functions?

if it was possible i am going to have the problem that the souce code is written in c++ 6 and i can´t open it in visual c++ 2010

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement