Archive: TexerII & Colormap


5th February 2005 05:24 UTC

TexerII & Colormap
This is a request for unconed, two things I would like to see in your APE's:

TexerII: The option to have a black and white mask for the image used, so that one can do replace blended effects

Color Map: The ability to pick the color map number with registers, and maybe the map cycling too. This would be useful for mouse control presets where I would like to have the option of picking the color map in a user menu (I know it can be hacked around with coeable effect lists but its slower and uglier)

They arent particularily complex requests, but things that I think would make the APEs more useful.


5th February 2005 10:05 UTC

i really love the trans texer for that ability texer2 doesn't have :) thats why sometimes i still use it if n is not above 1024. with it, you can also render adjustable blend and that results in really nice holographic effects sometimes :)

and i just agree with the second. though i think i will never really use it, too much work now.


5th February 2005 16:39 UTC

How would the alpha mask affect bilinear filtering?


7th February 2005 04:09 UTC

how about also accepting non-integers for the color maps?
(for a start)
if you want to invest further time in that, you could even allow the user to set an alpha value for each color map so that they can be blended together in whatever way you like


7th February 2005 06:58 UTC

Originally posted by UnConeD
How would the alpha mask affect bilinear filtering?
?

It wouldn't, I assume you mean bilinearily resizing the images for sizex and sizey. You'd get some blurring but it wouldnt really notice, I guess you could bucibicly resize them if you thought it would, but computationally its not really worth it.

Tell me if I've completely got the wrong end of the stick here.

8th February 2005 12:10 UTC

You should add a feature like: "Treat X,X,X color as transparent" so that people like hboy who still use old technology could upgrade :p

That's the difference between texer & texer II, other than texer II being vastly superior, but it just doesn't have that one small thing.


8th February 2005 16:46 UTC

...and colour filtering
...and resizing
...and having more than 1024 points
...and being directly codable

I'll assume you grouped that all in being "vastly superior"


8th February 2005 17:09 UTC

You catch up pretty quickly PAK :rolleyes:

Yes, it might not be too "clear" what vastly superior ment, but thanks to you and your incredible skills to point-out-things it's not unclear anymore!



wanker...


8th February 2005 19:01 UTC

bleh, i like and use both :)


9th February 2005 16:59 UTC

I think maybe UCDs question is a lazy rhetorical attempt to get out of APE coding. ;)

I can't see whats so hard about implementing both alpha and bilinear together. bilinear filter the rgb and bilinear filter the alpha then final=background*(1-alpha)+rgb*alpha

Other problems? You get a blurry line instead of a clean one which could spoil an effect. Solution. Turn off bilinear.

An alpha image would be useful.


10th February 2005 17:17 UTC

I dont think filtering the rgb then the alpha is really necessary, you can just multiply them and filter the result.


13th February 2005 01:04 UTC

you can't do that

think about it. if you have a circle for instance that you want to replace blend only the circle and bilinear filter the whole jobby. you need to bilinear the alpha seperately for the final combine so that it blends the edges... otherwise you get ugly almost black edges on the circle where you blend rgb*alpha and use the original channel.


13th February 2005 12:53 UTC

hmm, I was thinking you could multiply the scene by the mask, add the rgb then do the filtering afterwards but that doesnt really make any sense now I think about it, cos the filtering is part of the initial resizing before the mask is even applied. Never mind.


13th February 2005 20:58 UTC

btw, you could add nifty +/- buttons for your code boxes :)


21st February 2005 06:39 UTC

Ability to rotate at Texer II would be nice :)


25th February 2005 15:53 UTC

write your own rotation code

(if you mean rotating sprites, that is not possible and would kill the framerate if implemented... use a DM or movement instead)


25th February 2005 18:51 UTC

UnConeD said rotating particles was on his "to do" list, so i guess it wouldn't be such a fps hog as you say TomyLobo.


25th February 2005 22:40 UTC

