camera idea for 3D

New releases and general discussions.

Post » Fri May 06, 2011 10:51 pm

hi all, don't know if i post this at the right place, but here's an idea for the one who's working one the 3D part of construct, i know that right know it is hard to code a 3d game because you have to move the world around the player, my idea, i don't know how hard it would be to implement, is to add a feature to be able "rotate" the camera/view/ on the other axis(side view instead of top), this way it would be much easier to make a 3d games with it, this way 3d could work almost the same as 2d, your stage would be in top view instead of having to code it to move around you.

hoping it's clear enough so that you can understand, sorry for my english i'm french,

edit: forgot to say that to make it clearer, is that almost all behaviors would be compatibles this way, 8 ways movement and everything could still be use as y/x would be the front/back/sides of the object
B
2
G
1
Posts: 18
Reputation: 486

Post » Fri May 06, 2011 11:18 pm

I second the request to be able to rotate and position the camera in 3D.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri May 06, 2011 11:54 pm

or to be able to assign it to the face of a 3d box used as a camera

edit: aww if i knew c++ more i would have tried to make a plugin, but i just downloaded the sdk's and i have absolutly no idea were to start :(
B
2
G
1
Posts: 18
Reputation: 486

Post » Sat May 07, 2011 5:43 pm

a camera facing towards you is the same from top left right bottom back front. the only thing you need to alter is your graphics. to be viewed from that angle. saying you have a problem with the camera facing top when you want a side view, is like complaining the 2d plane in construct is only letting you make top down games.

As for a camera thats not oriented on an axis, thats more of a "should you be using construct for 3d games" kind of question.

EDIT: misread your post a bit sorry. any way you look at it, making a true 3d game where you move around in 3d is not the best idea in construct, and its never going to be easy, because 3d isn't. construct isn't made for fully fledged 3d games, it just has some 3d functionality. if you really wanna do it, learn the rotation math yourself, its not "easy", but its not all that difficult either.

the wolfenstein 3D demo and my mode7 example do exactly what your asking for with events. and in not at all that many.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sat May 07, 2011 8:18 pm

i looked at the wolfenstein demo already, but it seems more to me to be the "world" that moves around it and not the "camera" that moves around,and besides i don't want to achieve a big commecial quality game, "minecraft" style graphics is more than enough to start with, anyway i'll try to find a work around by myself thanks anyways
B
2
G
1
Posts: 18
Reputation: 486

Post » Sun May 08, 2011 12:11 am

its essentially the same thing to rotate the world. theres no such entity as a "camera", you'll always be rotating and translating the vertex cloud around a fixed point. that point is the "camera". in anycase, you wont be able to actually manage the 3d programming in a game if you can't make a simple camera using events. theres no EASY way to do 3d programming in construct, and i'm skeptical there ever will be in the near future. The quality of the graphics have nothing to do with it.

you can only rotate the world. there is no other way around that fact.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun May 08, 2011 1:00 am

well i'm sure that it must be possible to develop a "3d camera" behavior plugin that could let you choose a side of a 3Dbox that would then draw to the screen what is in front of that face, but the thing is to do it... i would like to do it, but do not have enough knowledge to do so, i'm still studying the sdk's, but i'm far from being able to do something, i only found until now where the window is builded in the VRuntime.h, that itself uses RenderCommon.h, now i'm looking for the 3dbox, to see if i could find a way to refer to one of it's face, and then i'll have to figure out how i need ro build what i want

edit: just found out the 3Dbox i think it's Quad.h

edit2: i think that i wont be able to do it on my on, anyway i think i just found a program specially made to make 3d games, 3D rad, if somebody is intested here's the link: http://www.3drad.com/
B
2
G
1
Posts: 18
Reputation: 486

Post » Sun May 08, 2011 4:11 am

no, you can do it with events. its 3d rotation. why do you even need anything relating to a 3d box object. just get the yaw pitch roll, and theres no reason to even use a 3d box, since yaw pitch and roll are all just numbers.

why does a camera relating to a 3d world need to refer to a 3d box object at all???
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun May 08, 2011 4:22 am

Quazi, if you could move a camera around as simply as you move a box around, I'm sure you could see the advantage. Not everyone is crazy good at math to be able to position all objects in world space ;). Hell, I don't even understand David's old Wolfenstein demo, and that was relatively simple 2.5d...
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun May 08, 2011 9:16 am

If CC could do this, I'd be a very happy user.

http://www.youtube.com/watch?v=ZU54Cj9sfs4
Make use to 3D models for 2D.5 games.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests