• Welcome to Dark Bit Factory & Gravity.
 

3d chladni volumes as textures

Started by taj, October 03, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

taj

Over here Paul Bourke talks about 2d chladni fields which are those amazing patterns you get when you put sand on a metal plate and then vibrate it.
http://local.wasp.uwa.edu.au/~pbourke/modelling/chladni/

He does some work in 3d too but its not very intuitive when you see the shapes.

This afternoon I guessed it might make a cool demo to animate one in 3d texture. I wrote a GLSL shader to do a 3d chladni field and then mapped that to a sphere and animated it in the simplest way possible. I think the result, although a bit esoteric is very cool indeed. This will definitely be appearing in some form in a 4k for breakpoint. The file isnt size compressed, the whole effect might be 400 bytes or so.

So bottom line is, I believe these chladni fields could make awesome textures and geometry generators.

OOOps of course you need shaders to run this - model 2.0 unfortunately. So I'll upload an image in a minute too.

Challenge Trophies Won:

taj

A couple of small images for those ont able to run the code.

Challenge Trophies Won:

zparticle

That's a pretty cool idea, wish I could run the code.

ninogenio

looks very cool,

im going to have to find a way of running shader model 2.0 programs.
Challenge Trophies Won:

taj

Challenge Trophies Won:

Shockwave

Damn nice textures, good implimentation, that's just going from the shots you posted. I bet they look even better in motion.
Shockwave ^ Codigos
Challenge Trophies Won:

Clyde

Can run the exe fine. Looks really cool running, reminds me of a kind of plasma-ish effect.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Shockwave

Shockwave ^ Codigos
Challenge Trophies Won:

zawran

Looks rather cool in motion. Great work.

taj

Thanks all fpr the comments, makes posting worth while.

Clyde, I think you are right. The equations seem to be very similar to plasma ones in many ways. In essence its just the sum of cosines (or sines) in 3d. That didnt occur to me until after I posted. The cool thing is doing it so fast in real time thanks to shaders and cutting holes in the sphere but that said, I'm convinced its just plasma!

Challenge Trophies Won:

benny!

@taj:

Screenies look outstanding. Time to buy better hardware I think ! N1
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

relsoft

Awesome dude!!!!

Too bad my card does not support shader 2.0
Challenge Trophies Won:

taj

Thanks again guys! If anyone gets interested in shaders and wants the code, anyone can ask of course but my feeling is that very few people here would use the code anyway. However, you are welcome if you want it, just ask.

Shockwave, *should* you be able to run this?...can you run any of the matrix trilogy? if so I'd like to make a few changes to the windowing code and try again with you. I'm worried it doesnt work for you. Also do you have nvdia or ati? What model? Maybe there are some problems with shader compatability. Sigh, things are getting complicated in the hardware world...I'd like to get it sorted so I know if my shader framework is solid or not.
Challenge Trophies Won:

benny!

[OT]
Anyone can suggest a good / modern gfx-card !? Shouldnt be too expensive
[/OT] sorry for hijacking
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

taj

No problem benny...maybe an admin will move the subject somewhere.

When cost is an issue, Ati is, I believe,the better price/performance choice. Thats what I heard and what I saw when I went shopping recently.

The problem is AGP cards are much more expensive than PCI-E...are you AGP or PCI-E? I recently tried to buy a graphics card with PS3.0, DX 9 support and fonud I could not afford an AGP version which was 200 pounds. However that was a 3 months ago and things change. My current graphics card which, whilst not great quality and somewhat unstable, has good shader performance is an Ati 1600 PRO which comes in various types from around 65 pounds for pci-E.

http://www.overclockers.co.uk/acatalog/X1600_Series.html

Its not super fast but it does everything you need. I have found a few issues with some shaders which fall back to software rendering but they are rare. I do not play games so checking on websites about modern game performance on it might be adviseable.

http://www.extremetech.com/article2/0,1697,1945665,00.asp

This concludes that if you play doom3 use Nvidias cards but overall price performance is better with x1600...BTW this article compares 17 graphics cards from 2006, the prices are a bit "old" but conclusions should still be valid. I HATE ati cards but Im on a budget too.



Hope this helps.
Challenge Trophies Won:

benny!

thanks for your anwers m8. I am definatley about to update some of my hardware compenents.
i will browse around a bit and checking out some hardware sites...

(damn ... i want to see that baby in motion  ;) )
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Jim

I'm stuck with AGP at home too.  I bought a Radeon X1600 AGP which is the fastest AGP card ATI make last time I looked.  It cost me around AUD160, which is UKP65 or so.  It can play any of the demos here and all the latest games easily, even though it's a country mile behind the top of the range PCIe stuff.  Watch out though - these new cards are NOISY!  I had to go and spend 15quid on a Zalman whisper quiet fan to stop it keeping me awake at night (2 rooms away!).

Waiting for the Core2Quad to come out next quarter to upgrade my PC I think.  I haven't had a new one for 3 years now - it just shows how the technology went stagnant for a couple of years while Intel dropped the ball.

Jim
Challenge Trophies Won:

ninogenio

what do you guys make of these new physics accellerators there bolting to mobos?
Challenge Trophies Won:

Rbz

@Taj: works fine here, that's a nice idea for texture/effect, looking forward to see your winner 4k, welldone!

P4 2.8 - 512MB
Geforce 6600GT - 128Mb
Challenge Trophies Won:

taj

Thanks rbraz! Don't hold your breath, I'll aim for breakpoint so its 6 months yet...
Challenge Trophies Won: