• Welcome to Dark Bit Factory & Gravity.
 

Shaders and Supershapes

Started by Raizor, October 21, 2011

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Raizor

I've been playing around with Supershapes (http://paulbourke.net/geometry/supershape3d/) this week.

I know they've been done to death a bit, but I thought it would be interesting to play with them and maybe come up with something new.

The code is still a work in progress, but I've got the shapes generating nicely (albeit with it with some weird inverted normals at one pole) and a phong lighting shader running over the top. Going to try and get some god rays and other stuff to make it more interesting and maybe try and make a 4k intro using it.

Loving GLSL so far :)



raizor

Challenge Trophies Won:

hellfire

Nice!
With some slick sync it can be enough for a whole demo (proof)...
Challenge Trophies Won:

LittleWhite

The demoscene will never die, never!

Raizor

Thanks guys.

Hellfire, that demo is really nice! They certainly got their money's worth with that effect :)
raizor

Challenge Trophies Won:

jace_stknights

Very nice! Hope to be able to code something like that soon!
Challenge Trophies Won:

Rbz

Nice work Raizor!

Is it done all in pixel shader or did you use polygons?

Quote from: Raizor on October 21, 2011
... and maybe try and make a 4k intro using it.
...
It seems that someone else already did it here and here ;), ofcourse doesn't mean you shouldn't do your own.
Challenge Trophies Won:

Raizor

#6
Thanks Jace and rbz.

Rbz, it's polygon based, just shaded using a pixel shader. This looks like another supershape 4k too. They're coming outta the goddamn walls! :)

I've seen some of your stuff on Pouet lately, nice work! They're really cool, especially the 1k stuff.

I'm trying to get my head around SSAO atm, so much new stuff to learn :P
raizor

Challenge Trophies Won:

Shockwave

I really love the brushed metal look of the object Raizor, it truely looks great!
Shockwave ^ Codigos
Challenge Trophies Won:

benny!

Uh, definately looking good. Keep us informed about your progress. Like it a lot.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

neriakX

If only I could do something half cool than this ... respect! looking great.
cheers,
neriakX


Challenge Trophies Won:

relsoft

Awesome stuff!!!

Looking forward to the finished prod. ;*)
Challenge Trophies Won:

rain_storm

This is very interesting stuff. I am fascinated by supershapes, such a powerful tool to know how to use.

Challenge Trophies Won:

ferris

Nice one! Supershapes are really fun to play with. You're right that they've been used to death in the scene by now (especially in 4k's) but they're still damn nice :D
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Stonemonkey

Something went bang :(

Maybe something to do with shaders on my laptop.

Raizor

Quote from: Stonemonkey on January 31, 2012
Something went bang :(

Maybe something to do with shaders on my laptop.

More than likely it's my crappy shader code. I'll take another look at it and upload a fix if I can see anything wrong.
raizor

Challenge Trophies Won:

Stonemonkey

Quote from: Raizor on January 31, 2012
Quote from: Stonemonkey on January 31, 2012
Something went bang :(

Maybe something to do with shaders on my laptop.

More than likely it's my crappy shader code. I'll take another look at it and upload a fix if I can see anything wrong.

Don't be too sure, it's only a little netbook thing and looking at what's in it it's an 'Intel graphics media accelerator' whatever that is, dxdiag reports directx 9.0c

Raizor

Ah, it's probably the netbook then ;)
raizor

Challenge Trophies Won:

Kirl

I remember seeing this thread, but not the morphing shape, must've been in a hurry.

Cool stuff, how many poly's are on display there? A visible wireframe might work well too!  :kewl:
www.kirl.nl
Challenge Trophies Won:

Raizor

Quote from: Kirl on January 31, 2012
I remember seeing this thread, but not the morphing shape, must've been in a hurry.

Cool stuff, how many poly's are on display there? A visible wireframe might work well too!  :kewl:

About 20,000 triangles atm. I'm buffering the data to the GPU each frame, so it gets laggy if I do more than that. Probably time to spend a hour speeding this thing up a bit. I have some mesh distortion stuff I want to try so will do both at the same time. So many projects, so few finished projects ;)

Will give the wireframe a try :)
raizor

Challenge Trophies Won: