Thursday, July 16, 2009

my fair share of SPRITES....rendering my head off :)




whoever said
"drinking sprite wont make you cool....but it will cool you down"
definitely never had a shot with CG sprites!!
(yea i know another lame joke....but as said before....sprites cooled my head to ice now..haha)

No I have not gone mad..i have been working on some sprite shaders....
So I hit the Help docs for some redemption..
things turned out pretty good for POPs..there was a sprite node and had info in the help cards.
So I say what about the Particle SOPs??
Well I definitely tried few things.(..weird ones...I'll admit that) but none really worked out..

Well as it turns out..the solution was pretty simple!
I knew about creating the 'spritescale' attributes etc but I did not know where and how do I tell
Mantra to force sprites in place of particles and how do I apply my material to it.
also I had a hard time realising that the 'SIZE' in the AttribCreate node is just to indicate whether the attribute is a single float or Float2 or Float3 etc.
Thanks to Anim(@odForce) I was able to get things right :D

(I have included the pictures to better convey my point)

here is an image from my quick test render from a simulated Exploding mass of debris smoke and rocks for which I used this shader.


No comments: