Re: [Plib-users] is a GL context required?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-08-22 23:57:28
|
Cameron Lerch wrote: > I'd like to use ssg in a situation that does not create a GL context. > Currently, I manipulate the scene graph, doing hot & isect testing, but > I never cull and draw. This is all without ever calling ssgInit(). I'm > setting each leaf state up using ssgSetAppStateCallback() w/defaults, > but am not loading the textures. When I do an isect test, I appear to > be getting the wrong leafs (or at least, the wrong states for the leafs) > back. I'm wondering if what I'm doing is even possible? Well, if it *is* possible, it's not by design...I suppose if you are careful enough to avoid having SSG do anything OpenGL-related, you might get away with it. You know you can have a rendering context without opening a window - right? Create a 1x1 pixel p-buffer or something. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |