Old 2nd July 2004, 17:42   #1
Shylent
Junior Member
 
Join Date: May 2004
Location: A Galaxy Far Far Away
Posts: 19
Resolution and some other dumb questions

Alright, since I am starting to do some presets (not another 3d stuff tries) I have a question. I am using 256*198 resolution, so I am getting pretty good fps for most of stuff I've downloaded and made (I am using celeron 1700 - I know celeron sucks tho). I am wondering what resolution is the most common, so I can optimize the performance of my presets for it, because obviously the preset that is running at 40 fps on 256*198 will run much worse on, say, 512*396.

It would be great if anyone could help me with assign/exec/loop functions, since I know what they do, but dont really understand how to use them. If not, I'll "use the search feature" for another 23525 time

one more. If you will ever read it, Tuggummi, please let me know if I can use one of your texer bitmaps, that you use in your "Extra Dimension" pack. Not any code, just a bitmap. I am really bad at photoshop so it would be a problem for me to create such a thing and thats a damn good bitmap I'd say.
Shylent is offline   Reply With Quote
Old 2nd July 2004, 18:08   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
defining the common resolution means knowing what you're making presets for (homeuse, projection etc). also the preferred resolution depends on the user's hardware specifications, personally i'm using 480x360. more importantly is probably the aspect ratio of 4:3, as it's commonly used for projections and of course it is the ratio of avs fullscreen playback and of televisions.

you find a couple of tutorials on this page, maybe they help you on your technical questions.
Yathosho is offline   Reply With Quote
Old 2nd July 2004, 23:24   #3
Deamon
Major Dude
 
Deamon's Avatar
 
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
As for the texer files: Tugg released an entire package with texer bitmaps for public use. You most likely will find it in there. Download that file, and you're good to go . I'm too lazy to find the exact link though, just search the forums, you can't miss it.

.:HyperNation @ winamp:. .:DeviantArt:.
Thermal is now available for download at DeviantArt.
Deamon is offline   Reply With Quote
Old 3rd July 2004, 02:41   #4
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,363
Tuggummi's Texer Resources
Yathosho is offline   Reply With Quote
Old 3rd July 2004, 10:04   #5
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
im speculating that you know how to code in same programming language, doest really matter witch.

assign
code:
assign(a,foo/bar);


a=foo/bar;



assign + exec
code:
exec2(
assign(a,foo),
assign(b,bar)
);


a=foo;
b=bar;



assign+exec+loop
code:
i=0;j=0;
loop(10,
exec2(
assign(i,i+1),
assign(j,j+i)
)
);


int j=0,
i=0;
for(i=0;i<=10;i++)
{
j=j+i;
}



I hope its clearer now, assign and exec is used to make code faster and usuable inside other functions like loop(a,b) or if(a,b,c), you just cant do something like:
code:
loop(a,
b=c;
);


this will return error and you must use:
code:
loop(a,
assign(b,c)
);


instead


as for exec2(a,b) or exec3(a,b,c):
In following code your doing usuless assignments that will eat cpu cycles.
code:
loop(a,
assign(b,c)+
assign(d,e)+
assign(f,g)
);


you can make this code more effective with exec3:
code:
loop(a,
exec3(
assign(b,c),
assign(d,e),
assign(f,g)
)
);



my $0.02

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 5th July 2004, 11:29   #6
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
you could also use AVSTrans.
it does these translations for you
you can write in a more understandable language this way.
you enter thing like
code:

loop(n,
a=b;
b=c;
);


and it translates it for you to avs compatible code consisting of execs and assigns.
very useful if you have long if()s and loop()s

If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 5th July 2004, 11:42   #7
Jaak
Major Dude
 
Jaak's Avatar
 
Join Date: Jan 2003
Location: Estonia.
Posts: 851
stop advertizing your ape :P




and code the stupid vertex shading!!!1

Phi = (1+sqrt(5))/2
Jaak is offline   Reply With Quote
Old 5th July 2004, 13:05   #8
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,173
Shylent, sure you can use it if the thing you want isn't in the texer resources. Though next time it might be more effective to contact me directly instead of mentioning it in a thread I might miss a thread or two occasionally even though i try to read most of them.

Just PM me here at the forums

Oh and im using 280x280 and im running a athlon XP +2100. I get pretty good framerates with that (mostly around 30-40~) Wouldn't say it's common... maybe the best way to optimize would be to optimize them to a fullscreen resolution like 320x240 or 400x300. Even with the more powerful machines the preset needs to be pretty minimalistic in order to go beyond 400x300 and get a good framerate. The most consuming effects now with the new avs version are trans effects.

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 6th July 2004, 09:59   #9
Shylent
Junior Member
 
Join Date: May 2004
Location: A Galaxy Far Far Away
Posts: 19
Thanks for help with resolution and assign/exec/loop, everyone! It became very clear for me now (I think so, at least :P). I am working on some kind of pack now, first steps or something, so some day (in a month methinks) you will face my ultimate noobness, har har.

Tuggummi: I thought, it might be annoying to get some random PMs from random people... Thanks anyway! Glad you replied!
Shylent is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump