From: jcasilla (jcasilla++at++isoco.com)
Date: 02/12/2004 23:30:51
Michael Petrou wrote:
> This might be of help:
>
>
> m_pos is a pfVec3 using the first two elements specifying the position 0 ->
> 1, which is left -> right, bottom -> top
> m_size is a pfVec3 using the first two elements specifying the size of the
> overlay, where 1, 1 is fullscreen (ala the ortho setup).
>
> dont bother asking why this code is using pfVec3's for these...
>
>
>
Hi,
I made serveral mistakes... First of all, I was calling glVertex2f
methods and then drawing in the performer XY plane, so I replaced that
with glVertex3f(x,0,z) calls in order to draw in the XZ plane. Second
mistake was to give polygon vertices in clockwise order, so it wasn't
visible. Well, no commment on this ;)
Thank you for the code Michael. I'll keep it at hand.
-- ------------------------------------------------------------------------- Joaquín Casillas Meléndez, R+D Engineer at iSOCO Intelligent Software Components, S.A. http://www.isoco.com Addr: Profesor Beltrán Báguena, 4, oficina 107, 46009 Valencia Voice: +34 96 346 71 43 Fax: +34 96 346 71 42
This archive was generated by hypermail 2b29 : Thu Feb 12 2004 - 23:30:16 PST