thePompano
10th August 2004 21:00 UTC
Superscope Line Problem
I did a search for this pretty easy subject however I didn't find it anywhere.
I'm having a problem limiting the x-axis on a normal line in superscope. It comes standard to about .4 units or whatever, I'm trying to make it go shorter. Any ideas? thanks in advance..
mikm
10th August 2004 22:41 UTC
Could you show us the code?
unripeLemon
10th August 2004 22:51 UTC
x=i/yournumber-poistion
Simple as that
Raz
11th August 2004 02:13 UTC
Originally posted by unripeLemon
x=i/yournumber-poistion
Simple as that
no *thwack* fucking *thwack* needless *thwack* divisions ;)
unripeLemon
11th August 2004 11:31 UTC
look, beginners don't know how to not use divisions, there fore they learn later on, it doesn't affect fps that much anyway.
Raz
11th August 2004 12:41 UTC
it's a simple concept that has nothing to do with avs experience
n*0.5 = n/2
Tuggummi
11th August 2004 13:12 UTC
x=i*size (ranging from 0 to 2)
x=i+position (ranging from -1 to +1)
Want your line centered? Try this:
x=(i-0.5)*size
Remember "i" has the default value/lenght of 1.
unripeLemon
11th August 2004 16:44 UTC
good one Tug!
thePompano
11th August 2004 19:36 UTC
Thank you! Very much!