TomyLobo's avatar

Triangle Rasterizer APE

1 20 2K (1 Today)
By TomyLobo   |   
Published: June 7, 2004
© 2004 - 2020 TomyLobo
**IMPORTANT**
this is a development version. please, do not include it in any packs as this could cause future version conflicts. if you want to release a pack using triangle.ape, point your users at my devart page or this deviation
**IMPORTANT**
it's an APE for drawing triangles :)
it's codable.
For a manual, refer to triangle.txt in the .zip
Comments20
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In
Milkn00b's avatar
TomyLobo, can u send me that AVS that you used as picture here at deviantART?
zar.ale.89@gmail.com
THANKS!
Milkn00b's avatar
Dark Matter, if you use Winamp 2 and 3 the triangle APE doesn't work.
The Triangle APE and the other APEs by TomyLobo are suitable only for Winamp 5.
synth-c's avatar
What about texture mapping, or would it suck to much fps?
TomyLobo's avatar
yes, it would suck... much fps, too :)
it doesnt have vertext shading yet either, because of the slowness
fsk's avatar
weeeee, first comment!
synth-c's avatar
too bad, it looks really cool in some cases
adasha's avatar
adashaProfessional General Artist
What a very very handy ape indeed, although its a slight nuisance having to triplicate code for each vertex in a triangle. Guess that's more down to AVS's lack of decent code structure tho.

I also noticed that triangles that share a common side overlap slightly. It really shows up in additive blend. Is it possible to fix that?
TomyLobo's avatar
it is, but it would look bad on some triangle configurations :(
adasha's avatar
adashaProfessional General Artist
how about the option?

filledge=0; // fill inside edge
filledge=1; // fill along edge

perhaps? ;)
TomyLobo's avatar
i'd have to duplicate nearly the whole code for that ^^
TomyLobo's avatar
you mean gouraud shading?
I tried it and ran into some problems :(
i don't wanna write this without it being fast ;)
so i'm looking for a more experienced asm/mmx coder who has time for this and wants to do it :)
akx's avatar
TomyLobo: why isn't a standard color interpolation between vertices ok for vertex color? You'd only have to determine the distance between vertices...
VHS-Guri's avatar
VHS-Guri Traditional Artist
Cool ape :)
jaak's avatar
harr... harr... harr...!
this is getting fast! weee....
FUCK da gpu, cpu can do aaall juust fine =)
Acid666's avatar
already came across to this on #finnish-flash, quite a neat ape :)
TomyLobo's avatar
wa 2.91 with avs 2.81b?
o_O
better get wa5.03
DarK--MatteR's avatar
DarK--MatteRHobbyist Digital Artist
Heh =(
I dont know why but AVS Crashes every time i attempting add itt =|

WA v 2.91
Vis_Avs.dll v 2.81b
shock-value's avatar
Awesome! Some very cool effects can be achieved with this!
pak-9's avatar
Weee first comment

so it finally happened eh? Better download and check it out...
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In