I was looking into how CC loads and renders a mesh or point cloud. So I started tracing the call stack from loading to rendering, this started off relatively smoothly until I traced it to the draw3D method in ccGLWindow class, which seems to be the key to displaying the entity.
Code: Select all
void ccGLWindow::draw3D(CC_DRAW_CONTEXT& CONTEXT, RenderingParams& renderingParams)
{
...
//we draw 3D entities
if (m_globalDBRoot)
{
m_globalDBRoot->draw(CONTEXT);
}
if (m_winDBRoot)
{
m_winDBRoot->draw(CONTEXT);
}
...
}
Could you direct me to the call stack for CC entity rendering?
Thank in advance!!!