Jump to content
  • Advertisement
Sign in to follow this  
prux

CreateTexture with D3DFMT_V8U8 fails

This topic is 3878 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, Im trying an SDK example (DX 8.1, Bumpmapping/bumplen) but Ive just got an error. Im using geforce2 MX card. When I try to create the bump map: Device.CreateTexture(128,128, 1, 0, D3DFMT_V8U8, D3DPOOL_MANAGED, BumpMapTexture); it says invalidcall. What to do? If I switch the device to REF, it renders nothing. Maybe my device doesnt support bumpmapping - but then where is the software emulation?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by prux
Hi,

Im trying an SDK example (DX 8.1, Bumpmapping/bumplen) but Ive just got an error. Im using geforce2 MX card. When I try to create the bump map:

Device.CreateTexture(128,128, 1, 0, D3DFMT_V8U8, D3DPOOL_MANAGED, BumpMapTexture);

it says invalidcall. What to do? If I switch the device to REF, it renders nothing. Maybe my device doesnt support bumpmapping - but then where is the software emulation?
Look at the card caps spreadsheet in the SDK (SDKRoot\Samples\C++\Direct3D\ConfigSystem\CardCaps.xls) and you'll see that the GeForce 2 doesn't support that format. The reference rasterizer does, but that doesn't mean the rest of the code is correct. Are you using the unmodified sample?

Share this post


Link to post
Share on other sites
Yea its unmodified. The "bumpunderwaters" doesnt works neither, but most sample do. And choosing "D3DDEVTYPE_REF" flag at CreateDevice results a black screen

And this: DCaps.TextureOpCaps & D3DTEXOPCAPS_BUMPENVMAP != 0 tells me that bumpmapping is supported

[Edited by - prux on February 6, 2008 7:53:52 AM]

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!