Skip to content
Forum Archive

3D Spheres

11 posts

Aliendesaster#

3D Spheres

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

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

UnConeD#
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).
Aliendesaster#
thx

maybe you have already coded so many exiting things you can´t enjoy this nice simple sphere😁 hehe I do😉
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.
Jaheckelsafar#
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.
jheriko#
cack... i always do things like that :P i'll go check yours out in a bit
Aliendesaster#
👍 Go[o]d work.😛

I modified your work, some small changes, but it no sphere anymore, tell me what it is 😞
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:
Jaheckelsafar#
Nifty... I liked Aliendesaster's second one better than the first. Meh... I'll have to see what I can do with it now.
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