Hi list,

I'm writing an engine and I want to draw a translucent shaded
quadrilateral with it. I've been unable to do this using the Painter
API using drawShadedQuadrilateral, but I can't figure out where I'm
going wrong. I've put up a simple failing test engine here:

https://github.com/dlonie/avogadro/commit/320c06e5342c35f97b1c5fd81bb539d40ca5fe5d

I add the engine in Avogadro, but the quadrilateral never appears.
I've also tried adding the glEnable/Disable bits that are used in the
bond centric tool implementation around the drawShadedQuadrilateral
call, but it doesn't help in the engine.

Am I missing something?

Thanks,
Dave

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to