Jump to content
  • Advertisement
Sign in to follow this  
luasitdown

Tools/Data in engine

This topic is 4843 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Tools/Data are important in game dev. Data that models, sounds etc.. is created by Tools. But how about scene description? I know many level editors create scene. but maybe many game use code to create scene. for example: movable * hero = sceneMgr->create(pos,orientation,etc...); movabel * camera = sceneMgr->create(pos,orientation,nearclip,farclip); so what is used popularly for scene description?

Share this post


Link to post
Share on other sites
Advertisement
Not sure if I understood your question right, but here's my take.

I use a text file which contains lines somewhat like this:
Mesh "filename" <position> <rotation> "texture"

I feed this line into a factory which in turn gives me a Node which I add into my root node.

It is an easy way to change what you want in your scene. However it only does the actual loading and no game logic related things (triggers etc.).
It could of course be extended to do that as well, but if you want more complex stuff perhaps you should also have a look into scripting languages.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!