Android NDK -- Teapot-Sample

55 views
Skip to first unread message

kunjesh virani

unread,
Sep 18, 2016, 5:08:13 PM9/18/16
to android-ndk
Hi i am kunjesh virani.
My question is how can we convert 3Ds MAX model to file named "Teapot.inl".
this file is in the Google Android NDK - sample .

Gerry Fan

unread,
Sep 21, 2016, 7:29:38 PM9/21/16
to android-ndk
at the top of the file, in comment, it points to :
//
// Teapot.inl
// Derived from WebGL sample
// https://github.com/KhronosGroup/WebGL/blob/master/sdk/demos/google/shiny-teapot/teapot-streams.js
//

the exact format for each array would be inside the render code on how they are sent down to GPU, teapotPositions would be position and normal. 
Reply all
Reply to author
Forward
0 new messages