Search found 206 matches

by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 9:37 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11939

Re: Perfect Image Transformation

My intuition tells me that this is more mathematically correct than mipmapping, though I couldn't prove it. Also, this would be visually similar to mipmapping, but more computationally complex. This is why I imagine this being used in image manipulators rather than real-time applications. The prepro...
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 7:55 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11939

Re: Perfect Image Transformation

I still haven't made special cases for near-right angles, so it's still dividing by 0. Use the right click to manipulate the image, press space to compare sampling techniques (with the download in my previous post). It seems to work better on my Ubuntu Linux system. Pressing space for the next shad...
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 7:39 pm
Forum: Support and Development
Topic: Get velocity of mouse
Replies: 24
Views: 7581

Re: Get velocity of mouse

Nixola wrote:x/dt*16 == (x/dt)*16 == (x*16)/dt
In math:
>true
In floating point:
>maybe true

:crazy:
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 6:16 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11939

Re: Perfect Image Transformation

I still haven't made special cases for near-right angles, so it's still dividing by 0. Use the right click to manipulate the image, press space to compare sampling techniques (with the download in my previous post).
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 12:49 am
Forum: Support and Development
Topic: Get velocity of mouse
Replies: 24
Views: 7581

Re: Get velocity of mouse

I see no brackets in his post :monocle:
by xXxMoNkEyMaNxXx
Thu Sep 26, 2013 12:08 am
Forum: Support and Development
Topic: Get velocity of mouse
Replies: 24
Views: 7581

Re: Get velocity of mouse

That will have the opposite effect of what you intend. You're multiplying by 16.
by xXxMoNkEyMaNxXx
Wed Sep 25, 2013 8:45 pm
Forum: Support and Development
Topic: save lua-table to lua-script
Replies: 18
Views: 7939

Re: save lua-table in lua-script

it doesn't deal with cycle, so local T = {} T.ref = T serialize(T) will cause an infinite loop. Yikes! I didn't think of that. At a glance, your serialize function fails to save boolean values correctly. tostring() on a boolean value will return 0 or 1, not "true" or "false". Th...
by xXxMoNkEyMaNxXx
Wed Sep 25, 2013 7:45 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11939

Re: Perfect Image Transformation

The differences are most striking at extremities: (Scale down or up lots)
https://docs.google.com/file/d/0B7cKjiw ... sp=sharing

EDIT: Forgot to say, press spacebar to change shaders!
by xXxMoNkEyMaNxXx
Wed Sep 25, 2013 7:11 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11939

Re: Perfect Image Transformation

when I start it up and zoom using the mouse wheel (without moving the view first) I get lots of vertical, black stripes through the image, and white pixel errors when zooming in some more. This doesn't happen when I use right click to zoom, however... I haven't made special cases for near-right ang...
by xXxMoNkEyMaNxXx
Wed Sep 25, 2013 7:06 pm
Forum: Support and Development
Topic: Finding the distance between two points
Replies: 15
Views: 21744

Re: Finding the distance between two points

There are no units.