Page 2 of 2

Re: vertex pixel shader?

Posted: 14 Apr 2014, 18:33
by MikomDude
Yeah it was fun to play around with. Who knows, maybe at some point I'll even find a practical application for it in one of my projects :)

Re: vertex pixel shader?

Posted: 16 Apr 2014, 05:12
by clintonman
One of these things is not like the other...

The selected one was made using an rsx plugin which means that it's fast :)
It's based on the height field sample in the sdk and creates a full mesh so the faces can be made visible. The code was a little strange. It reads the image color but does not read the alpha value. The colored points need the alpha value and on top of that the color is reversed from the bitmap. bitmap is rgb and the color points are bgr.
I plan to change the color handling so it sees the alpha and add options to choose what controls the displacement. Now it's the average of the color channels. I'd like to see alpha, r, g, b and brightness options added to that.

Coming to trueSpace soon.. :bananatyping:

Re: vertex pixel shader?

Posted: 16 Apr 2014, 11:37
by trueBlue
Awesome! I was hoping you would be taking a peak. Thanks!

Re: vertex pixel shader?

Posted: 18 Apr 2014, 03:58
by clintonman

video took 3 minutes to render with 788225 points.

It's done. I'll write it up this weekend. ... index.html" onclick=";return false;

Re: vertex pixel shader?

Posted: 18 Apr 2014, 08:35
Excellent! That's brilliant Clinton. I managed to achieve a similar result by animating the zMult attribute but I had to manually update the pixel cloud for every frame. Guess I'm not as clever as you!!

Here's a rough version of the loge sequence I've been playing with. The pixel cloud section runs for 4 seconds from 00:12.. The animated text is all trueSpace and the smoke and sparkles are HitFilm 2 Ultimate." onclick=";return false;

I'm pretty pleased with the results and want to say thanks again for all the help and input - you guys are great!

Re: vertex pixel shader?

Posted: 19 Apr 2014, 02:49
by clintonman
I wrote up the details on the website for what each input does.

The video was created by assigning a sample image from windows into the bitmap and height field. Red was set as the controlling color so the blue would stay behind. During the animation, as the number of points/segments was increased the bitmap image was fadded out and then the multiplier was increased from -0.25 to 5 to create the explosion.