Closed Thread Icon

Topic awaiting preservation: Real-time raytracing: winamp 5 visualization preset (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=23619" title="Pages that link to Topic awaiting preservation: Real-time raytracing: winamp 5 visualization preset (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Real-time raytracing: winamp 5 visualization preset <span class="small">(Page 1 of 1)</span>\

 
Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-11-2004 03:34

Made by me!



If you use Winamp 5, drop http://www.slimeland.com/misc/raytraced.avs into a subdirectory of Winamp/Plugins/avs, launch the visualizer in winamp via Right click -> visualization -> start/stop plugin, and then right click in the visualization window and select the preset in the subfolder you put it in.

I just got around to downloading Winamp 5 I'm really impressed with the capabilities that the AVS has now. Not to mention the player itself =)


 

outcydr
Paranoid (IV) Inmate

From: out there
Insane since: Oct 2001

posted posted 10-11-2004 03:54

mahjqa
Maniac (V) Mad Scientist

From: The Demented Side of the Fence
Insane since: Aug 2000

posted posted 10-11-2004 11:29

How does it perform in the memory-hogging field? I'm still using ver2 simply because it works, and I don't need any extra's.

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 10-11-2004 18:44

well... it'ns not that bad. My winamp 5 consumes 9.5 megs right now.
Turning on the (nice) slime visualisation increases it by 2 megs.

uhh... I like that ball...

mas
Maniac (V) Mad Librarian

From: the space between us
Insane since: Sep 2002

posted posted 10-11-2004 18:57

man thats sweet. maybe you could add some ozone style to it? like adding a font which says "ozoneasylum" or use the oa colorsheme. just some ideas.
however, excellent work! love it

B | T | E | P | L

InI
Maniac (V) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-11-2004 20:38

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 10-12-2004 09:29

amazing!
so how did you get the raytracing code in there?
all by hand or did you use that winamp editor?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-12-2004 17:42
quote:
How does it perform in the memory-hogging field?



I have a gig of memory so I rarely worry about that. =) But Windows reports that my full version of winamp is taking 18.2 MB. Er, then I started a song and it jumped to 20 MB and then down to 11 MB. So, yeah, it's in the teens. =)

quote:
could use a reflective cylinder or sphere, around the scene, which would reflect and multiply the central sphere



A possibility, but probably not worth the work. Mostly I'm worried about recursion, since I'm not actually using functions here. Iteration isn't easy to do with this, either. Just the ray-sphere intersection is already a bit of a hassle. Control structures are difficult to work with in the AVS language.

quote:
adaptive sub sampling



There actually isn't any adaptive sampling; I tell the AVS a grid size to use (I used 70 x 70) and it does my raytracing algorithm for each spot on the grid, and interpolates between the values. You can reduce the grid size in the AVS editor and see how strange the sphere's edges become.

quote:
so how did you get the raytracing code in there?
all by hand or did you use that winamp editor?



I don't think there's any way to do it without the AVS editor. But there was definitely some coding involved.

The idea is to render the textures to buffers, and then use dynamic movement transformations to sample from those textures depending on screen coordinates. The part I had to write was the raytracing algorithm to determine, from an (x,y) screen coordinate, what (u,v) texture coordinate should be drawn.

Then I had to do that twice, once for the sky texture and once for the plane texture.


 

Black Hat
Bipolar (III) Inmate

From: Sin City (Can you guess where?)
Insane since: Sep 2004

posted posted 10-13-2004 00:06

Nice. Ill be adding it to my WinAmp :P

Edit: Not bad - Installed and looks awsome :P Nice job!

-----------------------------------------------
TiNNoS || My Forums || My Gallery



(Edited by Black Hat on 10-13-2004 00:11)

InI
Maniac (V) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-13-2004 13:01

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu