Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Real Time Vertex Manipulation (With Shader)

Author
Message
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 4th Jul 2005 07:21
The vertex manipulation commands are surprisingly easy to use, so I made a short demo of mesh deformation (sine waving a sphere). I also slapped on one of NinjaMatt's shaders to make it look pretty . I put in some code to detect shader capabilities (>=1.1), so it should work with old graphics cards.



Code and media attached...

More tea Vicar?

Attachments

Login to view attachments
Cloggy
20
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 4th Jul 2005 08:55
Hamish,

Excellent work. Looks fabulous and runs real smooth here (about 180fps).

Cheers,

Cloggy
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jul 2005 15:36
thats cool

PETA - People for the Eating of Tasty Animals
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Jul 2005 22:18
Nice

BatVink
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 5th Jul 2005 23:12
cool indeed. 45 to 71 fps here.

Login to post a reply

Server time is: 2024-11-23 11:10:39
Your offset time is: 2024-11-23 11:10:39