[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nel] Troubles withs drawQuad
From: |
Andi [ Debug ] |
Subject: |
Re: [Nel] Troubles withs drawQuad |
Date: |
Fri, 26 Nov 2004 06:59:37 -0600 |
since personally i use the draw quad functions that take a prebuilt quad
class as parameter i have no expereience with the 2d only versions.
i would focus your search for issues on render timing ake sure its before
you swap buffers and so forth
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D E B U G
N E V E R B O R N E N T E R T AI N M E N T
D e s i g n L e a d & P l u g i n C o d e r
w w w . n e v e r b o r n . n e t
----- Original Message -----
From: "Stéphane CHAPLAIN" <address@hidden>
To: <address@hidden>
Sent: Friday, November 26, 2004 2:25 AM
Subject: [Nel] Troubles withs drawQuad
Hi,
I have a problem with the drawQuad func. Here is my sample code :
mDriver->setMatrixMode2D(CFrustum (0.0f,getWindowWidth(),
0.0f,getWindowHeight(), 0.0f, 1.0f,false));
NLMISC::CRGBA col = NLMISC::CRGBA(color.R,color.G,color.B,color.A);
mDriver->drawQuad(rect.left,rect.bottom,rect.right,rect.top,col);
This occurs after doing a render (the backbuffer is full ! ) and I want to
draw somtehing in it . Pb : This has no effect !
It has worked with older version of NeL. Has something necessary been added.
Stephane
_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all