• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

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?
0
joeDream
Asked:
joeDream
  • 5
  • 2
  • 2
  • +2
1 Solution
 
LischkeCommented:
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
0
 
joeDreamAuthor Commented:
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?
0
 
LischkeCommented:
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
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
joeDreamAuthor Commented:
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?
0
 
sillycornCommented:
try out this website:
www.programmersheaven.com
0
 
techpageCommented:
Since VRML doesn't support much detail of the typical room, it wouldn't be a good solution for this problem...
0
 
LischkeCommented:
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
0
 
sparcusCommented:
If you want to write your own 3d engine the following site is a good starting point:

http://www.neutralzone.org/home/faqsys/

It has a lot of tutorials, articles and links about realtime computer graphics.

But writing your own 3d engine will take a lot of time, a quicker solution would be to use one of the engines on:

http://cg.cs.tu-berlin.de/~ki/engines.html

This is a website that gives an overview of all the available 3d engines (freeware/shareware and commercial ware).
0
 
LischkeCommented:
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
0
 
sparcusCommented:
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.
0
 
LischkeCommented:
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
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 5
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now