View Single Post
Old 28th July 2004, 15:04   #215
vanderphunck
Junior Member
 
vanderphunck's Avatar
 
Join Date: Jul 2004
Location: Finland
Posts: 47
You can make a starfield without any megabuf and just a single ssc:

[FRAME]
r1=1/7;r2=4/9;r3=5/3;
zo=gettime(0)*.1;

[POINT]
r1=r2*9333.2312311+r3*33222.93329; r1=r1-floor(r1);
r2=r3*6233.73553+r1*9423.1323219; r2=r2-floor(r2);
r3=r1*373.871324+r2*43322.4323441; r3=r3-floor(r3);
z1=r3-zo;z1=.5/(z1-floor(z1)+.2);
x=(r2*2-1)*z1;
y=(r1*2-1)*z1;
red=1-exp(-z1*z1); green=red; blue=red;



The idea is that r1,r2,r3 is a pseudo random generator. (i used the same approach in my gax preset).
vanderphunck is offline   Reply With Quote