|
From: James W. <ja...@fr...> - 2007-09-17 17:27:22
|
Daniele Cavallini wrote: > I tried to set stencil bits at 0,8,32 value. > If I create a drawcontext from video: > > TQ3Win32DCDrawContextData myWin32DrawContextData; > CClientDC DC(theWindow); > HDC hwin= (HDC) DC; > myWin32DrawContextData.hdc = hwin; > myDrawContext=Q3Win32DCDrawContext_New(&myWin32DrawContextData) ; > Shadows are nicely visible. > It is not necessary set stencil bits. True, there is a function AdjustStencilAndDepthForShadows that will set stencil bits for you if you try to render shadows. > So I think it is not a problem caused from videocard. That does not follow. If your video card lacks the FBO extension, then you will not be able to do hardware-accelerated offscreen rendering. -- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> |