sta
28th April 2004 20:07 UTC
does anybody need this one?
I don't know, wheather anybody needs this one, but here it is: a simple square made with one superscope.
It's not really a preset - it's only a part for further uses. It could be good for colour effects for example.
For all other purposes you can make the same with 4 superscopes. The square stays also square with few points.
Better you look at it yourself.
hungryskull
29th April 2004 02:31 UTC
A square isn't exactly revolutionary.
BTW your colourcoding looks rather bulky and unefficient. If you use:
red=sin(i-t);
blue=cos(i*2+t2);
green=sin(i*4+t);
Instead of your code, you can get almost the exact same effect, and make the colours change.
sta
29th April 2004 12:26 UTC
precision costs speed..
Nic01
29th April 2004 16:31 UTC
Hungryskull : His method is quite a bit faster...
Still, it doesn't support shifting colors.
sta
29th April 2004 18:13 UTC
I finally figured out how to make the color-shifting.
I only needed one(!) new line and some name replacements,
but almost 30 minutes, 10 grams of paper and 0.5ml ink :eek:
TomyLobo
29th April 2004 19:26 UTC
good square :) (although it's a rectangle most times because of the aspect *g*)
now make a preset of it :)
sta
1st May 2004 11:31 UTC
Here is a real square which is resized every time the window size changes
hungryskull
1st May 2004 17:00 UTC
Hungryskull : His method is quite a bit faster...
Didn't notice that, but it seems overly complex for what it has to do.
TomyLobo
2nd May 2004 15:06 UTC
somewhere i heard that an FSIN instruction takes 110 cycles...
is that complex enough? :)
so remember: sine is evil :D
hungryskull
3rd May 2004 02:54 UTC
Geez that's a lot of work for one sine.
jheriko
14th May 2004 05:38 UTC
How about making a solid back face culled square that draws in 3d space set by global vars and all you need to input is 3 of the vertices and the normal.. then I *may* be impressed? (This is very possible - i make tons of little prefabs like this, like the analagous pentagons in alien device for instance)
Seriously though, this is nothing new, you should check out what others have done with AVS. There is a lot more to be done than squares. ;)