#### Archived

This topic is now archived and is closed to further replies.

# mesh has "holes" at its sides

This topic is 5406 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I got a problem when rendering a mesh. I exported it to the x-file format, and then loaded it, but it isnt displayed correctly. all other meshes seem to be ok. It looks like this:

But when I load it in the DirectX MeshViewer, it is displayed correctly.

has anybody an idea why such things can occure? thx

##### Share on other sites
my guess is your rendering it as a triangle list... taht usually makes for breaks in it like that... between the polygons... of course i never thought it would show up untill youd done quite a bit of rotation and translation and such, but apparently not :-D yeah i think thats probably why
edit: didnt tell you what to do instead lol, use a) indexed traingle lists (preffered in my view) b) triangle fans or strips

[edited by - Ademan555 on February 26, 2004 6:58:08 PM]

##### Share on other sites
It looks like a fault in the Z-Buffer. What kind of application
are you using? Did you initialize Direct3D yourself or
did you use the SDK?

##### Share on other sites
You also may want to check your polygon culling--are you culling clockwise or counter-clockwise? The reason I say this is because it looks like your model is somewhat inside-out. If you''re culling the wrong way, then your front faces will not be rendered and your back faces will show. That may be what''s causing this problem.

1. 1
2. 2
Rutin
17
3. 3
4. 4
5. 5

• 13
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633735
• Total Posts
3013593
×