Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Simple spinning cube with GUI.

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

So.. I''m not so hot at 3D stuff. I''ve built up a GUI and some other things in a 2D environment, and now, of all things, I need a spinning cube that can change colour and size. Currently I have a prerendered animation but I think using a 3D api instead of this would make sense. What are my options of integrating Direct3D into my project? Can someone point me in the right direction for getting started with this? I''m looking for all the details on projections and viewports and such. Can I make a cube render to a 200 x 200 pixel area on the screen but still update the rest of the scene with DirectDraw''s 2D blitting? Since I am not using massive amounts of 3D can I change the render state from 2D to 3D each frame? Any thoughts would be really helpful.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!