Archive: New things


17th March 2005 04:59 UTC

New things
I havent been in contact with avs sice a long time. So it would be gr8 if someone posted a preset which uses all the new stuff like megabuf etc etc.


17th March 2005 05:31 UTC

lol Shreyas. dont be so lazy! search for it a bit! :p

[edit] PAK's or TomyLobo's DA pages might help.[/edit]


25th March 2005 13:13 UTC

misc / setlinewidth ?

we have a linesize var in superscope now :)


25th March 2005 16:32 UTC

lol.

hey....atleast he tried to make something, and we all can appreciate that :)


25th March 2005 16:39 UTC

Check out Final Whack, Whacko Revisited, Pak's latest, Tug's last, and much more.


25th March 2005 16:53 UTC

uh...Shreyas was'nt here when Final Whack and Whacko revisited were released?

oh damn.....my memory :p


25th March 2005 18:11 UTC

yep lotsa new apes that allow you to do crazy things :)


28th March 2005 02:47 UTC

if your looking for the hot techniques in use at the moment

the best examples available will be found in the usual r337 avser's collections.

back face culling
geometry sorting/fixed order rendering
numerical raytracing (whittaker method + variants)
ambient+diffuse+specular lighting with normal, spec & gloss maps/data
triangle modeling+texture hack
per-sample fullscreen raytrace
point sprite modelling/particle clouds etc...

most of these techniques need the new apes, including texer2, triangle and global variable manager. they all come with help except triangle. You will have to find examples to work that out.
quick vars - x1,y1,z1,z2,y2,z2,x3,y3,z3,red1,green1,blue1)

have fun.


29th March 2005 22:03 UTC

It's not really that hard once you know the variables' names ;)
If you have any further questions, just /query TomyLobo on QuakeNet or freenode

Jheriko forgot to mention another one of my APEs: my syntax-enhancer eeltrans.ape.
This ape rewrites all the code you use in a preset, addressing various deficiencies with the AVS language.
Some features are: writing code inside ifs and loops, regular assignments to (g)megabuf


pn=0;
loop(bar,
if(above(megabuf(pn+2),5),
megabuf(pn)=foo;
,
megabuf(pn+1)=foo;
);
pn=pn+3;
);


another feature is a C/C++-Style #define directive:

#define yorz(a) ((a)*(a)*(a))

foo=3;
cubic3=yorz(foo);

available on my deviantart page :)