|
From: Daniele C. <dca...@in...> - 2007-09-11 09:35:28
|
You are right in Mac there is not problem. I work with a imac intel core due with video card ATI Radeon x1600 I can well compare mac os x and windows xp. I tried to use kQ3DrawContextPropertyAcceleratedOffscreen: TQ3Boolean theFlag = kQ3True; Q3Object_SetProperty( fRenderer, kQ3RendererPropertyShadows,sizeof(theFlag), &theFlag ); Q3Object_SetProperty( fRenderer, kQ3DrawContextPropertyAcceleratedOffscreen,sizeof(theFlag), &theFlag ); but without success. Is it correct set Property kQ3RendererPropertyShadows and after kQ3DrawContextPropertyAcceleratedOffscreen ? Do you think if I set so I have the chance it work with some video card ? thanks James W. Walker ha scritto: > On Sep 10, 2007, at 12:25 AM, Daniele Cavallini wrote: > > >> I use Mac os x 10.4.1 and windows XP. I have the same problem. >> I specific: >> TQ3Boolean theFlag = kQ3True; >> Q3Object_SetProperty( fRenderer, kQ3RendererPropertyShadows, >> sizeof(theFlag), &theFlag ); >> Where fRenderer is a TQ3RendererObject. >> If I use Q3Win32DCDrawContext_New for win and Q3MacDrawContext_New in >> Mac for create an TQ3DrawContextObject shadows are present. >> > > I understand why it's not working on Windows. Microsoft's OpenGL > software renderer is very primitive, and does not have the > capabilities needed for shadows. Depending on your video card, you > might be able to get shadows using > kQ3DrawContextPropertyAcceleratedOffscreen. > > I think it ought to work on the Mac, though I wonder why you have not > updated to 10.4.10. > > >> James Walker ha scritto: >> >>> Daniele Cavallini wrote: >>> >>> >>>> For obtain an image with a good resolution I use >>>> TQ3PixmapDrawContextData. >>>> It is work fine but if I use Quesa shared render opengl I don't >>>> see shadow. >>>> >>>> >>> Are you on Mac, Windows, or Linux? >>> >>> Did you specify that you want shadows using >>> kQ3RendererPropertyShadows? >>> >>> >>> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Quesa-develop mailing list >> Que...@li... >> https://lists.sourceforge.net/lists/listinfo/quesa-develop >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Quesa-develop mailing list > Que...@li... > https://lists.sourceforge.net/lists/listinfo/quesa-develop > > |