|
|
#1 |
|
Junior Member
Join Date: Mar 2002
Posts: 13
|
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 |
|
|
|
|
|
#2 |
|
Whacked Moderator
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). |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2002
Posts: 13
|
thx
maybe you have already coded so many exiting things you can´t enjoy this nice simple sphere hehe I do
|
|
|
|
|
|
#4 |
|
Member
|
KEN SILVERMAN ROCKS i like one of his early games kens laberint(i know i kant speel)
|
|
|
|
|
|
#5 |
|
Forum King
|
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.
|
|
|
|
|
|
#6 |
|
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. Stoke me a clipper. I'll be back for Christmas. - Arnold Rimmer Red Dwarf |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Mar 2002
Posts: 13
|
I modified your work, some small changes, but it no sphere anymore, tell me what it is
|
|
|
|
|
|
#9 |
|
Forum King
|
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: |
|
|
|
|
|
#10 |
|
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 |
|
|
|
|
|
#11 |
|
Forum King
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|