Results 1 to 3 of 3

Thread: I have some problems

  1. #1

    I have some problems

    I have a problem I see objects with is under other object and is rendered after it :?

  2. #2

    I have some problems

    Add

    EnableAutoDepthStencil := true;
    AutoDepthStencilFormat := D3DFMT_D16;

    to your Direct3D PresentParams. Looks like you need a Z-Buffer.

    Also, when you call Direct3DDevice.Clear, do it like this:

    Direct3DDevice.Clear(0, nil, D3DCLEAR_TARGET or D3DCLEAR_ZBUFFER, FillColor, 1.0, 0);
    Ask me about the xcess game development kit

  3. #3

    I have some problems

    It work Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •