Search found 206 matches

by xXxMoNkEyMaNxXx
Tue Sep 24, 2013 8:52 pm
Forum: Support and Development
Topic: save lua-table to lua-script
Replies: 18
Views: 7942

Re: save lua-table in lua-script

I'm eager for criticism on my table serializing function! local next=next local type=type local tostring=tostring local format=string.format local sort=table.sort local concat=table.concat local function serialize(t) local TYPE=type(t) if TYPE=="boolean" or TYPE=="number" then re...
by xXxMoNkEyMaNxXx
Tue Sep 24, 2013 8:43 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11941

Re: Perfect Image Transformation

Updated to potentially work for more graphics cards, and increased performance. Updated the link in my OP.
by xXxMoNkEyMaNxXx
Tue Sep 24, 2013 5:18 pm
Forum: Libraries and Tools
Topic: Perfect Image Transformation
Replies: 27
Views: 11941

Perfect Image Transformation

This is an idea I've had for a very long time, and I finally figured out how to do it. Basically what it does is pretend that the image is already offset, rotated, and scaled, and does a weighted average of each colour relevant to the pixel being rendered, and weighs it based on the common area. The...
by xXxMoNkEyMaNxXx
Mon Sep 23, 2013 4:53 am
Forum: General
Topic: 4d
Replies: 21
Views: 11368

Re: 4d

I find my program a great deal more interesting to look at than that :P I found that I do have similar rotations in my program by using the numpad keys 1-6, so it's not entirely wrong. Uhm, where did you even get that idea? I thought of the idea. My thinking: "Why not represent animated 3D mesh...
by xXxMoNkEyMaNxXx
Sun Sep 22, 2013 7:41 pm
Forum: Libraries and Tools
Topic: Monocle: Monaco-style line of sight engine
Replies: 33
Views: 18206

Re: Monocle: Monaco-style line of sight engine

Looks like there's a rendering glitch when x==y (or just at 8.468,8.468)
by xXxMoNkEyMaNxXx
Sun Sep 22, 2013 7:13 pm
Forum: General
Topic: 4d
Replies: 21
Views: 11368

Re: 4d

Well, I'm rotating your viewing angle instead of the object. I don't know if anyone has done this before, but I agree with you, it doesn't look right. What's happening, is that I solved the equation for the intersection of the four dimensional ray in the direction of the pixel with an animated trian...
by xXxMoNkEyMaNxXx
Sun Sep 22, 2013 6:56 am
Forum: General
Topic: Image vanishes on its own accord
Replies: 2
Views: 1723

Re: Image vanishes on its own accord

Thank you grandly. One of my attempts to fix this was to call the garbage collector xD My project is a perfect image offset rotate + scale -- colouring the pixels using a weighted average the based on the area of intersection with the pixel being rendered. It is totally over the top, a.k.a. my style...
by xXxMoNkEyMaNxXx
Sun Sep 22, 2013 6:07 am
Forum: General
Topic: 4d
Replies: 21
Views: 11368

Re: 4d

I've done some work with 4D: https://love2d.org/forums/viewtopic.php?f=5&t=32782 Not sure if I got the cubic roots thing right though. (If you happen to be looking through time at the surface of a triangle with vertices sliding linearly between event pairs, it can end up crossing your gaze three...
by xXxMoNkEyMaNxXx
Sun Sep 22, 2013 5:31 am
Forum: General
Topic: Image vanishes on its own accord
Replies: 2
Views: 1723

Image vanishes on its own accord

This is an ongoing problem in many of my projects. I go to test something, the test looks good, I leave it running. Poof! Whatever was there is no more and it's a black, empty window of sadness. Example: https://love2d.org/forums/download/file.php?id=7239 (From https://love2d.org/forums/viewtopic.ph...
by xXxMoNkEyMaNxXx
Mon Aug 26, 2013 7:15 pm
Forum: Libraries and Tools
Topic: Rubik's Cube Simulator [Turning N.Y.I]
Replies: 13
Views: 5654

Re: Rubik's Cube Simulator [Turning N.Y.I]

There is a specific face colouring that all proper cubes use. I am using it here, and maybe it's just your/my screen, but the orange looks orange to me. :huh: