GLC_lib & GLC_Player Forums
http://www.forum.glc-lib.net/

Help with GLC_Point and PixelCulling
http://www.forum.glc-lib.net/viewtopic.php?f=4&t=967
Page 1 of 1

Author:  aurelien [ Thu Oct 23, 2014 1:15 am ]
Post subject:  Help with GLC_Point and PixelCulling

Hey there,

Among all the 3D shapes in my scene, I display a set of GLC_Point with a size big enough to see them clearly. I draw them individually to be able to select them. So far selection works and drawing works.

I wanted to use pixel culling in the scene,
Code:
GLC_State::setPixelCullingUsage(true);
m_GlView.setMinimumPixelCullingSize(5);

but then the points are not displayed correctly, it appears that the bounding box is 0 for a point and its drawing is then discarded when using culling. I have to deactivate culling to see the points, am I doing things correctly?

Thanks for your help!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/