Jump to content
  • Advertisement
Sign in to follow this  
williamOnGames

How to load two or more X file into a same window?

This topic is 4615 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

What i am trying to do is: i will load two or more X files(a X file could be a animation or a 3D model)and a webcam stream into a single window. I will have the choice of editing (scale, translate) one of the X files at any time. Any idea how i could do this? how do i load two or more X file into one window at the same time? Thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
You need a data structure to store the X-File data. The DXSDK has a Mesh class with a FromXFile function for this. Then, if you want to render multiple models which you store in X-Files just have a Mesh object for each.

The web-cam video stream will need to be handled using the DirectShow part of the DirectX API.

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!