Skip to content
Forum Archive

Texer II alpha

89 posts

UnConeD#

Texer II alpha

After an afternoon of trying to iron out the final showstoppers, texer 2 is finally working 😉. Changes with texer 1:

- Support for all blend modes (use Misc / Set Render Mode)
- Support for resizable particles
- Includes a standard bitmap (thanks Tuggummi)

And finally, it's now directly codable so this means:
- Subpixel accuracy when resizing is on
- Overlapping particles are possible
- No more disappearing particles at the edges

Get it from:
A blog about random hacks, graphics and design, math and other ephemera.


Includes two 3D presets showing off how to use the resize ability for 3D particle rendering. Basically you set sizex and sizey to 1/z.

The help is still to-do (I mailed justin to ask if it's possible to include the standard help panel like in a superscope/dm), but you shouldn't have much trouble with it because it behaves mostly like a superscope.

It seems stable here, but crashes are always possible. However because it uses the AVS scripting library, it's possible that one of the AVS bugs can trigger when working with Texer2, and there's not much I can do about that.

Oh by the way, I need a couple of simple examples for inclusion. If anyone feels up to it 😉.

This version is not final, but the code interface won't change anymore. Only bugfixes/additions.
Shock Value#
Very nice! This will be incredibly useful. I just had a thought now though - is it possible to code the T2 so that you could use a buffer save as the image, or would that be too slow?
dirkdeftly#
HOLY MOTHER OF GOD THAT'S THE COOLEST THING I'VE EVER SEEN

BUT

is it possible to use anything you did in this version to make a trans \ texer II?
Deamon#
OMFG This is great! 😁 Damn, I love it. I'll try and make you some examples UnconeD.

edit:

You might want to add the var b. b=1 onbeat, else b=0. Just a thought 😉.
Deamon#
Here are some examples, there is only the texer II used, nothing else (except sometimes for set render mode 😛). Hope you'll use them, or at least inspired you.
UnConeD#
Well I'd like to stay away from 3D except very simple examples (like in the SSC), but your oscilloscope dots are a great example of a 2D texer.

BTW if you're going to do 3D, you should use resizing, it looks much more correct.
Set sizex and sizey to 1/z.
Yathosho#
Originally posted by ;-c ,rattaplan
Aww.. it causes my WA3 to crash...
of course it does, since avs 2.7 is not and will never be available for winamp 3!
Deamon#
lol, ok. Though I liked the 3 3D Beatcircles 😛. I'll see what I can do, but have to study some tentams (or whatever it is in english) now.
Deamon#
Is this more what you're looking for, or is this still to advanced?
gaekwad2#edited
Another resize example
edit: use n=w/40 to make it work in all resolutions.
UnConeD#
Ok I uploaded a new texer:

- Fixed bug, the non-scaling render didn't draw the last column/row of an image
- Added b variable
- Included 4 examples
- Mentioned skip variable (set skip=1 to abort drawing a particle)
- Shouldn't crash on older AVSes, instead it will put out a message and refuse to work.

Daemon/gaekwad2: I modified your examples a bit to be clearer, if you don't want this just tell me and I'll remove them. I will credit you both in the help once I integrate with the rest of the AVS help.

The url is the same: http://acko.net/t2/texer2.zip
gaekwad2#
I'd be honoured!
btw I just realized that if you size them with something/w (or h) you can make the particle size stay the same independent of resolution.
Didn't crash on 2.60 but I didn't see any message either.
Deamon#
In the beat-responsive circle example, you forgot to remove the point variable 😉.

I assume the variable skip means how many beats to skip?

Again, great work 🙂

<edit>
Damn, I love it that UnconeD uses some of my work as example in this best APE yet 😁. Thank you very much for it.

PS. In the final version, can you please credit me for it in the documentation or whatever? A personal AVS friend of me will never believe this 😁

</edit>
UnConeD#
gaekwad2: Well it should put a message in the init box if you add a new Texer2 to a preset in AVS2.6-. It was just a little something I added quickly, I'd expect most new presets to be broken anyway on AVS2.6.

sidd: if you set skip to 1 during the per-point code, the particle will not get drawn. Skip is reset for the next particle, so you do not need to unset it later. I thought it might be useful when speed is important to avoid drawing useless particles. And in fact Jaak suggested it as well (it was in it from the beginning, but I forgot to mention it).

Daemon: actually, if you'd look at the code, you'd notice point is used a lot. Basically, you can't use 'i' for circles w/ texer2, because I goes from 0 to 1, and so one particle would get drawn twice in additive blend. I thought of this, but decided to keep the old SSC 'i' behaviour for compatibility, and because you can get around it by making your own point-counter like I did.
And I already answered your credit question. Read more carefully 🤪.
Deamon#
whoops, must've read over it. The changes you made in the code are fine by me, this is indeed much better to decipher for newbies as well 🙂. About the point thingie, I missed the part that you used it in angle, so sorry 'bout that.

<edit>
I'm so honoured, I hardly dare to ask you one more thing. Please spell my name correct when adding credit to the help. It's Deamon, not Daemon. And I want to say this one more time: THIS IS A FUCKING GREAT APE! You rule, UCD, and I don't want to be a slimeball, I mean it.
</edit>
horse-fly#
not home, and won't be able to check texer 2 (though i did dl it) out for a few days, but is it, more or less, like a super scope replacer?
Deamon#
Take a dot-like superscope, with a build-in trans/texer, and then multiply that with 1*10^<insert large amount of numbers here>. That's the Texer II.
S-uper_T-oast#edited
w00t! Texer 2 kicks serious ass, and I anin't playing! Don't know if this is like one of the examples already given, since I haven't downloaded them yet, but here is mine, I might have gone a little bit over the top, but I think I do a good job of showing some off this Texer's feautures, i.e.-perpoint drawing, COLORS!, and resizing.

/edit
I would also like to ask if anyone could fix the aspect ratio parts, I don't know if I did them right off the top of my head, and I slso did not put any on the X or Y variables, just on sizex and sizey.
/edit
Magic.X#
OMFG! I just love this ape! Great work UCD 👍 😁

Just a question: will the final version support jpg and gif files (maybe even animated ones?)
gaekwad2#
😕 The correct resize formuls is w/something, of course.
I used it on S_T's example and now it works in all resolutions even without maxblend.
fsk#edited
Man this ape is sick 🙂. You make kick ass presets, but your apes, this is where your skils realy blast off. And its fucking fast as well. There was a strange thing that happend yesterday when i tried it out (i couldnt resist even though im being crushed by giant piles off work). I tried to use it as a render for a raytraced picture (just ported the VissBizz code and made the grid cover the screen to get a 50*50 picture) and even when i turned off color check and resizeing some points didnt get rendered (the ball). I used 'k' to set the size of pictures (which gave some sort of a raster image. How come they didnt draw? I couldnt experiment more because of lack of time but I thought that if I turend both options off the damn thing should be picturles (all points same size and color). I gues I dont get the thing 😁.
I know I shouldnt bug you with this but isnt this code allmost a ssc, could you make one with codable line width.I gues all thats missing is a decent line function. Am I wrong? Please tell if I am so that I can get the idea out of my head.

And the most important thing, thank you🙂.

p.s. the bitmap menu going out off the config looks cool😁.