• Advertisement
Sign in to follow this  

Sketchup 8 Collada Export - Backfaces

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am playing with using Sketchup 8 and the large population of pre-built meshes and textures available through Google to fill in some content on my non-commercial project. I use Sketchup 8's Save to Collada option to generate me a useful XML output which I then parse into an indexed mesh.

My only issue is that Sketchup always has two faces per quad, there doesn't seem to be the concept of a back-face. Consequently all the meshes I export have two faces, of which I definitely dont want one of them. However I dont know of any way of excluding the back-faces, since I find it difficult to even define one - I "know" its the face that is "inside" the 3d mesh object, but other than looking at its Face Normal in relation to the objects centre point (doesn't work with non convex bodies particularly) I find it difficult to hit on an idea for excluding them.

Does anyone have any bright ideas ?

Share this post


Link to post
Share on other sites
Advertisement

Just for reference - here was my solution.

 

When exporting from Sketchup 8 you have the option to "Export 2 Sided Faces" from the export options tab. Although you might not want 2 sided faces, its the only way to guarantee that all the faces you see in Sketchup are included in your export file - I've had incidences where failing to check this option gave me missing faces I could otherwise see in Sketchup.

 

Once you've exported both sides, just cull clock or counterclock as normal and the model will show correctly. It has more geometry that you really need, but it works Ok.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement