On 02/10/14 09:16 PM, DRC wrote: > Note that there are actually 61 spheres in the default configuration (20 > per ring + the 1 in the center), so apparently the polygon limit is > around 60,000 per sphere. It might simply be that the polygon count is > clamped to a 16-bit value or something.
Ok, I won't be lazy. `apt-get source libglu1-mesa` and a little LibreOffice Calc later the restriction is quite plain: quad.c: #define CACHE_SIZE 240 ... gluSphere(GLUquadric *qobj, GLdouble radius, GLint slices, GLint stacks) if (slices >= CACHE_SIZE) slices = CACHE_SIZE-1; if (stacks >= CACHE_SIZE) stacks = CACHE_SIZE-1; And the solid drawing path is roughly: (glVertex + glNormal) * (slice*2 + 2 + (stacks -2)*slices*2) Thus max ROPs/sphere = 227532, * 61 spheres = 13879452 total ROPs. Looks like the easiest path to increased poly count is to increase the number of spheres. -Nathan -- Nathan Kidd OpenText Connectivity Solutions nk...@opentext.com Software Developer http://connectivity.opentext.com +1 905-762-6001 ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users