Sign in to follow this  

CubeMap example from SDK

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

Hi, I am trying to understand the example about cube environment mapping from directx sdk and it's driving me mad :| In that example there is a teapot and plane flying around it, I don't understand where the bitmap is being loaded. In the sphere-mapping example from SDK there is: "sphereMapTexture = GraphicsUtility.CreateTexture(device, "spheremap.bmp");" in the cube-mapping example there isn't such a call or something similiar, so why I can see reflections on the teapot and textured sky-box ? Many thanks Bartek

Share this post


Link to post
Share on other sites
The idea about the cube map is that it's a render target that's rendered into using existing scene geometry. I assume that in your post you're referring to an old sample, which I can't comment about, but the HDRCubeMap sample has the function RenderSceneIntoCubeMap which does this.

Share this post


Link to post
Share on other sites

This topic is 4247 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this