[osg-users] Missing getEnableDepthWrites() in include/osgText/Text.

2010-10-27 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
In the current trunk in include/osgText/Text it looks like the first definition of setEnableDepthWrites() should be getEnableDepthWrites() instead. bool setEnableDepthWrites() { return _enableDepthWrites; } void setEnableDepthWrites(bool enable) { _enableDepthWrites = enable; } Ken.

[osg-users] OSG 2.9.6, cmake and QtWebKit config error.

2009-12-11 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
When trying to configure OSG 2.9.6, if the system doesn't have QtWebKit installed cmake will not configure the examples. Making the following change seems to fix it (at least on my Suse 11.0 box): IF (QT4_FOUND) ADD_SUBDIRECTORY(osgQtBrowser) ENDIF() changed to: IF (QT4_FOUND

Re: [osg-users] OpenGL error during texture subloading.

2008-03-04 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
is. state.checkGLErrors(char*) is a useful call to sprinkle in your code. Robert. On Tue, Mar 4, 2008 at 3:24 PM, Sewell, Kenneth R Civ USAF AFRL/RYZW [EMAIL PROTECTED] wrote: I've been working on a program that subloads texture tiles and projects them onto another surface. The subloading and projection look

[osg-users] State of VPB?

2008-01-17 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
I understand that VirtualPlanetBuilder is under construction, but what is the current state of it in SVN? I downloaded it yesterday to start playing with it and I'm wondering which features are ready for testing and which ones to stay away from? Specifically, I'm interested in the --buildings

[osg-users] Terrain manipulator inverting look vector.

2007-11-13 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
In src/osgGA/TerrainManipulator.cpp, function setByMatrix: Why does setByMatrix invert the passed in look vector? osg::Vec3 lookVector(- matrix(2,0),-matrix(2,1),-matrix(2,2)); Maybe I'm missing something but this looks like a bug. I can only get the expected behavior if I invert my true

Re: [osg-users] Texture subloading

2007-10-23 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
::Texture2D(); ... ///create the subloadcallback osg::ref_ptrMySubloadCallback subloadCbk = new MySubloadCallback(); ... ///Set the subload callback texture-setSubloadCallback(subloadCbk.get()); ... On 10/19/07, Sewell, Kenneth R Civ USAF AFRL/RYZW [EMAIL PROTECTED] wrote: Gerrick, If you can

Re: [osg-users] Texture subloading

2007-10-19 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
it. To subload we have algorithms that trigger updating the pointer to the texture data. biv On 10/19/07, Sewell, Kenneth R Civ USAF AFRL/RYZW [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks for the response. If you don't mind could you answer a couple more questions? What triggers

[osg-users] Texture subloading

2007-10-19 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
Is there a good example of texture subloading in OSG? I have a large image and just want to replace small tiles of the texture. Can anyone give me a few starting pointers? Ken. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Texture subloading

2007-10-19 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
char*)_tm-dataField); } You'll have to adjust this for your texture type (this is ours for 3D textures) but this should give you a general idea. biv On 10/19/07, Sewell, Kenneth R Civ USAF AFRL/RYZW [EMAIL PROTECTED] wrote: Is there a good example of texture subloading in OSG? I have a large