On 05/08/2014 at 14:50, xxxxxxxx wrote:
I used a GeDynamicArray Rui.
A Vector is faster. But I prefer to use GeDynamicArray whenever I can so Mac uses can also use my code too. I try to only use Vectors when I need top speed from my arrays. And in this case I don't need a very fast array.
Most R13 C++ code works in R14 and R15. Which is why I'm still coding in R13.
I replaced this in Remo's code
With this R13 compatible code
Note: Don't forget to put #include "ge_dynamicarray.h" at the top of the code.
To print the color results I change Remo's print code to this
//Print the results
for(LONG i=0; i<pcnt; ++i)
GePrint("VertID:" +LongToString(i) + " R:" + RealToString(colors[i].col.x) + " G:" + RealToString(colors[i].col.y) + " B:" + RealToString(colors[i].col.z));
It works fine for UWV mode.
But I have no idea how to make the new ProjectPoint() stuff work though.
I have no clue what Remo is doing or talking about with that code.