|
|
|
|
#1 |
|
Major Dude
|
two scopes from one superscope
hey, I was wondering if it were possible to have one superscope perform the functions of two superscopes, mainly can you divide a superscope in 2, and have one side display the left channel, and have the opposite side display the right channel? I've been messing around and one possible solution I came up with is this:
x = if(equal(min(i,.5),.5),getspec(i,0,2),getspec(i,0,1)); because piR's guide, and PAK-9's guide both say that i is the relative position of the point drawn, from 0 to 1, but, sadly, that particular code always triggers false, if I change i to .5 or higher then it will trigger true. is there something I'm doing wrong? the whole ss is init n=h*2; point y = i; x = if(equal(min(i,.5),.5),getspec(i,0,2),getspec(i,0,1));
|
|
|
|
|
|
#2 |
|
Fοrum King (AVS Reviewer)
Join Date: Aug 2002
Location: The Netherlands
Posts: 3,785
|
Drop the equal(min( thingey and use the above() function instead; that would make (working sample):
if you don't understand what I'm doing with y, just enter some values for i and see what it does.code: What I'm basically doing with getspec() in x is multiplying i by two, and then I either use the first half (0 to 0.5 of i, now 0 to 1), or the second half (>0.5 to 1 of i; now >1 to 2) I hope this helps ![]() Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever Last edited by Warrior of the Light; 23rd March 2007 at 16:54. |
|
|
|
|
|
#3 |
|
Major Dude
|
that works excellently, thanks for your help. I had to modify the code a bit, because when I wrote it, I was going to have the vertical scope, but I decided to go with a timescope-ish effect. I have [code]init
n=h/4; point y=if(below(i,.5),i-.5, i/2-.5); green=if(below(i,.5),-getspec(i*4,0,1)+1,0); red=if(above(i,.5),-getspec(i*2-1,0,2)+1,0); blue = green; x=.99; and I have a movement that does x=x+2/sw. I've got 5 other superscopes doing the same, four of them I need to combine into 2, which shouldn't be a problem with your code. if I ever release these, I'll be sure to note you as helper. this particular preset isn't going to be all flash and bang though. purely functional, so I'm not sure how many would like it.
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Apr 2006
Location: Planet Shintovia
Posts: 383
|
also
Shreyas_Potnis has a post or two in the tips and tricks section on two in one scopes.
me thinks its on page 4. As far as idiots go i'm not sure. But as far as genius goes again i'm not sure. Now when it comes to imagination now thats another story. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|