I'm trying to render a box (filled with white) using the superscope. I just started learning the superscope and don't quite have the hang of it, but I'm learning.
So far I need to make a box but am having a bitch of a time taking the easy way out and just creating a static bitmap.
I started just making individual vertical lines and spacing them apart by extremely small increments. But I don't think it would be practical to have an AVS preset with 5,000 simple-line superscopes just to render a white-filled square.
Could I just create one vertical or horizontal line and "stretch it both ways" so that it is basically one fatass line that, for all intents and purposes, looks like a box?
If someone knows how to do this, could you post the code? Because I can then just layer above or below the effects I already have code.
Need help with AVS (rendering a box)
7 posts
n=w*2;
x=-1+i*2;
s=bnot(s);
y=s*2-1;
If you want to fill the whole damned screen up.
No explanations. Search the forums.
x=-1+i*2;
s=bnot(s);
y=s*2-1;
If you want to fill the whole damned screen up.
No explanations. Search the forums.
Sorry, I meant I want a box smaller than the whole window, positioned in the center. Could the mosaic filter maybe help me out here?
He just showed you the superscope code to use. If you can't figure it out then search the forums
and it IS in the forums. a rotating solid square was posted in response to a question i had about solid SSCs a long time ago.
There's also a volumetric cube floating around somewhere.
Per Frame:
size=0.5 ; n=w*size
Per Point:
s=1-s ;
x=s*size-size*0.5 ;
y=i*size-size*0.5 ;
If this doesn't explain you enough then you should try to seek out some tutorials about ssc coding.
size=0.5 ; n=w*size
Per Point:
s=1-s ;
x=s*size-size*0.5 ;
y=i*size-size*0.5 ;
If this doesn't explain you enough then you should try to seek out some tutorials about ssc coding.