Search found 77 matches

by 10$man
Tue May 15, 2012 11:21 pm
Forum: Support and Development
Topic: Weird 3d rotation problems
Replies: 8
Views: 3209

Re: Weird 3d rotation problems

The formula is not just a simple return value. It calculates both a new x and z, or y and z value (depending if your rotating on the x or y axis). If you meant to put the math.floor()/ciel() around the new coord values, it will cause the next calculation for rotation to be way off. If I am mistaking...
by 10$man
Tue May 15, 2012 6:57 pm
Forum: Support and Development
Topic: Weird 3d rotation problems
Replies: 8
Views: 3209

Re: Weird 3d rotation problems

monkyyy wrote:u may want to post the whole code so people can see what ur talking about
u may want to read the whole post so you know what ur talking about :ehem:
10$man wrote:Here's the full code:
Perhaps you mean a .love file?
Here you go:
by 10$man
Mon May 14, 2012 9:34 pm
Forum: Support and Development
Topic: Weird 3d rotation problems
Replies: 8
Views: 3209

Weird 3d rotation problems

Hey guys, I was working on a 3d engine-ish kinda thing and I am running into weird problems. Well the object is spinning on the Y access it gets smaller and smaller in width, and when it spins on the X axis it gets smaller and smaller in height... I have no clue why that is... Here's the full code: ...
by 10$man
Sun May 13, 2012 2:50 pm
Forum: Libraries and Tools
Topic: DEFract 0.5 - 3D fractal explorer. Now with GUI!
Replies: 53
Views: 34163

Re: DEFract 0.3 - A 3D fractal explorer

Darn Canvases :death:

This looks really impressive though! I'm about to go do some research on this :D
by 10$man
Sun May 13, 2012 2:38 pm
Forum: Support and Development
Topic: Angle of gamepad stick
Replies: 5
Views: 3782

Re: Angle of gamepad stick

Hi. How to get the angle of gamepad stick? Thanks for replies. You wouldn't read the analogs as an angle, unless your talking about which direction your pushing the analog stick in. If that's the case you could do something like this: math.atan2((deadzone.y - current_position.y), (deadzone.x - curr...
by 10$man
Mon Apr 23, 2012 8:25 pm
Forum: Support and Development
Topic: Question about Shearing images
Replies: 4
Views: 1932

Re: Question about Shearing images

Love just uses plain old linear algebra and feeds a matrix to OpenGL. Thank you! This is what I was looking for. One more question on this topic. If I put in 1 for X then the shearing would set each pixel by y = 1 * x? If I put in 2 then y = 2 * x? Is that correct? If this is the case, then it woul...
by 10$man
Sun Apr 22, 2012 10:50 pm
Forum: Support and Development
Topic: Question about Shearing images
Replies: 4
Views: 1932

Question about Shearing images

Hello, I am new to these forums and first of I would like to say I find Love (sorry, can't put that little O thing) to be an excellent scripting language! I am moving to this from PSP lua, So I already have the basics of how this works. But I had a project that a psp simply couldnt handle and I want...