vertex pixel shader?

Dx Shaders, Vray Materials, LW materias,Textures and more..
User avatar
MikomDude
Captain
Posts: 1786
Joined: 04 Oct 2010, 11:12
Type the number ten into the box: 0
Location: Verona, Italy
Contact:

Re: vertex pixel shader?

Post 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 :)

clintonman
Captain
Posts: 3556
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: vertex pixel shader?

Post by clintonman »

pointVisCloudTest.jpg
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:
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2991
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: vertex pixel shader?

Post by trueBlue »

Awesome! I was hoping you would be taking a peak. Thanks!

clintonman
Captain
Posts: 3556
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: vertex pixel shader?

Post by clintonman »



video took 3 minutes to render with 788225 points.

It's done. I'll write it up this weekend.

http://clintons3d.com/plugins/truespace ... index.html" onclick="window.open(this.href);return false;
Clinton Reese

http://clintons3d.com

User avatar
W!ZARD
Petty Officer First Class
Posts: 42
Joined: 23 May 2009, 08:31
Type the number ten into the box: 0
Location: Otautahi, Aotearoa
Contact:

Re: vertex pixel shader?

Post by W!ZARD »

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.

https://www.youtube.com/watch?v=S57-3yO8afo" onclick="window.open(this.href);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!
Image WHERE MAGICK HAPPENS!!

clintonman
Captain
Posts: 3556
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: vertex pixel shader?

Post 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.
Clinton Reese

http://clintons3d.com

Post Reply