Recreate a structure in 3D

AlexCode

Well-known member
Joined
Jul 7, 2003
Messages
931
Location
Portugal
Hi!

Later on Ill need to implement something that will recreate a 3D structure, something that could resemble an FPS (First Person Shooter) game.
Must have walls, objects... etc, and the user will be able to walk around.

I need to prepare this work, so Im looking for some resources, code, books, whatever...

Thanks in advance.

Alex :p
 
I havent consider nothing...
This is a area where Ive never been, so every bit of help is welcome.

I dont know how to create the objects.
Imagine I want to draw a chair, my idea is to create a structure of classes that enable the objects drawing, and create a ChairClass that knows how to draw that object, in this case a chair.

But drawing as the camera moves may be a little resource consuming...

I really need some help here... something to point me the right develop logic.

Another thing I dont know is if I can create my objects in 3D Studio for example and use them on my app...

Thanks for the help!

Alex :p
 
A quick google search told me that its possible to convert 3ds files into .x files that I belieave can be read by Direct3D... right?
 
Shure I want that!! Thanks...

If its not asking too much, if you have a small sample using a .x file in .net I would be glad!!

Thanks!

Alex :p
 
Im sorry for the late reply but Ive just been very very very busy...

I just runed the project and a static cube with a VW picture is displayed on a blue background. Nice!

this weekend Ill do some experimenting with it... :)

Now, Do you have any project, still using .x files, but with moving objects?

Thank you very much!
Alex :P
 
Thanks!

Next week, probably, my work load/stress will lightly decreasy, then I will start digging on this...

Once again... thanks!

Alex :p
 
Heh, actually I just looked over my code. Im afraid that the class which I used for my camera (or controlled movement of the character) uses complicated math, and Im really unable to explain it :( (I think it requires some advanced trig / calculus)

Im sure you could simply do some translating (view tutorials) with:
D3ddev.transform.world = matrix.multiply(d3ddev.transform.world, matrix.rotationy(AngleAmount)))
would rotate the object along the Y axis.

Mess around :). If you ever need the camera class (again, you wont see any comments) given to me by tzOdem (he hasnt been on the forums in a while), then ill post it up for ya.
 
Back
Top