Normal oct-encoding

144 views
Skip to first unread message

Frédéric Trastour

unread,
Oct 7, 2016, 11:38:54 AM10/7/16
to cesium-dev
Hi all,
I'm trying to add normals oct_encoding to my gltf generator.
I got a version (python) providing good results but it doesn't conform to the original paper (where x&y are inverted in some places).
I can't figure out where is, in the gltf-pipeline, the function AttributeCompression.octEncode used in lib/octEncodeNormals.js (a grep -R doesn't find it).
Can someone here point me in the right direction ?
Regards,
Fred.

Sean Lilley

unread,
Oct 7, 2016, 2:01:25 PM10/7/16
to cesium-dev

Frédéric Trastour

unread,
Oct 10, 2016, 5:28:57 AM10/10/16
to cesium-dev
Hi Sean
Thanks. This is what he was searching for.
Regards,
Fred.

Patrick Cozzi

unread,
Oct 11, 2016, 7:57:26 AM10/11/16
to cesium-dev
Hi Fred,

Just curious, can you tell us a bit about your glTF project?

We would be happy to list it here: https://github.com/KhronosGroup/glTF#gltf-tools

Thanks,
Patrick
Reply all
Reply to author
Forward
0 new messages