SceneKit Normals
SceneKit Normals
- Subject: SceneKit Normals
- From: Rick Mann <email@hidden>
- Date: Fri, 04 Dec 2015 19:45:23 -0800
Based on examples I've found around the web, when creating geometry in SceneKit programmatically, it seems to want normals per-vertex, rather than per-face.
The code I'm working with that's actually generating the mesh has a single per-face normal. I can certainly duplicate that three times for each face to provide vertex normals, but I'm wondering if there's a way to just tell SceneKit that I have a single normal *per face* and to use that.
Is this possible? Thanks!
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden