Go Back   Winamp Forums > Visualizations > AVS > AVS Troubleshooting

Reply
Thread Tools Search this Thread Display Modes
Old 17th July 2002, 07:05   #1
Aliendesaster
Junior Member
 
Join Date: Mar 2002
Posts: 13
Exclamation 3D Spheres

Is it possible to code this 3D Sphere in Winamp?

It´s coded my Ken Silverman [created Buildt engine]

http://www.advsys.net/ken/spherand.exe
Aliendesaster is offline   Reply With Quote
Old 8th August 2002, 21:26   #2
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
I assume you mean "code in AVS" rather than "code in Winamp".

It's easy, but the result is kind of boring... there are lots of more exciting things to do with it.

Note that the sphere I generate is not exactly the same as in the program you specified: points are randomly distributed rather than equally spaced apart. The method I used for generating the unit vectors is rather messy too because I map a cube to a sphere: this results in clustering at the 8 corners (turn up the n value to make this more visible).
To prevent this, add

red=if(below(x1,1),0,1);

under the line

x1=1/sqrt(sqr(px)+sqr(py)+sqr(pz));

in the superscope's point code. This will generate a correct uniform random distribution (though you have less points).
Attached Files
File Type: zip 3d sphere.zip (621 Bytes, 79 views)

UnConeD is offline   Reply With Quote
Old 8th August 2002, 22:12   #3
Aliendesaster
Junior Member
 
Join Date: Mar 2002
Posts: 13
Talking

thx

maybe you have already coded so many exiting things you can´t enjoy this nice simple sphere hehe I do
Aliendesaster is offline   Reply With Quote
Old 15th August 2002, 01:42   #4
ssj2gohan1018
Member
 
ssj2gohan1018's Avatar
 
Join Date: Feb 2002
Location: My house
Posts: 65
Send a message via AIM to ssj2gohan1018
KEN SILVERMAN ROCKS i like one of his early games kens laberint(i know i kant speel)
ssj2gohan1018 is offline   Reply With Quote
Old 11th September 2002, 20:33   #5
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
my sphere

just saw this and had to add this here is my 3d ssc sphere (the intro to one of my packs), looks pretty.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 11th September 2002, 21:50   #6
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
Dude, no file

Since there's a sharing thing going on, I thought I'd share mine too. Thers were part of an idea that hasn't come to fruition. The never really worked to my satisfaction.
Attached Files
File Type: zip sheres.zip (929 Bytes, 73 views)

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 12th September 2002, 00:49   #7
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
cack... i always do things like that :P i'll go check yours out in a bit
Attached Files
File Type: zip 49 - clarity of vision.zip (2.1 KB, 73 views)

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 12th September 2002, 13:18   #8
Aliendesaster
Junior Member
 
Join Date: Mar 2002
Posts: 13
Go[o]d work.

I modified your work, some small changes, but it no sphere anymore, tell me what it is
Attached Files
File Type: zip spheres_mod.zip (942 Bytes, 69 views)
Aliendesaster is offline   Reply With Quote
Old 12th September 2002, 16:21   #9
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
the first one still looked quite spherish the second one was just a mess... like a figure eight or something? The first one was cool.

PS I really love the sort of competition element here, makes everyone want to improve, and works!

check this out:
Attached Files
File Type: zip tempy.zip (618 Bytes, 71 views)

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Old 13th September 2002, 01:13   #10
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
Nifty... I liked Aliendesaster's second one better than the first. Meh... I'll have to see what I can do with it now.

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 13th September 2002, 16:28   #11
jheriko
Forum King
 
jheriko's Avatar
 
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,149
Send a message via ICQ to jheriko
Man, I'm sick of spheres so here is a golden dodecahedron, it's one of my entries for the deviantart bw contest.

http://www.deviantart.com/deviation/701507

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Visualizations > AVS > AVS Troubleshooting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump