Re: [osg-users] Colors and Lighting

2008-03-29 Thread Robert Osfield
Hi Renan, On Fri, Mar 28, 2008 at 4:39 PM, Renan Mendes <[EMAIL PROTECTED]> wrote: > I'm new at OSG and computer graphics in general, so I'd like to ask a > few very simple questions: > 1) When I use an osg::Vec4 for setting the clear color, I have, of > course, 4 parameters. The first thr

[osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Robert Osfield
Hi All, Thanks to Sherman Wilcox the cause of the crash in osgText looks to have been tracked down to a problem with some NVidia drivers handling subloading of 0 sized data that was triggered by spaces in text. While this actually is a legal size but it causes the NVidia driver to crash no less -

Re: [osg-users] (VPB) osgdem not providing terrain heights with --tile-terrain-size --tile-image-size options

2008-03-29 Thread Robert Osfield
Hi Scott, The tile dimensions aren't controlled in size, it's purely done in post dimensions. If you don't need high res heights then just set the --tile-terrain-size to something like 16 and then limit the number of levels provide using -l . Robert. On Fri, Mar 28, 2008 at 10:36 PM, Hulet, Sc

Re: [osg-users] [VPB] Overriding source reprojection requirement in vpbmaster

2008-03-29 Thread Robert Osfield
Hi Glenn, It's correct vpbmaster refuses to do a build if the sources aren't all the same coordinate system as otherwise running osgdem on multiple processes at the same time would cause multiple reprojections on the same data at the same time and an unholy mess. The way to manage the reprojectio

Re: [osg-users] Rewrite of DatabasePager::removeExpiredSubgraphs(double)

2008-03-29 Thread Maciej Krol
Hi Robert, Great improvement! Memory usage dropped almost 6 fold for our paged scenes, from oscillating around 350MB to rock solid 60MB (WinXP). Many thanks, Maciej 2008/3/28, Robert Osfield <[EMAIL PROTECTED]>: > > Hi All, > > Testing that I've been carrying out on some new big terrain databas

Re: [osg-users] Rewrite of DatabasePager::removeExpiredSubgraphs(double)

2008-03-29 Thread Robert Osfield
Hi Maciej, On Sat, Mar 29, 2008 at 10:41 AM, Maciej Krol <[EMAIL PROTECTED]> wrote: > Great improvement! Memory usage dropped almost 6 fold for our paged scenes, > from oscillating around 350MB to rock solid 60MB (WinXP). Wow, far better than I was even expecting, great to hear that thing a now l

Re: [osg-users] [VPB] Overriding source reprojection requirement in vpbmaster

2008-03-29 Thread Glenn Waldron
Robert, I didn't explain myself properly. All my data is indeed reprojected in advance. The issue is that vpbmaster just *thinks* the data needs reprojection -- I suspect the fault lies with the ECW plugin -- and so I'd like to override the check and tell vpbmaster to forge ahead anyway and treat

Re: [osg-users] [VPB] Overriding source reprojection requirement in vpbmaster

2008-03-29 Thread Robert Osfield
Hi Glenn, If VPB is reading the coordinate systems for the source and the required target coordinate system and not matching them it'll reproject, this matching does rely upon the WTK strings to be equal, so perhaps this is where the divergance is occurring. I don't have any ECW data or plugin av

Re: [osg-users] [VPB] Overriding source reprojection requirement in vpbmaster

2008-03-29 Thread Glenn Waldron
Robert, Exactly: it is quite possible for different WKT strings to represent the same CS -- I don't think there is a canonical WKT representation per se. I have the same challenge in osgGIS. ECW=>GeoTIFF would work but ... unfortunately most of my ECW's are just plain large -- in one case I have

[osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Robert Osfield
Hi All, This time last year CMake's support for XCode wasn't up to OSX users requirements, so reluctantly I agreed to temporarily allow the old XCode directory to be maintained while CMake gained full XCode support. With OSG-2.4 on the near horizon I'd now like to review the situation but since

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Stephan Huber
Robert Osfield schrieb: > Put this all together and I think we'd have to have really good reason > not to migrate to entirely CMake build system. CMake does support > XCode, and I presume that it has moved forward in its XCode support > since this time last year so we should now be in a better po

[osg-users] 3D Texture mipmap

2008-03-29 Thread hesicong2006
Hi, I'm encounter a problem with 3D texture mipmap. I try to setup my 3D texture with mipmaps enable by: volumeTexture->setFilter(osg::Texture3D::MIN_FILTER, osg::Texture3D::LINEAR_MIPMAP_LINEAR); volumeTexture->setFilter(osg::Texture3D::MAG_FILTER, osg::Texture3D::LINEAR_MIPMAP_LINEAR); And OSG

Re: [osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Markus Hein
Hi all, > I've checked in Sherman's fix, could users who've seen this problem do > an svn update and let me know how you get on. after svn-update and a complete rebuild I still have some issues . The behavior of the app is more stable now (when switching threading model modes), but it still cra

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Robert Osfield
HI Stephan, On Sat, Mar 29, 2008 at 1:44 PM, Stephan Huber <[EMAIL PROTECTED]> wrote: > Does CMake support building frameworks on OS X now? IMHO this was the > missing key feature, stopping us using CMake on OS X. I don't know the answer to this, I was hoping that OSX users might know. If it d

Re: [osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Robert Osfield
Hi Markus, On Sat, Mar 29, 2008 at 2:41 PM, Markus Hein <[EMAIL PROTECTED]> wrote: > > I've checked in Sherman's fix, could users who've seen this problem do > > an svn update and let me know how you get on. > > after svn-update and a complete rebuild I still have some issues . The > behavior

Re: [osg-users] ANN: FLT export

2008-03-29 Thread Paul Martz
Hi Jason -- Thanks for taking this code for a test drive. FLT doesn't support POINTS primitives, so those warnings are just FYI that you're exporting a scene graph that is ill-suited for export to FLT. The only comparable FLT entity would be a light point, but if you want light points, then you s

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Robert Osfield
HI Stephan et. al, On Sat, Mar 29, 2008 at 3:08 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > I'll have a look at practicality of creating a copy of the XCode > directory on the deprecated branch of the OSG's svn repository. I have just done a : cd OpenSceneGraph svn update svn cp X

Re: [osg-users] ANN: FLT export

2008-03-29 Thread Robert Osfield
Hi Paul, The case when the new flt load was complaining about GL_POINTS was on a dataset that I first loaded from .flt then converted to .ive and then from .ive to .flt. I don't know if it was light points in the original .flt file, or how the point got in there, but somehow they did. Robert. O

Re: [osg-users] [VPB] Overriding source reprojection requirement invpbmaster

2008-03-29 Thread Norman Vine
Glenn Waldron writes: > > Robert, > > Exactly: it is quite possible for different WKT strings to > represent the same CS -- I don't think there is a canonical > WKT representation per se. I have the same challenge in osgGIS. > > ECW=>GeoTIFF would work but ... unfortunately most of my > ECW's

Re: [osg-users] [VPB] Overriding source reprojection requirement invpbmaster

2008-03-29 Thread Glenn Waldron
Norman, Your solution works perfectly! Thanks a lot. For the benefit of others, here is my Win32 build batch file. (That odd-looking first line just reads the contents of a WKT .prj file into a variable.) for /F "delims=" %%p in (boston-image.prj) do set prj=%%p gdal_translate -of vrt -a_srs %pr

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Stephan Huber
Robert Osfield schrieb: > o The hand maintained XCode projects only work for specific version > of XCode as XCode's project forward/backwards compatibility is nothing > short of atrocious. I've > recently heard from a long time OSX users that the lastest XCode > project files have broken th

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Stephan Huber
Hi Robert, Robert Osfield schrieb: > Stephan could you check this directory in a place sparate from the OSG > and then see if you have permission to modify it? Another test would > be to remove the local XCode directory and checkout the dprecated one > instead. If things work out I could remove

[osg-users] [VPB] vpbmaster doesn't exit on Win32

2008-03-29 Thread Glenn Waldron
Not sure whether this has been reported, but vpbmaster does not exit under Win32. Once the build completes you have to kill it from the Windows task manager. I have not had time to look into it yet - just wanted to throw it out there for now.. Glenn -- Glenn Waldron : Pelican Mapping : http://pe

Re: [osg-users] Testing of OSG and VPB SVN in prep for nex dev releases and 2.4 stable release

2008-03-29 Thread David Callu
Hi Robert, OSG and VPB build fine on Fedora 8, gcc 4.2 Cheers David Callu 2008/3/28, Robert Osfield <[EMAIL PROTECTED]>: > > Hi All, > > There has been a number of changes and new introduction this week so > I'd very much appreciate another round of build and run tests across > various platfor

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread E. Wing
On 3/29/08, Robert Osfield <[EMAIL PROTECTED]> wrote: > HI Stephan, > > On Sat, Mar 29, 2008 at 1:44 PM, Stephan Huber <[EMAIL PROTECTED]> > wrote: > > Does CMake support building frameworks on OS X now? IMHO this was the > > missing key feature, stopping us using CMake on OS X. > > I don't know th

Re: [osg-users] ANN: FLT export

2008-03-29 Thread Paul Martz
Looks like the importer interprets DrawMode OMNIDIRECTIONAL_LIGHT as a POINTS primitive. I can support the inverse mapping in my exporter to stifle the "GL_POINTS not supported" warning. I'll add this to my to-do list. -Paul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[E

Re: [osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Markus Hein
Robert Osfield schrieb: > the fix from Sherman was a very specific workaround for a > bug in the NVidia driver coping with zero sized texture subloads that > was causing a crash (the stack trace would lead from the OSG into the > NVidia driver via the osgText::Font's subloading code. Did you see

Re: [osg-users] Annexing the old OpenSceneGraph/XCode directory, moving to using just CMake

2008-03-29 Thread Robert Osfield
Hi Eric, On Sat, Mar 29, 2008 at 5:28 PM, E. Wing <[EMAIL PROTECTED]> wrote: > The answer is maybe. It is in CMake's CVS. There are still some > critical bugs, but the infrastructure is at least there now. (OSG's > CMake code must be updated to handle this though.) CMake entered its > 2.6.0 be

Re: [osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Robert Osfield
Hi Markus, On Sat, Mar 29, 2008 at 6:38 PM, Markus Hein <[EMAIL PROTECTED]> wrote: > ok, my application crashed with the combination of setText() called from > UpdateCallback per frame and switching the threading modes at runtime. Have you set the DataVariance on the Text drawable to DYNAMIC?

Re: [osg-users] osgText + NVidia driver bug fix checked in

2008-03-29 Thread Markus Hein
Hi Robert, > Have you set the DataVariance on the Text drawable to DYNAMIC? This > is required if you are updating it dynamically and use > DrawThreadPerContext or CullPerCameraDrawPerContext threading models. hmm...no, it wasn't . DataVariance is set to DYNAMIC now and is working fine :-) Thank

Re: [osg-users] Testing of OSG and VPB SVN in prep for nex dev releases and 2.4 stable release

2008-03-29 Thread nicolas peña
OSG SVN builds OK and my applications work as expected. VPN SVN also builds well but I have not tested it. My machine runs Linux 2.6.22 (x86_64) and all was built with gcc 4.1.3 targeting x86_64. Cheers, Nicolas. 2008/3/29, David Callu <[EMAIL PROTECTED]>: > > Hi Robert, > > OSG and VPB

Re: [osg-users] ANN: FLT export

2008-03-29 Thread Brede Johansen
Hi Paul, I took the Flight exporter out for a quick spin and it worked remarkably well. Another nice feature available to OSG users. Grats! Regards, Brede On Fri, Mar 28, 2008 at 12:01 AM, Paul Martz <[EMAIL PROTECTED]> wrote: > > > Hi All -- I recently posted a change to osg-submissions that

[osg-users] Stop testing FLT export temporarily

2008-03-29 Thread Paul Martz
Hi folks -- I just encountered a remarkable inefficiency in how the exporter handles Mesh and Face records. Let me do some redesign and rewriting, and once I've fixed it it'll be fair game for testing again. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com

Re: [osg-users] ANN: FLT export

2008-03-29 Thread Paul Martz
Whew! I'm glad someone found that it worked well! -Paul > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Brede Johansen > Sent: Saturday, March 29, 2008 4:55 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] ANN: FLT export > > Hi Paul