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
How can i create a trianglestrip from a triangle list in c#
#2 Members - Reputation: 1518
Posted 16 March 2013 - 11:59 AM
Maybe someone's done a port of NVidia's NVTriStrip library? http://www.nvidia.com/object/nvtristrip_library.html
#3 Members - Reputation: 460
Posted 16 March 2013 - 12:03 PM
#4 Members - Reputation: 124
Posted 16 March 2013 - 01:08 PM
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?
#5 Members - Reputation: 1349
Posted 16 March 2013 - 06:15 PM
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!
#6 Members - Reputation: 124
Posted 22 March 2013 - 06:15 AM
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






