Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   AVS Troubleshooting (http://forums.winamp.com/forumdisplay.php?f=139)
-   -   Superscope Line Problem (http://forums.winamp.com/showthread.php?t=189546)

thePompano 10th August 2004 20:00

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 21:41

Could you show us the code?

unripeLemon 10th August 2004 21:51

x=i/yournumber-poistion
Simple as that

Raz 11th August 2004 01:13

Quote:

Originally posted by unripeLemon
x=i/yournumber-poistion
Simple as that

no *thwack* fucking *thwack* needless *thwack* divisions ;)

unripeLemon 11th August 2004 10:31

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 11:41

it's a simple concept that has nothing to do with avs experience

n*0.5 = n/2

Tuggummi 11th August 2004 12:12

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 15:44

good one Tug!

thePompano 11th August 2004 18:36

Thank you! Very much!


All times are GMT. The time now is 22:25.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.