vertex shading was on my todo list for triangle.ape too, but i scrapped it because it wasnt really possible without a big fps hit


27th February 2005 16:56 UTC

Optional features are a zero frame rate hit, it never hurts to have the option if people want it.


28th February 2005 15:17 UTC

want the source? :P
be warned though, it's 400 lines of asm :P


28th February 2005 17:14 UTC

I eat 400 lines of assembly for breakfast, with a cup of tea (milk no sugars please).

I'm too damn busy to work on it unfortunately, but if you send it to me I might get around to it eventually.


12th March 2005 17:25 UTC

Animated GIF support would be COOL :D


12th March 2005 19:27 UTC

I can hack in animation support by simply chopping up the image into vertical tiles. There will never be such a thing as animated GIF support.

In any case, I really don't have the time to implement this. Pak: the "optional" feature of alpha blending (or rotation for that matter) would require a new code path of asm code.


13th March 2005 01:42 UTC

hey unconed. why isn't it possible to make avs "open source" or something? It's more than probably that no new avs version comes out ever, but there are still many people interested in AVSing. It would only be fair to let them develop it further by themselves! (sorry for bad english, but im still kind of drunk :igor: )


13th March 2005 11:11 UTC

Wow, someone else beside me, posts drunken posts :D

just *had* to say it


13th March 2005 12:51 UTC

yeah! It's kind of funny, isn't it? :)


14th March 2005 11:42 UTC

if i remember correctly, someone already asked nullsoft to release the source, but they refused.
never mind though, we have something in the fridge.. err sleeve :)
first results will probably not be available before next year, but that's still earlier than an avs update (which is expected at about the time when hell freezes over)


14th March 2005 13:10 UTC

but why did they refuse to release the source-code? I mean sometime avs is so much out-of-date, that they probably won't add it to winamp anymore. At least it would be an advantage, if they could bring out that new vis together with winamp then, isn't it?


14th March 2005 13:32 UTC

And what about asking Justin instead of Nullsoft?


14th March 2005 13:34 UTC

Is he the legal owner of avs? Or does nullsoft own the rights? Not that justin gets sued when he gives out the code...


14th March 2005 13:40 UTC

All of Justins code are belong to AOL.

'nuff said :rolleyes:


14th March 2005 13:44 UTC

so he can't give it out without beeing sued, right? Damn...


14th March 2005 13:53 UTC

Originally posted by TomyLobo
if i remember correctly, someone already asked nullsoft to release the source, but they refused.
never mind though, we have something in the fridge.. err sleeve :)
first results will probably not be available before next year, but that's still earlier than an avs update (which is expected at about the time when hell freezes over)
R U implying that fridge isnt dead?

14th March 2005 13:59 UTC

PAK-9, you should come IRC more often... They've been developing it for the past 2 months :p


14th March 2005 14:05 UTC

how the heck did you choose "fridge" as the name for that vis?


14th March 2005 14:10 UTC

Because it's going to be... cool? :rolleyes:



how can someone not get that?


14th March 2005 14:15 UTC

aha. funny.


14th March 2005 14:18 UTC

Was about... one... two... three... four... no.
One...two...frog... damn...

Was before X-number of posts above.


14th March 2005 14:48 UTC

you mean its actually NOT called "fridge"? :confused:


14th March 2005 14:50 UTC

...

Uhm... yeah.

It's actually called "freezer", because freezer > fridge in coolness.

:rolleyes:

could we please stop this already?


14th March 2005 14:53 UTC

ahm yeah, good idea.
i'll just wait and see what it's going to be in the end. :)


14th March 2005 15:35 UTC

I cant go on irc when I'm at uni, damn, I wish someone had told me.. I wanna contribute!


14th March 2005 21:36 UTC

Tuggummi overstated the progress just a weeeeeeeeeee bit.


15th March 2005 14:31 UTC

I still want to be a part of it, even if it is just planning and experimenting... is it still lingering in your dump?

/goes to check