Results 1 to 6 of 6

Thread: Changing CULL Mode

Threaded View

  1. #1

    Thread Starter
    PowerPoster Halsafar's Avatar
    Join Date
    Jun 2004
    Location
    Saskatoon, SK
    Posts
    2,339

    Changing CULL Mode

    Showing my ability to apply the knowledge I have learned while D3D'in I figured out how to fix my skysphere.

    The sphere generation code was well written by someone. It was for OpenGL tho. It was also created to create a dome which is to be see from the outside.
    Well I needed a Dome that can be seen from the inside. So after re-arranging the vertex allocation, or trying to create a dome with a negetive radius I saw each had some graphical problems....Neither worked for me.

    SO

    I decided to change the CULL mode to None, then render the skysphere, then change it back to CCW.

    Works like a charm.

    So my questions are:

    D3DCULL_CCW -- remove counter clock wise triangles?
    D3DCULL_CW -- remove clockwise triangles?
    D3DCULL_NONE - Remove nothing
    D3DCULL_FORCE_DWORD -- What the f___???

    Does changing the cull mode cause any lag? doing it each frame?
    Is there a better way?

    What changing CULL modes should I save the old mode, or not?
    Will it matter?
    Can it be different than any of the 4 modes above????
    Last edited by Halsafar; Dec 2nd, 2004 at 03:33 PM.
    "From what was there, and was meant to be, but not of that was faded away." - - Steve Damm

    "The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm

    "When you do things right, people won't be sure if you did anything at all." - - God from Futurama

Posting Permissions

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



Click Here to Expand Forum to Full Width