- AVS Presets
- Getting there
Archive: Getting there
Raz
21st April 2003 02:29 UTC
Getting there
After much (and i mean much) arsing about i managed to throw together this DM. It's a little weird but the jist of what it does is zoom down a tunnel and pass through intersections. Think of it as ZG maze 2 without the stopping and spinning inbetween tunnels. Just as an example of how much of a pain in the ass this code is i messed with it for an hour because the thing broke when i changed t=t-0.5 to t=t-0.3 and it wouldn't enter the tunnel. Anyways i'd like to thank UnConeD for originally making the effect and helping me understand it.
Here: :D
anubis2003
21st April 2003 12:07 UTC
That's nice. Too bad UnConeD already made one.:p
Oh, and congrats on the Forum King.
Jaheckelsafar
21st April 2003 12:26 UTC
Yeah but then in a few months eveyone and their dog will have made one. The background is still nice. Sometimes you can't tell there's an intersection though.
Raz
21st April 2003 14:35 UTC
Yeah but then in a few months eveyone and their dog will have made one
Why do i get the feeling i've just been insulted? :p Undermine MY avs abilities will you.
/me goes off to work with scopes for a while.
Raz
21st April 2003 18:45 UTC
On the subject of... whatever this is.
This, i love.
anubis2003
21st April 2003 20:50 UTC
The morph from closed tunnel to open is awful. try something a little more gradual if possible.
UnConeD
21st April 2003 22:17 UTC
Hehe neato :). I expect we'll see some more 3D DM presets from you... just don't make the same mistake I did in the beginning: creating a DM can make a very satisfying preset for you, but it might still look like crap to others. Don't forget the V in AVS....
Btw, here's an idea for your shifty preset.. to morph from closed to open, it currently jumps. You can fake a reverse intersection by simply putting a tunnel over it and cutting it off at a certain Z coordinate. Because the camera never looks back, this will look okay.
PS: Usually we use "nickname - preset" for the filename... makes it easier to locate presets.
Raz
21st April 2003 23:06 UTC
Ok will do the small things like naming. Makes sense to do so. Thanks for the tip, i was messing trying to make it come out the other end of the tunnel it enters but it wouldn't have it.
shreyas_potnis
22nd April 2003 09:59 UTC
you always replace the texture and make it a bit more interesting..good preset though :)
Tuggummi
22nd April 2003 13:30 UTC
The first version just goes straight forward without turning in the intersection, which makes it rather dull.
The second version is indeed nifty, but you need make it look like it enters a tunnel & comes out of a tunnel to the wide open space and enters the tunnel again after that. (i bet UnConeD already ment that, but im not sure :))
Neat-o coding, but i agree, don't forget the V in AVS ;)
Raz
22nd April 2003 14:44 UTC
I don't think i'll develop the maze type idea since it's already been done. I'll work on this single tunnel idea for now. Shreyas, yes i do, and it works great doesn't it :D
Jaheckelsafar
22nd April 2003 16:53 UTC
Insuted? never. I don't have the tunnnel thing down yet, just the 2 planes.
Shifty does look pretty cool. But anything else I'd have said has already been said.
Raz
22nd April 2003 17:50 UTC
Heres a primitive tunnel DM i did off the top of my head for endura in another thread. Happy learning :)
Frame:
t1=t1*0.9+rx1*0.1;
t=t+t1;
snts=cos(0.2*cos(2.1));
cnts=cos(0.4*sin(1.4));
sntc=sin(0.2*cos(2.1));
cnts=cos(0.4*sin(1.4));
Beat:
rx1=rand(50)/50;
Pixel:
x1=0.5+d*cos(r);
y1=0.5+d*sin(r);
x2=x1-y1;
y2=x1+y1;
x1=x2*snts+1*sntc;
z2=-x2*sntc+1*snts;
y1=y2*cnts-z2*snts;
z1=y2*snts+z2*cnts;
a=max(pow(x1,6),pow(y1,6));
z1=z1*(sqrt(a)/a);
x=abs(atan2(y1,x1));
y=t+z1*0.5;
alpha=1.6-abs(sqrt(sqrt(sqrt(z1))));
all checkboxes checked.
Raz
24th April 2003 19:27 UTC
Just another question for UnConeD if he reads this but, in the first DM, the one where it just passes through the intersection. Is there a way to extend the intersection on the z axis to achieve the same effect as i wanted from shifty? I've tried all sorts of crap but i can't seem to get it to work. I did that other idea but it was made from two different DM's and that's highly innefficient. Anyway.. if can help or try to help i would be greatly appreciative :)
Phaze1987
24th April 2003 21:42 UTC
Raz,question : when you joined winamp`s forums you were a n00b or you had some AVS knowledge ? You progress in a amazing rate...
Raz
25th April 2003 04:23 UTC
When i joined i had been avsing for about a month or two. My secret as i very often advertise ;) to muchas progression is boredom and learning from others DM's and scopes, figuring out what stuff does. Searching the forums for explanations, math sites. I post on forums, avs, sleep, eat and occasionally go to school.