Results 1 to 13 of 13

Thread: Roof Z-Fighting

  1. #1
    Join Date
    Apr 2004
    Location
    LOCKPORT NY
    Posts
    18,655

    Roof Z-Fighting

    Any ideas why I'm getting Z-fighting for my roofs ???

    Lew
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ROOF_Z_FIGHTING.jpg 
Views:	208 
Size:	71.6 KB 
ID:	35118  
    Lew Buttery
    Castle Golden Design - "We make dreams visible"

    Lockport, NY
    716-434-5051
    www.castlegoldendesign.com
    lbuttery at castlegoldendesign.com

    CHIEF X5 (started with v9.5)

  2. #2
    Join Date
    May 2002
    Location
    Houston, Texas
    Posts
    7,619
    Not really. I don't think I've had that problem with roofs. Sorry. I think this is the second time I've seen a thread on this today.
    Tommy Blair
    Houston, TX.
    (713) 467-0579
    tblair55@sbcglobal.net
    Avid Chief User V8-X5
    Lead Houston User's Group
    HP Dv7t Quad Edition Laptop
    W7 Home Premium, 64-Bit
    2nd Gen. Intel Quad Core i7-2720QM 2.2 GHz (turbo boost to 3.3 GHz)
    1GB Radeon HD 6770M GDDR5
    8GB DDR3 System Memory, 640GB 7200rpm Hard Drive
    (2) 2.0 ports, (2) 3.0 ports
    17.3" Monitor (1600x900)

  3. #3
    Join Date
    Apr 2004
    Location
    LOCKPORT NY
    Posts
    18,655
    second time I've seen a thread on this today.
    __________________



    Tommy:

    I did also and my reply was that maybe the house height was out of sync with the roof ???


    I checked mine and rebuilt the roof and it's still there ???

    Lew
    Lew Buttery
    Castle Golden Design - "We make dreams visible"

    Lockport, NY
    716-434-5051
    www.castlegoldendesign.com
    lbuttery at castlegoldendesign.com

    CHIEF X5 (started with v9.5)

  4. #4
    Join Date
    Apr 2005
    Location
    RI
    Posts
    16,533
    Lew
    What version are you using?
    Can you post the plan or send it to me?
    I had that before and fixed but don't remember how.
    .........

    Allen Colburn Jr.
    Pascoag RI 02859
    Residential Design Drafting/Framer

    Drafter for:
    http://www.artformhomeplans.com/

    Chief Architect X4






  5. #5
    Join Date
    Apr 2004
    Location
    LOCKPORT NY
    Posts
    18,655
    Allen:

    Why my version



    It's gone now ???


    thanks anyways


    Lew
    Last edited by lbuttery; 10-29-2009 at 03:22 AM.
    Lew Buttery
    Castle Golden Design - "We make dreams visible"

    Lockport, NY
    716-434-5051
    www.castlegoldendesign.com
    lbuttery at castlegoldendesign.com

    CHIEF X5 (started with v9.5)

  6. #6
    Join Date
    Apr 2005
    Location
    RI
    Posts
    16,533
    Maybe that's how I had fixed..
    .........

    Allen Colburn Jr.
    Pascoag RI 02859
    Residential Design Drafting/Framer

    Drafter for:
    http://www.artformhomeplans.com/

    Chief Architect X4






  7. #7
    Join Date
    Jan 2000
    Posts
    4,161
    OpenGL uses a class of algorithms that employ what is known as a Z buffer. The Z buffer is a finite number of layers that represent all the distances from the front clipping plane to the back clipping plane of the model.

    Think of it as the thin slices of meat that you get at the deli or slices of bread.

    Since there are a fixed number of slices (32K for most video cards) proper tuning of the thickness of each slice is important. Normally we calculate a front and back clipping plane that works well. However, when you move the camera very far away from the model as in the above case occasionally that calculation doesn't work real well.

    Moving the front clipping plane further away from the eye point of the camera will put more slices into the area where your model is and should correct the z-fighting. Normally the front clipping plane will be about 24" out. Setting it to about 10' or so in your example should correct the issue.
    Doug Park
    Principal Software Architect
    Chief Architect, Inc.

  8. #8
    Join Date
    Apr 2004
    Location
    LOCKPORT NY
    Posts
    18,655
    Doug:

    thanks for the clarification

    Lew
    Lew Buttery
    Castle Golden Design - "We make dreams visible"

    Lockport, NY
    716-434-5051
    www.castlegoldendesign.com
    lbuttery at castlegoldendesign.com

    CHIEF X5 (started with v9.5)

  9. #9
    Join Date
    Jun 2008
    Location
    Comox Valley, BC, Canada
    Posts
    2,730
    Can someone clarify for me what Z-fighting is? I'm sure it has nothing to do with the UFC, but that is all I am certain of.
    Rod Kervin
    Kervin Home Design
    Courtenay BC
    p. 250-871-0316

    If a picture is worth a thousand words, and a video is worth a thousand pictures, then uploading the chief file is worth a thousand videos.

  10. #10
    Join Date
    Apr 2005
    Location
    RI
    Posts
    16,533
    Hi Rod
    I believe it is when you see two materials in the same place..
    Might have something to do with UFOs
    .........

    Allen Colburn Jr.
    Pascoag RI 02859
    Residential Design Drafting/Framer

    Drafter for:
    http://www.artformhomeplans.com/

    Chief Architect X4






  11. #11
    Join Date
    Nov 2001
    Location
    Bay Area, CA
    Posts
    2,112
    I've also been able to correct this by thickening the roof material in the Roof Surface area under the Options tab in the Roof DBX.
    Richard
    ---------------
    Richard Morrison
    Architect-Interior Designer
    X6 Premier, Win8 64
    http://www.richardmorrison.com

  12. #12
    Join Date
    Apr 2004
    Location
    LOCKPORT NY
    Posts
    18,655
    Richard:

    I'm curious why the default roof material wouldn't be "thick" enough ???

    Is this something CA needs to address ???


    Lew
    Lew Buttery
    Castle Golden Design - "We make dreams visible"

    Lockport, NY
    716-434-5051
    www.castlegoldendesign.com
    lbuttery at castlegoldendesign.com

    CHIEF X5 (started with v9.5)

  13. #13
    Join Date
    Jan 2000
    Posts
    4,161
    We create the materials with real world thicknesses. So they are by definition thick enough. There are a finite number of slices available and so when the model space gets large enough surfaces are to machine precision in the same place. When this happens computationally one surface or the other will compute to be in front depending on the pixel location.

    This results in some pixels of the surface behind bleeding through. That result is called z-fighting.

    There are several things that can be done to deal with this.

    One is as I suggested, moving the front clipping plane forward. Another would be to remove the surfaces that are obscured. For example, we could have a mode where we only display the outside and inside surfaces of a wall or roof. However, it is usually better to draw everything for typical models.

    There are 65K slices on most video cards. I know I said 32K above, but I was thinking about the size of a signed 16 bit value rather than the unsigned value. This means that if surfaces are 1/16 of an inch apart you could stack 65K faces 1/16" apart resulting in something like 341 ft in model space. For most wall and roof materials the distance apart is more like 1/2" which means you would have 2730 ft of model space to work in.

    There are clearly some things we will need to deal with in the long run to deal with city sized models, but for now simple solutions like moving the front clipping plane forward are much easier to deal with.
    Doug Park
    Principal Software Architect
    Chief Architect, Inc.

 

 

Posting Permissions

  • Login or Register to post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •