CS documentation annotated by Cinmay

[email protected] (www-data) Tue, 25 Apr 2006 20:16:33 +0200 (CEST)
Newsgroups gmane.comp.graphics.crystalspace.docs
Message-ID <[email protected]>
Author: Cinmay
E-Mail: 
Topic:  Crystal_Space:_4.18.1_Quick_Start
File:   
Time:   Tue, 25 Apr 2006 (18:16 UTC) (1145988993)
Comment:
A small detail that can save you a lot of time and frustration.



Start drawing the 2D graphics after you start drawing the 3D graphics



/// Start drawing 3D graphics.

if (g3d->BeginDraw(engine->GetBeginDrawFlags() | CSDRAW_3DGRAPHICS))

{

// Draw frame.

// Tell the camera to render into the frame buffer.

view->Draw ();

}

        

/// Start drawing 2D graphics.

if (g3d->BeginDraw (CSDRAW_2DGRAPHICS))

{

// Make sure invalidated areas get a chance to

// redraw themselves.

aws->Redraw ();

// Draw the current view of the window system to a

// graphics context with a certain alpha value.

aws->Print (g3d, 64);

}


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642