Perhaps also someone here might have clue? From Bullit quoting 'dreiyip' from Vimeo on Si-Community: The author is asking some questions, so maybe someone can give him an hand: Quote:
Hi
all, i'm writing a C++ plugin for Softimage, the test is using a
division 100x100x100 cube(About 60000 faces), adding a smooth
operator and turbulize mesh operator under "Animation" node.
The default Softimage smooth operator and ICEnode are not fast enough as u can seen in the video. And right now i'm writing a custom smooth node using GPU, but the bottleneck is i have to read the neighbors vertics for each vertex using a for loop in in the update Callback, and its actually reduce the framerate from 30 to 13. I'm new to write a plugin, could someone please tell me how to pass a array to XSI Callback? i have tried getuserdata() but no luck. i would really appreciate all the feedback. i also find out that ICE smooth is just a simple Laplacian smoothing, but the default Smooth operator is somehow different, is there anyone know the algorithm? thx https://vimeo.com/104622339 |