Skip to content
Forum Archive

Tips & Tricks 2 -- Beginners and Intermediate Only

100 posts

Jaheckelsafar#
It isn't sticky Atero. It probably should be, and the other tips and tricks is, but this one is not.

As to the meaning of i, look in the website thread. Annibus wrote a nice varible tutorial and posted it there. Tgere's also atreo's primer, and countless other stuff listed in the sticky FAQ.
Deamon#
In short:

i is a constant number for every pixel from 0 to 1. For everyone n there is an i. For example:when you set n=5 in init, i will be 0 0.25 0.5 0.75 and 1. This way, you won't have to type coords for every point but you can make one formula for the shape you want.

Example:

a circle requires a lot of point to really look like a circle and not some shape with a shitload of corners which has the look of a circle. You wouldn't want to type all those damn coords for it (undoable job anyways), so you use i. You set n to 500, which means there are 500 point calculated on your nice circle:

x=sin(i*tpi);
y=cos(i*tpi);

tpi is two times pi ( tpi=acos(-1)*2 ). the sin and cos together with tpi calculate the points on the circle.

My english isn't good enough to explain it as good as in my native language (dutch) to you, but I hope it helped. At least to make you see it aint nothing difficult to use, and doesn't require any more math than the really basics which are required to write scopes.

Good luck on SSC's,

Deamon

[edit]
maybe good to put some good version of this on webbie?
[/edit]
Runar#
Don't use additive blend. Use 50/50 blend + a fast brightness. It's the same thing in about 90% of the causes, but faster.
dirkdeftly#
runar, you're on crack. the calculation for (50/50 blend)*2 is ((a+b)*0.5)*2, whereas additive is simply a+b. that method not only reduces color depth by 50% but it also nicks about 0.3 fps on my comp (went from ~28.4 to ~28.1 using tuggummi's golden age preset as a benchmark)
Runar#
Heh. You can post as much mathematical nerd crap you want.
However, I do not see how you claim that the attached preset doesn't prove me right.
Runar#
Here we go.. I hope you have WinRAR.
mikm#
Press in the future.

Effect list two was twice as fast (64 opposed to 32), so, you just proved yourself wrong.

Additive is obviously faster than 50/50 + Fast Brite. As Atero said, you are just cancelling out the *.5 and *2.

[edit]
I think that you forgot to disable the first effect list before enabling the second one.
[/edit]
Runar#
Right, I give up, my computer must be seriously fucked, because here, effect list 1 is, as I stated, 25 FPS faster (55 contra 30).
I am indeed sorry, I see that I wet my pants.

And the Edit-function doesn't allow attachments