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

Started by
4 comments, last by jor1980 11 years ago

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

Advertisement

Maybe someone's done a port of NVidia's NVTriStrip library? http://www.nvidia.com/object/nvtristrip_library.html

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.

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?

The link includes an extrea '.' after 'htm' remove it and it's fine.

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

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

This topic is closed to new replies.

Advertisement