|
|
#41 |
|
Major Dude
|
way cool UCD! thanx.
|
|
|
|
|
|
#42 |
|
Foorum King
Join Date: Jul 2003
Location: bar2000
Posts: 11,457
|
Another bug:
Resizing cuts off border pixels. Try the attached BMPs |
|
|
|
|
|
#43 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Actually that's not a 'bug' per se, it's 'by design'.
The texels on the edge of the texture-image are placed on the border of the rectangle of the particle. So 'the area of influence' of those texels is smaller. If I didn't do this, then the texels on the edge would have to blend with non-existant ones outside the image, which would require me to check the bounds of every single pixel (slow) or add a border around the image which duplicates the outer texels. If you want to show your border texels, you need to manually add a border around your image. I chose this approach because it's the most flexible one. For example in additive mode, you'll want a black border around your image. With replace mode you'll want a 'duplicate pixels' border. With subtractive 2, you'll want a white border. Etc. Bilinear filtering is messy on the inside because of this. I did just change the code around a bit to be extra greedy with texels (causes a difference of half a texel or so), so as much border area as possible is covered, so perhaps it's better now. But if you want your border texels to be blended to the outside of the particle as well, you need to manually add a border. |
|
|
|
|
|
#44 |
|
Foorum King
Join Date: Jul 2003
Location: bar2000
Posts: 11,457
|
OK, thanks for the explanation!
Maybe you should write something about this in Help to prevent similar complaints in the future. |
|
|
|
|
|
#45 |
|
Major Dude
Join Date: Jan 2003
Location: Mumbai, India
Posts: 787
|
here you go: a simple shockwva example
|
|
|
|
|
|
#46 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
By the way, I've been experimenting with the 'large images crash Texer 2' and the results are weird.
Sometimes it works perfectly (I tried with both an 800x600 and a 4096x4096 picture) and sometimes it crashes in DDRAW.DLL (DirectDraw). The problem is that the error is caught by some internal handler (either Winamp or DDraw's) so I can't debug it easily. In any case, my code was written to go up to 32767x32767 pictures without problems. Above that, integer overflow occurs (I use signed 16.16 fixed point for the bilinear filtering). I'll try and see what's causing it, but to be honest I have no idea. The only thing I can think of is that a large image causes a certain process to take longer than it should, and a crash occurs during a normally instantaneous process. I put my image loader inside a so called 'critical section' that is exclusive with the rendering code, so that no race conditions can happen. Also, the particles will get clipped to the AVS window, so a huge image shouldn't offer any more problems than one as a big as the window. |
|
|
|
|
|
#47 |
|
Account Closed
Join Date: Apr 2001
Posts: 2,360
|
interesting.... i will create a preset using a 32767*32767 bitmap, and we'll see how long it takes to download.. hahahahah bwah haha
|
|
|
|
|
|
#48 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Heh well I didn't write it on purpose *just* so you could go up to that size, it's more a side effect of using fixed-point math.
|
|
|
|
|
|
#49 |
|
Account Closed
Join Date: Apr 2001
Posts: 2,360
|
but still think of the size of the file...
over a billion bmp pixels... it would be enornmus |
|
|
|
|
|
#50 |
|
Bin King
Join Date: Mar 2001
Location: Finland
Posts: 2,179
|
Any date set for the final version?´
Oh and btw. have you planned what will happen to Texer 1 ? Is it still okay to use it? i think there could be some effects that can't be done with texer II... Take Example the worm-o-rama arcade mix
|
|
|
|
|
|
#51 |
|
Major Dude
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
|
@Horsefly: If all pixels are of the same color, they should be easily zipped down to floppy size
![]() @UCD: Ff everything fails just make sure that large pictures won't be loaded or even better, are excluded from the load-image combobox. Maybe add a checkbox "use images above xxx*xxx too" so we could still use em on our own risk. This is the best solution imho as long as the error cannot be traced back. |
|
|
|
|
|
#52 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
The problem is that I have no idea what the limit is, and I think it's even CPU dependant.
|
|
|
|
|
|
#53 |
|
Major Dude
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
|
If i'ts caused by a thread-delay, noone can tell. You'd have to limit it to a reasonable size (eg 100*100) which should work on most pc's (we'd have to test it on some really od and crappy machines).
But how comes that this bug does only exist since texer2? The old version should work the same way. |
|
|
|
|
|
#54 |
|
Major Dude
Join Date: Jan 2003
Location: Mumbai, India
Posts: 787
|
My PC is perfectly suited for the test
http://home.iitb.ac*****~shreyaspotnis |
|
|
|
|
|
#55 |
|
Major Dude
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
|
Go ahead please
|
|
|
|
|
|
#56 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Magic: I have no idea, which is why it's so darn hard to debug. The fact that it crashes in DDRAW.DLL makes it even weirder, because Texer2 gets nowhere near DirectX.
On top of that, if it were a problem with not having the image loaded properly, it would crash in TEXER2.APE. The code only reads from the image data, so heap/stack corruption is out of the question. For now, I'm going to leave it like this. What is an 800x600 BMP doing in your AVS dir anyway?
|
|
|
|
|
|
#57 |
|
Major Dude
|
hehe something i just made up.
|
|
|
|
|
|
#58 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Sorry atero, I can't help it. AAAAAAAAAAAAAAAAAAGH.
y=y1/(2+z1)*w/h; Fix the aspect ratio please. It makes all those 3D scopes horribly squished. Like shreyas' avatar. Nice preset though, reminds me of Tripex. Speaking of which, it had a couple of really nice particle scenes that should be easy to recreate in Texer II. |
|
|
|
|
|
#59 |
|
Major Dude
Join Date: May 2003
Location: Australia
Posts: 1,353
|
ahh. very true.. i must have another good look at tripex now.
im starting to see many nice presets from here and ff using t2. The resizablenessness is yet another breakthough. 'Tis a great time to be an avser. |
|
|
|
|
|
#60 |
|
Major Dude
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
|
as it was always, sidd
. Though yes, some tripex stuff comes in view again now indeedy. Still, some of it is normal scopable as well. Though you would need a killer-computer for that.
|
|
|
|
|
|
#61 | |
|
Foorum King
Join Date: Jul 2003
Location: bar2000
Posts: 11,457
|
A wise man once said:
Quote:
|
|
|
|
|
|
|
#63 |
|
Major Dude
|
ooohhh! there's so much fun with T2.
![]() ![]()
|
|
|
|
|
|
#64 |
|
Account Closed
Join Date: Apr 2001
Posts: 2,360
|
any idea when the final is coming out?
|
|
|
|
|
|
#65 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
When justin adds the help API.
In the meantime I've sped up the Texer 2 a bit, and added a Wrap-around function, which wraps particles around the border of the screen (handy for tilable patterns). Haven't uploaded it yet though, but it's such a minor update that it really doesn't matter much. |
|
|
|
|
|
#66 |
|
Major Dude
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
|
so you're not going to let them put it standard with avs?
|
|
|
|
|
|
#67 |
|
Junior Member
|
Noooooooooooooooooooooooooooo, It maded my winamp crash, ne1 know y???
Help me pleeeeeeeez, I wana play wif it too.
|
|
|
|
|
|
#68 |
|
Account Closed
Join Date: Apr 2001
Posts: 2,360
|
texer 2 is in alpha stages... you use the program at your own risk
|
|
|
|
|
|
#69 |
|
Major Dude
|
Mrgrabber.....are you drunk??
|
|
|
|
|
|
#70 |
|
Major Dude
Join Date: May 2003
Location: Australia
Posts: 1,353
|
small bugsy
If you choose one of the examples, and then change the texer image, and then change to another example, the image goes back to the default image. This is fine, but the image listbox doesnt update. It still says whichever one you selected before, even though the default one is being used. Also, i got a crash once when i mouse scrolled very quickely thought the list of texer images. But it hasnt happened since. |
|
|
|
|
|
#71 |
|
Major Dude
Join Date: Nov 2002
Location: Arnhem, the Netherlands
Posts: 927
|
I haven't had any crashes, though the first mentioned 'problem' occurs over here as well.
|
|
|
|
|
|
#72 |
|
Wildly Confused
(Major Dude) Join Date: Jan 2003
Location: Minnesota
Posts: 1,204
|
Hmm, yes, very nice
"It's like saying give a man a Les Paul guitar and he becomes Eric Clapton, and of course that's not true, give a man an amplifier and a synthesizer and he doesn't become...whoever; he doesn't become us." - Roger Waters |
|
|
|
|
|
#73 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Fixed that XOR bug and the imagelist bug. Latest at:
http://acko.net/dump/texer2.zip Help won't work on currently available AVS pre's, you need the (unreleased) pre9 for this. |
|
|
|
|
|
#74 |
|
Major Dude
Join Date: May 2003
Location: Australia
Posts: 1,353
|
![]() did you say pre9???? |
|
|
|
|
|
#75 |
|
Major Dude
|
Yes, he did say pre9, now wake up
![]() Don't bother with the amazement, let's just say for now that pre9 allows kinda individual help files. As for pre10, that'd be v1.0, that'd be 3 days from now, 20/11/03. [soon to leave, sirs] |
|
|
|
|
|
#76 | |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
Basically the help button opens up the same help dialog as the help button in the standard AVS components (superscope/dm/...) with a Texer 2 specific tab along side the others. In case you didn't know, this is one of the new things in AVS 2.7.
Justin simply didn't implement any way for APEs to use this dialog until pre9. Here's the text in the texer 2 tab: Quote:
|
|
|
|
|
|
|
#77 | |
|
Account Closed
Join Date: Apr 2001
Posts: 2,360
|
Quote:
|
|
|
|
|
|
|
#78 |
|
Major Dude
Join Date: Feb 2002
Location: Leipzig / Germany
Posts: 859
|
@UCD
I recently installed the new DX9b and all of a sudden i could use large images! Crashes still happen now and then but basically it works now even with those f**king huge bitmaps. As you pointed out before, tex2 does'nt use DX, but check this yourselfes. Maybe you should add the advice to upgrade DX to your help. |
|
|
|
|
|
#79 |
|
Major Dude
Join Date: Jan 2003
Location: Washington State
Posts: 1,133
|
Are PNG's supported in winamp 5 AVS UCD?
|
|
|
|
|
|
#80 |
|
Whacked Moderator
Join Date: Jun 2001
Posts: 2,104
|
no.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|