Old 2nd May 2003, 05:37   #1
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
sphere help

Can anyone help me with this preset.

the funny circle in the middle is meant to be a 3d sphere, but i cant work out how to texture it properly.

I have tried and tried and failed and searched and seached and failed etc etc.
Attached Files
File Type: zip circle.zip (2.0 KB, 104 views)
sidd is offline   Reply With Quote
Old 2nd May 2003, 09:30   #2
shreyas_potnis
Major Dude
 
shreyas_potnis's Avatar
 
Join Date: Jan 2003
Location: Mumbai, India
Posts: 787
siddharta, are you avs axer?

and then, are you an Indian? (i think the name is...)

http://home.iitb.ac*****~shreyaspotnis
shreyas_potnis is offline   Reply With Quote
Old 2nd May 2003, 10:43   #3
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
yes i am, and no im not..
(ohh, confusing)
i am axer, but im not indian.. im very much australian.

siddhartha is originally a tibetan name, no doubt it is used all over the eastern world. It is also a book by Herman Hesse that you all should read, though it has nothing to do with avs.

can anyone help me out with that texturing.. i can think of what it should be, but when i code it it doesnt work.. very frustrating.
sidd is offline   Reply With Quote
Old 2nd May 2003, 12:16   #4
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
IGNORE THIS WHOLE THREAD!

Problem solved.

i had
ix=dx*k-ox;iy=dy*k-oy;iz=dz*k-oz;
instead of
ix=dx*k+ox;iy=dy*k+oy;iz=dz*k+oz;

Last edited by sidd; 2nd May 2003 at 12:39.
sidd is offline   Reply With Quote
Old 2nd May 2003, 15:49   #5
unripeLemon
Senior Member
 
unripeLemon's Avatar
 
Join Date: Mar 2003
Location: some place thats green
Posts: 134
Send a message via AIM to unripeLemon
Oh, thanx alot. Now I have this bloody sphere preset to delete. I hope it's a nice preset!
unripeLemon is offline   Reply With Quote
Old 4th May 2003, 04:54   #6
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
1: POST THE IMAGE YOU'RE USING
2: that's anything but spherical have you tried the d=d/sqrt(1-d) formula?

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 4th May 2003, 05:52   #7
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
bloody hell, i said ignore this thread everyone..
1: the image doesnt matter, use any friken image..
2: the sphere code is right, the texturing was wrong. Thats why it looked weird. but its fixed now, dont worry.

but.. just to keep the prols happy, here's some meat.
Attached Files
File Type: zip circle.zip (646 Bytes, 99 views)
sidd is offline   Reply With Quote
Old 4th May 2003, 22:28   #8
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
i reiterate: that's anything but circular.

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 5th May 2003, 01:59   #9
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
post a screen shot, cause its working fine for me.
id like to know if there are any weird glitches on other machines..

is it the grid size thingo, like a sphere with square edges??
if it is, dont get stressed, ill alpha the edges when its done.
sidd is offline   Reply With Quote
Old 5th May 2003, 03:00   #10
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
what i'm saying is that shape ISN'T a sphere. how are you calculating it?

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 5th May 2003, 03:40   #11
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Atero: it DEFINITELY looks spherical here, aside from the *sp*ct r*t**.

UnConeD is offline   Reply With Quote
Old 5th May 2003, 08:43   #12
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
oh.. if there are any weird variables or lines that dont do anything, its cause it started as something different.

but by buhjeebus, does it really matter whether its coded as a sphere if it looks like a sphere? i mean, do people look at a preset and judge it by the code. do they hope that code will jump around the screen to the music? if so, ive been going about this the wrong way all along. Also the aspect ratio thnigamy wasnt fixed when i posted that (i think)

edit/ i looked at mr.Acko's post again and realised that *sp*ct r*t** means aspect ratio.. very cryptic...


edit2/ the sphere code specifically was based on unconeds raytracing explaination in a thread here a while back, only slight adjustments have been made to those parts of the code. the camera angle code was from someone elses code (probably his again, but i cant remember) it uses clever atan2 stuff to make the camera always look at a point. (0,0,0) in this case.

Last edited by sidd; 5th May 2003 at 09:02.
sidd is offline   Reply With Quote
Old 5th May 2003, 19:19   #13
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
err - sorry, my comp lost that circle preset somewhere, the new version is...

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 5th May 2003, 23:03   #14
sidd
Major Dude
 
sidd's Avatar
 
Join Date: May 2003
Location: Australia
Posts: 1,353
goodo, now lets all just leave this ghastly thread alone.
sidd is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS > AVS Presets

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