Notifications
Clear all

[Closed] Fast Ray casting?

Out of curiosity, what do the experts think? Would it be worth building some general-purpose data structures, for use in this kind of thing, in .net? Or would the losses of efficiency to generality, and all the marshalling of data in the round-trips between MXS and .net defeat the purpose, probably?

1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

I suspect the data shuffling would slow it down.
In fact, we added the ability to pass a MAXScript array to our function and get an array of intersections back, and it was WAY slower than shooting single rays in a loop. And this was with no DotNet involvement.
But I could be wrong.

Page 2 / 2