Link to home
Start Free TrialLog in
Avatar of joeDream
joeDream

asked on

How to create 3D Worlds.

Hi,
I've made a scene of a room in 3D Studio MAX and now i would like a user to be able to walk around my room...the user would be using his mouse and arrow keys to navigate. How do i go about and do this?
Avatar of Lischke
Lischke

Oh this is not trivial. Maybe the easiest option is to convert the file to VRML (don't know if 3DS MAX can export this). VRML can be viewed and walked through with any browser which is VRML aware (IE4+, don't know about Navigator).

Another option is to write a program which can import the model and display it, well, sort of. You need to export the file in 3DS format and can then use some of the toolkits available to import it into your own program.

Would you like to write your own application? If yes, in which language (I have a C and a Delphi import library for 3DS files).

Ciao, Mike
Avatar of joeDream

ASKER

well, it would be better if i could write my own application and i do have experience programing in C. Is there any site that goes deep into this kind of programing?
Well, for the 3DS file toolkit (3dsftk31) go to my site: www.lischke-online.de

For samples etc. you won't need to search very long on the net, There are so many resources like:

- www.codeguru.com
- www.efg2.com/lab
- http://www.magic-software.com/
- http://www.saturn-online.de/~cosmo/
- http://www.sgi.com/Technology/OpenGL/

etc.

Use any of the normal search engines like Altavista and you'll get thousands of links.

Ciao, Mike
ok...i downloaded the 3DS_Import_binaries.zip file from Lischke's site and imported some .3ds files...and i was very impressed! But the thing is, the models i imported could only be rotated and zoomed...what i want is a kind of walkthrough...just like in games.
yes, 3dsmax can export scenes to 3ds format..so i'll do that and then i would use the 3ds file toolkit to import the 3ds file into my program. The question is, if i do all of this, would the walkthrough be possible if i used the 3ds file toolkit. if yes, how do i use the toolkit in C?
try out this website:
www.programmersheaven.com
Since VRML doesn't support much detail of the typical room, it wouldn't be a good solution for this problem...
Hi all, I wish you a happy new year :-)

Joe, the walk throug has nothing to do with the file format you are stroring your data in. The 3DS viewer I wrote is based on OpenGL which is also very suitable to to what you'd like to do. Just set up the look-at parameters (which include the viewer position) and your done. Update these parameters to view your data however you like... Using the file toolkit you can import 3DS files into your program. The main problem for you is probably to send those data to the OpenGL pipeline.

Ciao, Mike
ASKER CERTIFIED SOLUTION
Avatar of sparcus
sparcus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Very polite, sparcus, thank you :-( Do you have *any* idea why I haven't answered the question yet? And what are you talking about? We are talking about creating a walk-through not a game engine, so read the question before you answer the next time!

Mike
Hmm, if I should have posted a "comment"
and not an "answer" than I appologize,
I'm new on this site so I maybe made a
mistake there...

And I never said anything about game
engines, now did I? A 3d-engine is not a game engine. What joeDream needs *is* a 3d engine that makes it possible for a user to walk around in his scene in realtime. The engines on the site I mentioned can be used for that.
Okay, you are right. I made a mistake too :-) I just was so surprised by the sudden answer that I quickly shot a comment thereafter...

Btw, welcome at E-E! Hope this is what you like...

Ciao, Mike