On Mon, May 23, 2011 at 11:22 AM, Geoffrey Hutchison
<[email protected]> wrote:
>> 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
>
> Try a different "winding." (Heck, just try the opposite order of points.)
>
> http://www.opengl.org/sdk/docs/man/xhtml/glFrontFace.xml

I've rotated the view all over and it never appears (if the winding
was reversed with face culling on, it should appear from some angle).
The winding shouldn't matter AIUI, since face culling is disabled in
GLPainter's implementation of this method. I've checked the point
ordering and it is appropriate for a triangle fan, too. I'm really at
a loss as to why this doesn't work :-/

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