Archive: What's that gap?


9th October 2004 00:11 UTC

What's that gap?
Can someone please tell me why this ssc-square has this ugly gap on the lower right edge? It's against all my knowledges of maths... :confused:

This ssc renders 5 points:
top-left
top-right
bottom-right
bottom-left and then again
upper-left (to make it a closed square when drawing lines)

It seems as if the lower right point simply disappears when switching drawmode. You will see what i mean, if you add the lines:

FRAME:
t=t+1;
drawmode=t%2;


9th October 2004 00:13 UTC

i hate it... :mad:
i f***ing hate it!
My forefinger is too fast...


9th October 2004 16:44 UTC

The point doesnt 'dissapear' otherwise there wouldn't be a line drawn to and from it would there o_o

As far as I know its an AVS bug, I can't remember if its a rounding error or not, but it probably is. Use your new coding skillz to make a pixel rounding fix.. I'd do it myself but I'm not in front of AVS


9th October 2004 18:00 UTC

So after all its just a simple bug, a rounding error... What pleasant human behaviour. :)

Besides: to 'what' does AVS has to round? (resolution?)
And wich values are affected? (coordinates, pixels to be drawn?)

Thanks for you explanations!


10th October 2004 08:30 UTC

If I remember correctly, AVS rounds up to the nearest pixel, not sure though. I didn't look at your preset, but it could be a problem with render mode, replace versus maxium/additive etc..


10th October 2004 12:06 UTC

It seems as if the render mode doesn't have effect on this bug. Tried out nearly every combination but the gap was still there.

If avs, as you said, rounds to match the nearest pixel, then shouldn't there be a specific resolution or screensize in which the rounding error doesn't occur?
But to find that one out, surely is a thankless and time-wasting task for a dreary day. No task for me, hence. ;)


10th October 2004 19:12 UTC

Its similar to this I think:

http://forums.winamp.com/showthread....ight=timescope