Vertex Normals Not Smoothing on Plain Geometry
-
Is this a bug?
Two simple cylinders. One is plain geometry (circle extruded with push/pull tool) the other is plain geometry and then convereted to a component.
When I export the faces, the vertex normals are different even though smoothing is turned on for both. The plain geometry object on returns non-smoothed vertex normals, whereas the component object returns smoothed normals. What I want is smoothed normals for both cases - as it is displayed in SU.
Any ideas on why this happening or should I report this as a bug.


-
What software and filetype are you exporting to and what settings are you using?
-
@chris fullmer said:
What software and filetype are you exporting to and what settings are you using?
Hi Chris,
I'm just exporting the faces as a mesh using the Sketchup API (e.g.face.mesh) into a simple .obj format. The problem is that the vertex normals returned are not smoothed unless the Sketchup surface is part of a component. If the surface is free standing, ungrouped, or un-componentized geometry, then SU returns un-smoothed vertex normals even though they are displayed in SU as smooth. So I'm thinking that this is a bug in the SU API.
-
You have a sample code snippet we can look at?
-
Dave, I usually export to .3ds, however when I do export .obj I select 'triangulate all faces' and obviously the swap coordinates (which I'm sure you also do)
I occasionaly get this issue where I select model and smooth to 40 and it fixes things normally.- I'm talking about smoothing in Vue as I notice the render is a Vue one.
-
Thanks for all the help. I found the problem. Apparently if you add some geometry to the scene using ruby and then try to export a mesh of non-component geometry, the normals become unsmoothed. An odd quirk.
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