Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


mBird

Member Since 28 Jul 2012
Offline Last Active Private

Posts I've Made

In Topic: Windows 8 Direct3D Getting Started Help -- Two Cubes

28 July 2012 - 09:38 AM

Hi --

I found my mistake and got it working. Thanks for your time and help.

Yes Tutorial 5 was very helpful!
Windows 8 has no SDK so the samples/tutorials are not as good but from your post I realize I can use the older DirectX 11 SDK as a learning/sample point!

In Topic: Windows 8 Direct3D Getting Started Help -- Two Cubes

28 July 2012 - 08:46 AM

Hi --

That's the thing... getting a single cube up is no problem and I have a single rotating cube at the momement. But I don't understand how to add another cube?

I create my cubes vertices and indeces in CubeRenderer::CreateDeviceResources().

I see how to do the single cube in CubeRenderer::Render() but I don't see how to integrate the second cube that I made in CubeRenderer::CreateDeviceResources().

If I had that as a sample (i.e two cubes) it would be a great launching point to then go back and learn the individual pieces.

Thank you!

p.s. please note this is for Metro Windows 8 Direct3D in VS 2012RC

PARTNERS