Construct is officially 3d enabled!!!

Post your own tutorials, guides and demos.

Post » Fri Oct 02, 2009 12:07 am

[color=#FF0000:2fv6nmk0][size=200:2fv6nmk0]YEW HEARD M3[/size:2fv6nmk0][/color:2fv6nmk0]



screenshot for awesomeness.

this is basically a bunch of math i had to figure out on my own for 3d rotations and offsetting, which can rotate points offset from an origin, around that origin in 3d space.
you can then build any 3d shape you want (i made a box here for simplicities sake) out of faces made from sprite distorted sprites, attached to certain points ID values.

lucid said he might include the math i came up with to make this into his new super pr0 awesome plugin, which means u fellas will be able to play with it too!

download here: http://dl.getdropbox.com/u/1010927/3D%20Demo.exe

controls are, click and drag to move box around in x and y, click and drag knobs on wheel sliders to control the different rotations and and move box along z. thats it folks!
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Fri Oct 02, 2009 12:21 am

Cool!!
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Fri Oct 02, 2009 12:23 am

whoa, did lucid really say that?

just kidding
awesome work again quazi
I don't know if it's supposed to be like that, but the red axis doesn't rotate with the others
because of this you can make two axises overlap, and become the same

definitely going to include this in the math portion of thangs
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri Oct 02, 2009 12:40 am

red axis is designed like that, since its the "root" axis no other axis effect it, its the most intuitive way to rotate the object IMO, since you can control its rotation in a very understandable manner (you rotate the blue axis which rotates up and down). the green axis is "roll" along the vector, so if you point it so that it faces straight down/up, it will be rotating around a vector that is essentially a Yaxis

oh yah something which slipped by me is that the green axis seems to be rotating the wrong way, ill need to fix that later.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Fri Oct 02, 2009 1:48 am

that's sooooo cool! i'm quite amazed even if it IS just a tech demo!
B
2
S
2
G
5
Posts: 293
Reputation: 2,236

Post » Fri Oct 02, 2009 2:06 am

Just so you guys know, that cube in middle isn't 3d box, It's custom textured polygons! :mrgreen:
edit: oh wait. he said that in the description. :roll:
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Fri Oct 02, 2009 3:18 am

How would collisions work with this type of 3D object since its a combination of several objects (if I understand right)?
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Fri Oct 02, 2009 3:39 am

it really depends what you're trying to do.

youd need to test if another object/point is within the value space of the object. theres no simple way to do it.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Fri Oct 02, 2009 9:35 am

What in the name of-

...

HOLY HELL. Awesome! Though, I imagine trying to actually build anything in 3D more complicated than a box is gonna, well, be somewhat difficult.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Fri Oct 02, 2009 9:42 am

Intriguing...
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Next

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests