Re: [osg-users] Rethinking 3rd party dependencies?

2009-08-28 Thread sherman wilcox
I build *everything* from source. I use Python scripts to automate the process too. It's relatively straightforward to setup and is very reliable. Fully automated. I can call one Python script that will check out all source code, compile all OSG and project specific dependencies, compile OSG,

[osg-users] node modification from within update callback -

2009-07-22 Thread sherman wilcox
I have a question as to what is allowed and/or what's a good/bad practice with respect to modifying the scenegraph at runtime from within an update callback. We're using one of the newer versions of OSG. 2.9.4 I believe. Our osgViewer is setup for single-threaded operation. Take a look at the

[osg-users] Windows users - VS2008 comments

2009-04-04 Thread sherman wilcox
Slightly off-topic for this mailing list but here goes. For the Windows users out there, those of you that are using or know of developers using VS2008 - any comments? Problems, benefits, pros/cons? My project is using VS2005 and has been for a while now but I'm considering switching to VS2008.

Re: [osg-users] CMake error on trunk HEAD

2009-02-06 Thread sherman wilcox
On Fri, Feb 6, 2009 at 1:41 PM, Roger James ro...@beardandsandals.co.uk wrote: Robert Osfield wrote: Hi Roger, Sorry to hear it's still broke. I'm not the original author of version additions, just the integrator. Would it be possible for you to tweak the version support now checked in and

[osg-users] osgText crash - latest nVidia FX drivers

2008-10-23 Thread sherman wilcox
Hello everyone - I'm experiencing a crash using the latest nVidia driver when I bring up the stats window and am wondering if anyone else is experiencing the same problem. My hardware is a Dell Workstation using a nVidia FX4600 card. I'm convinced the issue is related to the driver upgrade. I was

[osg-users] AutoTransform and SMALL_FEATURE_CULLING

2008-08-24 Thread sherman wilcox
I've attached a small demo app that illustrates an issue I've discovered (known?) with AutoTransform nodes and small feature culling. Briefly summarized, if I add a custom AutoTransform node (see code for trivial example) to the scenegraph just under the root node everything seems fine, with or

[osg-users] osgText - size is half of font resolution

2008-08-22 Thread sherman wilcox
Can someone explain why the code below consistently produces text that is half the height specified? If I render this text, take a screenshot and measure the height of the text ABC in a paint program it will measure up as approximately 64 pixels tall for a character size / resolution of 128. I

Re: [osg-users] glGetString returning NULL

2008-07-31 Thread sherman wilcox
] On Behalf Of sherman wilcox Sent: Wednesday, July 30, 2008 8:29 PM To: OpenSceneGraph Users Subject: [osg-users] glGetString returning NULL Running latest version of OSG in SVN, calling glGetString(...) from main render loop (single threaded osgViewer). Like this: while(viewer.done

[osg-users] glGetString returning NULL

2008-07-30 Thread sherman wilcox
Running latest version of OSG in SVN, calling glGetString(...) from main render loop (single threaded osgViewer). Like this: while(viewer.done() == false) { viewer.frame(); char* extensions = (char*)glGetString(GL_EXTENSIONS); } extensions is always NULL. Am I doing something

[osg-users] render to texture - alpha blending

2008-07-29 Thread sherman wilcox
Hi guys - I'm using render to texture in one of my apps and I'm experiencing alpha blending issues. Here's what I have: simple RTT (render to texture) with two quads. Each quad has as a background an opaque black background (24-bit BMP). In front of that is a small (doesn't cover the entire

Re: [osg-users] problems with new version OSG 2.6.0

2008-07-27 Thread sherman wilcox
Can you make a small and simple prototype that *reliably* reproduces the problem? You have a better chance of getting help that way. On Sun, Jul 27, 2008 at 2:50 AM, GMD GammerMaxyandex.ru [EMAIL PROTECTED] wrote: Some offers of OSG 2.6.0( problems with new version). Let's wait with OSG 2.6.0

Re: [osg-users] Seeking OSG texture mapping application

2008-06-28 Thread sherman wilcox
http://www.remograph.com/ On Thu, Jun 26, 2008 at 9:53 AM, Judie [EMAIL PROTECTED] wrote: Hi, Can 3D Studio Max import osg, apply texture and export it back to osg? If not then is there another modeling software that can? I am having problems generating texture coordinates for a model

Re: [osg-users] positioning a node - XYZ with offset in screen space

2008-06-24 Thread sherman wilcox
, 2008 at 1:28 AM, sherman wilcox [EMAIL PROTECTED] wrote: I have nodes (models, text, etc.) that are positioned in XYZ coordinates that I wish to offset in screen space. My question is what's the best/fastest way to do this. An example follows. I have a piece of text that acts as a label

[osg-users] positioning a node - XYZ with offset in screen space

2008-06-21 Thread sherman wilcox
I have nodes (models, text, etc.) that are positioned in XYZ coordinates that I wish to offset in screen space. My question is what's the best/fastest way to do this. An example follows. I have a piece of text that acts as a label for a point on a sphere. In this case that sphere is an osg

[osg-users] NPOT textures - comments

2008-06-21 Thread sherman wilcox
In the olden days when I'd have a texture that wasn't power of 2 I'd use a POT (power of two) texture, update the parts of the texture that I was interested in and fix-up the texture coordinates accordingly. Nowadays I'm more inclined to use NPOT (non-power of two) or texture rectangles. Problem

Re: [osg-users] New versions of OSG and configuring CMake

2008-06-12 Thread sherman wilcox
To add to what Luigi saidhere's my command line: cmake -DWIN32_USE_MP=ON -DGDAL_INCLUDE_DIR:PATH=%rootdir%\3rdparty\gdal\include -DGDAL_LIBRARY:PATH=%rootdir%\3rdparty\gdal\lib\gdal_i.lib -DCURL_LIBRARY_DEBUG:PATH=%rootdir%\3rdparty\curl\lib\debug\curllib.lib

Re: [osg-users] How to stop osgViewer using two monitors/windows

2008-04-21 Thread sherman wilcox
Visual Studio 2005 ... Project Properties = Configuration Properties = Debugging = Environment ... add OSG_SCREEN=0 Another way is to add _putenv(OSG_SCREEN=0) in your code On Mon, Apr 21, 2008 at 4:49 AM, Roger James [EMAIL PROTECTED] wrote: How do I stop osgViewer from using both my

Re: [osg-users] faster builds on multiproc systems - VisualStudio2005 2008

2008-04-10 Thread sherman wilcox
PROTECTED] On Behalf Of sherman wilcox Sent: Wednesday, April 09, 2008 4:34 PM To: OpenSceneGraph Users Subject: [osg-users] faster builds on multiproc systems - Visual Studio 2005 2008 This is sort of off-topic but I'm sure interesting to the community none the less. I was on the phone

[osg-users] faster builds on multiproc systems - Visual Studio 2005 2008

2008-04-09 Thread sherman wilcox
This is sort of off-topic but I'm sure interesting to the community none the less. I was on the phone with a fellow OSG developer earlier today complaining how slow the builds are on Windows and how I have this quad core sitting here not being fully utilized by my compiler. He touted how his Mac

Re: [osg-users] faster builds on multiproc systems - Visual Studio 2005 2008

2008-04-09 Thread sherman wilcox
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sherman wilcox Sent: Wednesday, April 09, 2008 4:34 PM To: OpenSceneGraph Users Subject: [osg-users] faster builds on multiproc systems - Visual Studio 2005 2008 This is sort of off-topic but I'm sure interesting

[osg-users] 64bit CMake on Vista64 question

2008-04-04 Thread sherman wilcox
Anyone had any success getting CMake to construct x64 OSG build targets in one of the 64bit flavors of Windows? I'm using Vista64 but I'd imagine XP64 is the same. We have a developer investigating this but I thought I'd ping the list to see if anyone else is doing this.

Re: [osg-users] 64bit CMake on Vista64 question

2008-04-04 Thread sherman wilcox
/ dependencies etc) so the best is to look for prebuild libs on the net. I hope they will be easier to find today. Cheers, Wojtek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of sherman wilcox Sent: Friday, April 04, 2008 10:11 PM To: OpenSceneGraph Users

Re: [osg-users] osgNETDemo

2008-03-17 Thread sherman wilcox
I couldn't tell from reading your post - but if you're not compiling the OSG yourself (IE...running a binary distribution), grab one of the developer snapshots and compile that. On Mon, Mar 17, 2008 at 4:39 PM, [EMAIL PROTECTED] wrote: Hello All, I have been working with Phil Tessier on some

Re: [osg-users] shader leakage (WAS traversal question w/latest developerrelease-blacknodes)

2008-02-25 Thread sherman wilcox
this hole that the scene can accidently be affected by a leaking osg::Program binding. I'll be submitting a real fix rsn. cheers -- mew -Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of sherman wilcox Sent: Thursday, February 14

Re: [osg-users] another one - osg and C#

2008-02-17 Thread sherman wilcox
contained in C++/CLI. I have use C++/CLI to integrate OSG and .NET, very well, you should try it. But the plain will be the much lower compile speed due to lots of inline code of OSG. sherman wilcox wrote: I've read a few posts and I'm a bit fuzzy on the subject. I have

Re: [osg-users] traversal question w/latest developer release-blacknodes

2008-02-14 Thread sherman wilcox
mew - Didn't realize there was a potential shader connection till a tad later. Anyway, I spent more time on this yesterday and managed to build a sample app that is much smaller and less complicated than the app I originally found the problem in. There's a bit of propriety code in this sample app

Re: [osg-users] traversal question w/latest developer release -blacknodes

2008-02-13 Thread sherman wilcox
Is strange. I'm using all OSG code. Is possible I've found some odd OSG bug - but I think is more likely that I'm doing something that's not intended and am experiencing a side effect. I'm going to spend a bit of time and see if I can simplify this problem down to a trivial example. On Feb 13,

[osg-users] another one - osg and C#

2008-02-13 Thread sherman wilcox
I've read a few posts and I'm a bit fuzzy on the subject. I have an OSG app wrapped up in a C++ library. Now I need a UI. I can attach this and drive this libarary from a console app, MFC GUI, or even the standard Windows API, etc. - All in C++. However, I'm considering using C#. I've heard lots

Re: [osg-users] traversal question w/latest developer release - blacknodes

2008-02-12 Thread sherman wilcox
Paul - thanks for the suggestions. I've found an older code tree of mine from November 07 and everything seemed to work there. I'm investigating. On Feb 12, 2008 3:40 PM, Paul Martz [EMAIL PROTECTED] wrote: I have a class that inherits from osg::Group. In this class I'm overriding the

[osg-users] traversal question w/latest developer release - black nodes

2008-02-12 Thread sherman wilcox
I have a class that inherits from osg::Group. In this class I'm overriding the traverse function. It is written in such a way that the CULL_VISITOR doesn't have an opportunity to call osg::Group::traverse(nv). When I add this object to the scenegraph all the nodes in my scene go black. Even if

Re: [osg-users] traversal question w/latest developer release - blacknodes

2008-02-12 Thread sherman wilcox
I've found a few clues this evening. Not sure why things are behaving the way they are - I'm probably abusing the OSG in my overridden traverse(...) function. My node has a shader attached. If I do NOT attach that shader to the stateset, no problems. Read on On Feb 12, 2008 3:40 PM, Paul

Re: [osg-users] Heap and Out Of Memory error on XP

2008-01-30 Thread sherman wilcox
To toss my 2cents in you could also investigate the /LARGEADDRESSAWARE switch. In addition, I'd recommend looking into a new heap manager. I've had success with SmartHeap by MicroQuill. Do you have to use MFC? MFC will fragment the heap a bit by loading DLLs all over the place. To illustrate the

Re: [osg-users] Mathematical foundations

2008-01-06 Thread sherman wilcox
In addition to the excellent advice from everyone else I would highly recommend taking a linear algebra class (and any needed pre-requisites) at your local university. On Jan 6, 2008 6:27 AM, Renan Mendes [EMAIL PROTECTED] wrote: Hi everyone, Since I'm new on the whole computer graphics

Re: [osg-users] Changing SceneData

2007-12-28 Thread sherman wilcox
Here's a link with a decent intro to osg reference pointers: http://andesengineering.com/OSG_ProducerArticles/RefPointers/RefPointers.html On Dec 28, 2007 10:40 AM, Gordon Tomlinson [EMAIL PROTECTED] wrote: Assuming your not already using reference pointers OSG uses reference counting to aid

Re: [osg-users] Building a GUI in osg

2007-12-27 Thread sherman wilcox
Lots of links to UI toolkits, is very dated but might lead to something useful: http://www.geocities.com/SiliconValley/Vista/7184/guitool.html On Dec 27, 2007 6:17 AM, maruti borker [EMAIL PROTECTED] wrote: Is there any external library which supports this ??? On Dec 21, 2007 4:02 PM,

Re: [osg-users] ViewerEventHandlers.cpp doesn't compile, can't include values.h

2007-12-24 Thread sherman wilcox
In the Inventor plugin there is: #ifdef __linux #include values.h #endif #ifdef __APPLE__ #include float.h #endif So, perhaps float.h in lieu of limits.h? On Dec 24, 2007 6:01 PM, Rafa Gaitan [EMAIL PROTECTED] wrote: Hi Paul and Mike, The problem is the same in MacOSX, values.h is not

Re: [osg-users] GIS vector suggest

2007-12-23 Thread sherman wilcox
http://osggis.org/ On Dec 23, 2007 1:16 AM, MingWei [EMAIL PROTECTED] wrote: Hi EveyOne! My Application needs to render vector like line or polygon with different color (transparent effect) on the surface the terrain. And the users can select to load or unload the vector layer. I have no

Re: [osg-users] Running OSG on Vista

2007-12-19 Thread sherman wilcox
Sounds like a driver issue. I have been running various flavors of OSG on Vista x64 for months on different hardware configurations. On Dec 19, 2007 6:24 AM, Franclin Foping [EMAIL PROTECTED] wrote: Hello Everybody, I am trying to run a simple code on Vista and it looks like I have got a

Re: [osg-users] ANN: Reference Manual for v2.2 now available

2007-12-19 Thread sherman wilcox
However, I like the idea of a community-written OSG Gems book, and I don't want to underestimate the community's willingness to contribute. So, I'll give this some thought, look into other Gems-style books' business models, and see if I can find a way to make this work (time-wise, as an

Re: [osg-users] Geometry shader

2007-12-15 Thread sherman wilcox
I have a recent need for this as well. Anyone done this yet? On Oct 26, 2007 3:05 AM, Ralph Kern [EMAIL PROTECTED] wrote: Hi, does anybody already got some of the new geometry shader extension EXT_geometry_shader4 working with OSG? see tutorial at

Re: [osg-users] readFontFile possible bug

2007-12-14 Thread sherman wilcox
of these GPU stall issues, as it would seem so far the multi-threaded font crashes/bugs look resolved and this thread can be closed. Robert, On Dec 14, 2007 12:58 AM, sherman wilcox [EMAIL PROTECTED] wrote: OK, grabbed the latest copy of OSG out of SVN (latest as of about 2PM today) and ran my test

Re: [osg-users] readFontFile possible bug

2007-12-14 Thread sherman wilcox
. On Dec 14, 2007 2:13 PM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Sherman, On Dec 14, 2007 3:15 PM, sherman wilcox [EMAIL PROTECTED] wrote: Robert, I'm not so sure the multi-threading issue is resolved. I wasn't getting simple GPU stalls. The database pager would stop working after several

Re: [osg-users] readFontFile possible bug

2007-12-13 Thread sherman wilcox
. Oh, and be sure to pass the app an argument of --mt 5, where 5 is the number of test threads to launch, can be any reasonable number. On Dec 12, 2007 10:21 PM, sherman wilcox [EMAIL PROTECTED] wrote: I spent a bit of time this evening digging up the the code that reproduces the crash. I'll

Re: [osg-users] readFontFile possible bug

2007-12-12 Thread sherman wilcox
, sherman wilcox [EMAIL PROTECTED] wrote: I can still reliably reproduce the multithreaded osgText / databasepager crash issue :) Could you explain how your recreate the crash, and the circumstances of the crash. It may be exactly the same problem as Serge has, but also just as easily could

Re: [osg-users] readFontFile possible bug

2007-12-11 Thread sherman wilcox
I can still reliably reproduce the multithreaded osgText / databasepager crash issue :) On Dec 11, 2007 1:59 PM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Serge, How reliably can you recreate the crash? Does it happen with osgviewer or other OSG examples? Could you explain whats

Re: [osg-users] Windows/OSG question

2007-11-28 Thread sherman wilcox
I haev some of the same questions. My understanding is that to realize benefit that all libraries should be re-compiled. The part I'm fuzzy on is the should be. What happens when you mix and match SCL libraries with non-SCL is unknown to me. You should certainly see a performance boost in debug

Re: [osg-users] screen capture with multiple cameras

2007-11-23 Thread sherman wilcox
overhead incurred, but never hurts to ask. On Nov 23, 2007 12:46 AM, Berg, Michael [EMAIL PROTECTED] wrote: sherman wilcox wrote: I want to capture my OSG screen and dump it to a jpeg or png file. My understanding is to attach a callback to the main osgViewer camera and perform a osg::Image

[osg-users] screen capture with multiple cameras

2007-11-22 Thread sherman wilcox
I want to capture my OSG screen and dump it to a jpeg or png file. My understanding is to attach a callback to the main osgViewer camera and perform a osg::Image::readPixels(...) from within the callback. That works in the simple case. But, if I have a basic HUD that is itself a camera alongside

Re: [osg-users] crash in GL2Extensions::glDeleteShader

2007-11-20 Thread sherman wilcox
Good call Robert. makeCurrent() was/is failing. So, what is the proper way to shut everything down? I can side-step the issue by calling _viewer-getView(0)-setSceneData(0); ...this has the side effect of not calling GraphicsContext::close(...), so I avoid the crash...but this is obviously wrong

Re: [osg-users] Window titlebar icon/text

2007-11-17 Thread sherman wilcox
The most straightforward way is platform specific. Look for SetWindowText and WM_SETICON On Nov 16, 2007 6:49 AM, Robert Balfour [EMAIL PROTECTED] wrote: I'm using the osgViewer class on WinXP. Is there a straightforward way to set the application icon and text on the window titlebar? (or do I

Re: [osg-users] Thread politeness

2007-11-16 Thread sherman wilcox
On Nov 16, 2007 8:33 AM, Robert Osfield [EMAIL PROTECTED] wrote: The other thing you can do is try out an OS that can do multi-threading properly. Robert. Yeah, like Windows Vista 64! *jumps for cover* kidding...kidding ___ osg-users mailing list

Re: [osg-users] OSG + sky

