Archive: Superscopes...


26th September 2002 23:31 UTC

Superscopes...
I don't understand this: I can't figure out the superscope...I tried to make my own superscope from scratch by making a basic pulsar from a sphere. I found in my geometry book a Volume equasion and thought that would work to make the sphere...(4/3)*3.14*(r*r*r). I just don't know how to make it work, and my Init is r=2 (anything bigger may go off the screen I think...) and It doesn't work: Black screen. Any help?


26th September 2002 23:52 UTC

The equation for your sphere calculates the volume.. that's a scalar quantity, which won't help you draw your sphere.

Instead you have to calculate the 2d coordinates of the points that represent your object. You can use x=cos(i*6.28);y=sin(i*6.28); to draw a circle.

Note that the superscope will be squashed when the AVS window is not a perfect square. To counter this, multiply your end result 'x' by 'h/w' or the result 'y' by 'w/h'.
(w = width, h = height of the window)


28th September 2002 17:30 UTC

If you want to learn superscope you could always look up co-ordinate geometry. If you want to draw spheres though you will need to use some parametric equation because standard cartesian equations (x,y) can only define 1 to 1 mappings. i.e. you can only have one y value associated with any one z value.

If i'm confusing you then just play around with x=2*i-1; and y=some function of x. i.e, x=2*i-1;y=x*x; etc.. this way you can draw the graphs that you've probably been doing something about at school.


28th September 2002 21:20 UTC

all we've been learning is the basics: Angle, Congruent, Bicect, Tricect, and now we're just touching on Perpendicular.


28th September 2002 21:32 UTC

So you haven't done any co-ordinate geometry?

Okay well, I'll give a quick explaination:

Firstly you need an equation, a quick example is y=x;

On a graph were the x axis is horizontal and the y axis is vertical:
y ^
+3| /
+2| /
+1| /
0--------> we draw a line through all of the points were x=y.
-1| 1 2 3 x
-2|
-3|

Not a good diagram because it is ascii and it will probably get messed up when i submit. You can then convert this into superscope by doing:

x=2*i-1;y=x; You will get a straight diagonal line going through the centre of the screen (the origin) which passes through the points where the x co-ordinate is equal to the y co-ordinate. (the superscope y axis is inverted with + at the bottom and - at the top so it will look a little different to my diagram).

The way that this works is that i is a sort of length variable that goes from 0 to 1 so by multiplying it by 2 and subtracting 1 we make it go from -1 to 1. setting it to x means it will draw the line horizontally across the screen (along the x-axis) and setting y=x specifies for each x co-ordinate (-1 to 1) what the y value will be (x). Result is a line that passes through (x=-1,y=-1)...(x=1,y=1).

If you have trouble with my litle intro here then look up cartesian coordinates on the net, you're bound to find something that you can learn from. After you're familiar with using cartesians then you should look up all of the functions that superscope has, like sin(), cos(), log(), atan()... to find out what they all do and what they look like as graphs of y=sin(x), y=log(x)...

After that look up polar and parametric coordinates and then you will be able to create almost anyshape using a superscope, from a straight line to a sphere (and some even more complicated ones if you wish).

Hope that that was useful.


28th September 2002 22:08 UTC

*Has a gaping hole between his Ears*

I...Didn't get squat.


28th September 2002 22:09 UTC

Never mind, at least I try!

BTW: I made you a numeral II superscope in the avs preset forum.


30th September 2002 08:44 UTC

Note that the superscope will be squashed when the AVS window is not a perfect square. To counter this, multiply your end result 'x' by 'h/w' or the result 'y' by 'w/h'.
That's a very useful tip UnConeD. Thanks! I already corrected several presets in my next pack with it :)

30th September 2002 22:12 UTC

i find that screwing around with a graphing calculator (yes, the graphing functions, not the games) during algebra II helps me understand adv. math functions

i wish i could have AVS on the calc (even if it was black and white, it would be frickin schweet)


1st October 2002 17:49 UTC

Originally posted by Tuggummi
That's a very useful tip UnConeD. Thanks! I already corrected several presets in my next pack with it :)
yeah it is but, a better system is to multiply x with min(h,w)/max(h,w) or multiply y with max(h,w)/min(h,w), so if a person use a window with a bigger vertical window size then a horizontal window size

1st October 2002 18:22 UTC

Originally posted by Montana


yeah it is but, a better system is to multiply x with min(h,w)/max(h,w) or multiply y with max(h,w)/min(h,w), so if a person use a window with a bigger vertical window size then a horizontal window size
I always just modify x because very few people (in my experience) use tall thin windows

2nd October 2002 02:58 UTC

Actually, in some cases I've seen that makes the scopes look a bit squashed. Maybe go for in-between perfectly square and fitting the window perfectly...?


2nd October 2002 07:43 UTC

Well i also experienced that it didn't always work and they looked streched vertically (vertically.. lol i don't know how to spell it), in fullscreen mode, but it still corrects a loads of errors in my presets.

Originally posted by Montana

yeah it is but, a better system is to multiply x with min(h,w)/max(h,w) or multiply y with max(h,w)/min(h,w), so if a person use a window with a bigger vertical window size then a horizontal window size
uhm is it really that different? Sounds like it's just a more fancy way to do the same thing :D ( what's wrong with simple? is it too n00bish? are you so über1337? :p )

2nd October 2002 19:34 UTC

Yes, you spelled it right :D
It's not the same thing. One squashes Y, the other squashes X.
And Simple sux. It's entirely uncustomizeable. Can't rotate, can't choose height specifically, etc.


3rd October 2002 01:59 UTC

Erm...okay...

*Xion searches for 'Superscopes for Dummies' by UnConeD*


3rd October 2002 07:00 UTC

Originally posted by Atero
It's entirely uncustomizeable. Can't rotate, can't choose height specifically, etc.
So how does one customize it?
Just simple:

h1=h*whatever ; h2=h*whatever ;
w1=w*whatnot ; w2=w*whatnot ;
min(h1,w1)/max(h2,w2)

Rotation? uhm don't you do that in the scope code :) And you then add the correction code into the final result.

3rd October 2002 07:08 UTC

Atero was talking about render/simple :igor: