vertex pixel shader?
- MikomDude
- Captain
- Posts: 1928
- Joined: 04 Oct 2010, 11:12
- Type the number ten into the box: 0
- Location: The Hague, Netherlands
- Contact:
Re: vertex pixel shader?
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: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: vertex pixel shader?
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..
Re: vertex pixel shader?
Awesome! I was hoping you would be taking a peak. Thanks!
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: vertex pixel shader?
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;
- 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?
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!
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!
- clintonman
- Captain
- Posts: 5429
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: vertex pixel shader?
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.
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.