4
\$\begingroup\$

I am modeling a tank and I don't know what key I've pressed, but now the object in Maya is looking very weird.

image of tank with some parts visible that shouldn't be and some strange artifacting

Does anybody know how to solve this problem?

\$\endgroup\$
8
  • \$\begingroup\$ Looks some faces have inverted normals? I don't use Maya so I can't tell you how to fix that. Make regular backups... Have you tried "Undo"? \$\endgroup\$
    – House
    Commented Apr 30, 2012 at 22:43
  • \$\begingroup\$ Yeah stupid of me, Undo doesn't work because I saved and restarted the program, because I thought it was just a bug... \$\endgroup\$
    – Joris
    Commented Apr 30, 2012 at 22:53
  • \$\begingroup\$ Nothing helps, flipping normals, faces, just nothing :( god why I put so much work in this... \$\endgroup\$
    – Joris
    Commented Apr 30, 2012 at 22:57
  • \$\begingroup\$ Does it only look this way in shaded mode? How about wireframe? Does that look normal? \$\endgroup\$
    – House
    Commented Apr 30, 2012 at 23:10
  • \$\begingroup\$ Is it possible to link to a larger image? \$\endgroup\$
    – Inisheer
    Commented Apr 30, 2012 at 23:55

3 Answers 3

4
\$\begingroup\$

The issue was due to z-fighting in an inaccurate depth buffer. The reason the depth buffer got inaccurate was because your camera's near and far clipping planes had gotten too far apart. Basically, the depth buffer has a limited number of possible depth values that are spread out between the near and far clipping planes. Thus as the clipping planes get further apart, the depth values spread apart as well.

I believe the far clipping plane in Maya gets pushed out automatically as you zoom the camera, so going to an extreme zoom will cause this issue.

The reason pasting your model in a new file fixed the issue was because the camera's near and far clipping planes were reset.

\$\endgroup\$
2
\$\begingroup\$

To fix this issue you want to go to

  1. view>camera attribute editor. in the panel windows, and then in the attribute editor change the
  2. near clip plane to 0.100 (or whatever works for your scene).
  3. far clip plane to 10000.000 (or whatever works for your scene).
\$\endgroup\$
0
0
\$\begingroup\$

Sorry guys, I fixed it. I just had to copy the object, open a new file and paste it in there. I still don't know what the cause of this problem was, but this is a solution.

Thanks everyone for helping, thanks a lot!

\$\endgroup\$
4
  • \$\begingroup\$ This likely means that your issue was what jhocking suggests. \$\endgroup\$
    – House
    Commented May 1, 2012 at 23:53
  • \$\begingroup\$ jhocking would probably appreciate you choosing his answer as the correct one... \$\endgroup\$
    – Tim Holt
    Commented May 2, 2012 at 2:42
  • \$\begingroup\$ I answered earlier then he did, so I didn't have the chance... \$\endgroup\$
    – Joris
    Commented May 2, 2012 at 11:31
  • 1
    \$\begingroup\$ Also you should learn to have a little patience, I'm not on gamedev all day, I have a busy life next to this. \$\endgroup\$
    – Joris
    Commented May 2, 2012 at 11:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .