Backface UVs - How?
-
I see that there are some bugs in the api docs on mesh.uv_at. Can someone enlighten me on how to get the UV's of the back face? I know I can get the fronts with mesh.uv_at(3,1).x The first index is the point, the second index (1) should be the flag for front or back, yes? I've tried using true/false but no luck.
-
what flags did you use when you obtained the PolygonMesh?
Face.mesh
http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/face.html#mesh@unknownuser said:
Add these numbers together to combine flags. A value of 5 will include all flags, for example.
This is wrong. 7 is the value if you want to include them all. It's a bitwise combination of the optional values.
-
@thomthom said:
what flags did you use when you obtained the PolygonMesh?
Face.mesh
http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/face.html#mesh@unknownuser said:
Add these numbers together to combine flags. A value of 5 will include all flags, for example.
This is wrong. 7 is the value if you want to include them all. It's a bitwise combination of the optional values.
Thanks for that. Indeed, I was using 5 instread of 7 as the mesh flag.
Thanks again
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement