Search found 54 matches

by adge
Mon May 02, 2016 2:02 pm
Forum: Support and Development
Topic: How to represent 3d objects in 2d
Replies: 16
Views: 14532

Re: How to represent 3d objects in 2d

If anybody is interested, this is what I came up with for now: https://love2d.org/forums/viewtopic.php?f=5&t=82207 Its just simple 3d to 2d projection. There is now camera view or stuff like that. I still need to implement that. I want the view to be adjustable and the object to be rotatable on ...
by adge
Mon May 02, 2016 1:59 pm
Forum: Games and Creations
Topic: simple 3D to 2D projection
Replies: 7
Views: 11738

simple 3D to 2D projection

Hey there! I started a litte project to learn the basics of 3d. Right now you can load 3 different models with keys '1', '2', '3' pyramid, sphere and cube. You can scale them up with the arrow keys 'up' and 'down'. Klick and drag rotates the object. Right now there is no camera view matrix or someth...
by adge
Mon May 02, 2016 10:44 am
Forum: Support and Development
Topic: Procedural animation?
Replies: 5
Views: 3078

Re: Procedural animation?

Well i don't quite get that. The way I would do it: Have a pixel perfect collision system that checks beneath the body if its a flat plane or stairs. If its a flat plane it determines the step points and draws two lines from the lower body to these points. If the body moves only the endpoints of the...
by adge
Mon May 02, 2016 9:06 am
Forum: Support and Development
Topic: Procedural animation?
Replies: 5
Views: 3078

Procedural animation?

I'm just curious how would you do something like that?

https://twitter.com/LorenSchmidt/status ... 4802542592

I think it would be easy to do it on a plane but with stairs? Would you use different types of stairs and then check for them or would you use pixel perfect collision?
by adge
Wed Apr 27, 2016 8:26 pm
Forum: Support and Development
Topic: 3D rotation
Replies: 3
Views: 2645

Re: 3D rotation

Well this sound ugly but it works! Thanks man!
by adge
Wed Apr 27, 2016 5:20 pm
Forum: Support and Development
Topic: 3D rotation
Replies: 3
Views: 2645

3D rotation

Hey there! I'm trying to get a basic rotation working. I have a 3D cube and I want to rotate it around the z axis of the cubes middle point. However it seems to rotate around the the origin point of the canvas. Got a lil frustrated so I'm asking for help. Whats wrong with these formulas? node0 = { 1...
by adge
Wed Apr 20, 2016 12:57 pm
Forum: Support and Development
Topic: How to represent 3d objects in 2d
Replies: 16
Views: 14532

Re: How to represent 3d objects in 2d

Probably not much at first. Will take me some time to get into it. I will upload it if I managed to create some "interesting artful" stuff :D
by adge
Wed Apr 20, 2016 12:36 pm
Forum: Support and Development
Topic: How to represent 3d objects in 2d
Replies: 16
Views: 14532

Re: How to represent 3d objects in 2d

Thank you very much! This will really get me started. Works very well!
by adge
Wed Apr 20, 2016 11:07 am
Forum: Support and Development
Topic: How to represent 3d objects in 2d
Replies: 16
Views: 14532

Re: How to represent 3d objects in 2d

I'm pretty used to math it wouldn't be the problem. I know how to use vectors matrices etc. I know how 3d to 2d projection works I just don't know what techniques are used which are the most performant ones and stuff like that. I really would start off with just a small pyramid in the center of the ...
by adge
Wed Apr 20, 2016 9:11 am
Forum: Support and Development
Topic: How to represent 3d objects in 2d
Replies: 16
Views: 14532

How to represent 3d objects in 2d

So I came across a few pico-8 projects that actually display 3d models and I thought, I want to know how to do that. First of all which types of 3d techniques are there? No matter which type do they all have to use 3d to 2d projection in order to draw the stuff on the screen? Or is there also "...