2007-10-31 Thread sherman wilcox
Here's another link: http://www.magrathea-engine.org/ On 10/31/07, Robert Osfield [EMAIL PROTECTED] wrote: On 10/31/07, Rahul Jain [EMAIL PROTECTED] wrote: Hi all, I want to integrate enviroment in my application, for example clouds and sky. As far as my knowledge is concerned this is not

[osg-users] modelling question - 3DS Max = OSG

2007-10-23 Thread sherman wilcox
Hey guys, I've got a few questions related to getting 3DS models to display properly in OSG. I'm not a modeller myself, I write software, but I'm working with a modeller trying to get some of their work into my app. The objective I'm trying to reach is to import an animated, textured model from

Re: [osg-users] Performance Windows (Visual Studio) compared to MAC OS/X

2007-10-15 Thread sherman wilcox
Ummmthis looks suspicious. Same hardware yet different times on the Windows platform? What about checked iterators under 2005? Are you disabling those? Checked iterators: http://msdn2.microsoft.com/en-us/library/aa985965(VS.80).aspx With checked iterators, you'd need to disable them for the

[osg-users] osgText - shimmer...wavy

2007-10-15 Thread sherman wilcox
I'm using osgText with the character size mode of OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT. The text is position on an ellipsoid model with ECEF coordinates. When the text is smaller than the maximum font height I notice that the text is somewhat wavy when I zoom in and out.

[osg-users] osgText precision issue

2007-09-08 Thread sherman wilcox
I'm having a bit of trouble with mangled text if I zoom in to close. This text is on an osgDem generated ellispoid. In the attached screenshots, the text appears correctly in text2.jpg. However, in text3.jpg you'll see the problem. This only occurs if I zoom in really close to the text. If I back

Re: [osg-users] osgText precision issue

2007-09-08 Thread sherman wilcox
matrices in doubles and only convert to float the very last moment to increase precision. It is the same technique that osgdem uses when managing its tiles. Hope this help! Jason On 9/8/07, sherman wilcox [EMAIL PROTECTED] wrote: I'm having a bit of trouble with mangled text if I zoom

Re: [osg-users] Is text thread safe in 2.0.0?

2007-09-04 Thread sherman wilcox
things a little bit neater. I have also added a mutex into Font::GlphTexture to marshal the addGlyph and texture apply. Could you do an svn update and let me know how you get on, Cheers. Robert. On 9/2/07, sherman wilcox [EMAIL PROTECTED] wrote: I spent a few moments digging

Re: [osg-users] Is text thread safe in 2.0.0?

2007-09-04 Thread sherman wilcox
it the DefaultFont class. It should provide the same effect but keep things a little bit neater. I have also added a mutex into Font::GlphTexture to marshal the addGlyph and texture apply. Could you do an svn update and let me know how you get on, Cheers. Robert. On 9/2/07, sherman wilcox

[osg-users] compressed textures (DDS) and texture rectangles

2007-09-02 Thread sherman wilcox
OSG doesn't support compressed textures when using texture rectangles, does it? Earlier today I tried to load some DDS files using the osg::TextureRectangledidn't work. Thought it was something I was doing wrong so I started digging and ran across this comment in texturerectangle.cpp: // UH:

Re: [osg-users] Is text thread safe in 2.0.0?

2007-08-30 Thread sherman wilcox
positives. Doing such a complete purge will take some time though. Robert. On 8/30/07, sherman wilcox [EMAIL PROTECTED] wrote: I ran this on two different systems. Dell 470 - Windows XP 32 dual processor nVidia FX 3400 : no crashes at runtime, ran extensively, exited cleanly Dell 490

Re: [osg-users] Is text thread safe in 2.0.0?

2007-08-30 Thread sherman wilcox
, Robert Osfield [EMAIL PROTECTED] wrote: On 8/30/07, sherman wilcox [EMAIL PROTECTED] wrote: An update...left the osgtext --mt demo running all night on both systems, both had crashed by the time I got up this morning. Did you get a stack trace for the crashes? Robert