Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-09 Thread Jean-Sébastien Guay
Hi Brian, Hmmm, must have been the attachment since you saw everything on this one. Attachment was only 47kb - you wouldn't think that would be a stopper unless it was just the fact it had an attachment. Weird, I remember bigger attachments being sent to osg-users (screen captures, etc.)...

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-09 Thread Jean-Sébastien Guay
Hi Brian, Thanks for the help. Should be another blank one there now where I just tried posting the same file as a zip but that was refused too. Yep. Sorry... I'll wait and see what Robert says - I guess I could put the whole CmakeCache.txt in-line in a message. That would work I'd gue

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Jean-Sébastien Guay
Hello Paul, For what it's worth... the whole messages are coming through for me but they are just not visible. If I view the message source then I can see the contents... including the encoded attachment. I'm not sure why Thunderbird is getting confused by them. Hey, you're right. Weird, f

Re: [osg-users] Manually setting osgManipulator transformations

2008-06-10 Thread Jean-Sébastien Guay
Hello Julian, However, I also want to be able to specify the manipulation directly. For example, I could drag the widgets around to scale the model to 0.5, but I also want to be able to type in 0.5 in my interface and get the same result. Problem is that seems to put the widgets out of sync w

Re: [osg-users] Ray Tracing a BRLCAD model in Openscenegraph

2008-06-10 Thread Jean-Sébastien Guay
Hello Steven, I would like to display these BRLCAD models by ray trace in Openscenegraph (yes, it will be slow!). I have done some searches through the archives and have not found a lot of info. It appears that I am going to have to use glReadPixels and glWritePixels prior to the swapbuffer

Re: [osg-users] Building sln for VS 9 with CMAKE results in wrong Paths

2008-06-10 Thread Jean-Sébastien Guay
Hello Samuel, Unfortunately each project links against dependencies in a similar way like this-> $(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ..\..\lib\osgGAd ..\..\lib\osgUtild ..\..\lib\osgd ..\..\lib\Op

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Jean-Sébastien Guay
Hello Edward, You can query the test pass/failure results on a per-camera basis. (...) Yes, the query works. I was talking about recovering the pass/failure without acting accordingly (disabling the node if "invisible"), If all you want is to be able to determine if a node is visible or not,

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Jean-Sébastien Guay
Hello Eduard, I think that's still a bit beyond my osg/gl skills, and more so given my time frame; hence the convenience of using library code. I just checked, there doesn't seem to be this specifically, but you could use osgUtil::PolytopeIntersector for this. It would be pretty slow if you u

[osg-users] Convert/use GIS coordinates

2008-06-10 Thread Jean-Sébastien Guay
Hi fellow OSGers, I was wondering if I could ask some questions about GIS in general on this list. I know there are some really knowledgeable people on this list (Glenn, I'm looking at you!). We have no one here who has any expertise in this subject... :-) In one of the subprojects of our cu

Re: [osg-users] ccmake issue with 2.4.0 release (fwd)

2008-06-11 Thread Jean-Sébastien Guay
Hi Bob, The cmake configuration process bailed out during the generation phase with this: CMake Warning (dev) at src/osg/CMakeLists.txt:173 (ADD_LIBRARY): Policy CMP0003 should be set before this line. Add code such as As Vincent said, for OSG 2.4 you need to use CMake 2.4.x, because som

Re: [osg-users] OcclusionQueryNode woes

2008-06-11 Thread Jean-Sébastien Guay
Hi Eduard, But you were right, I *do* want occlusion information, so that means J-S's suggestion does not work for me (didn't even have the time to look at it, and hence the mix-up -- sorry). OK, sorry, I thought you just wanted to see if it was in the camera's view volume. J-S -- ___

Re: [osg-users] Simple question about osg window under vista

2008-06-11 Thread Jean-Sébastien Guay
Hello , (if Robert were here he would probably ask you to sign your posts with a name that most people here would be able to read... just so we can address you correctly) For example my screen resolution 800x600 so when I create in osg window 800*600 I still see status bar with startup butto

Re: [osg-users] Convert/use GIS coordinates

2008-06-11 Thread Jean-Sébastien Guay
Hi Glenn, Thanks for the links, combined with Chris and Alan's links I might get a better understanding of the general terminology and concepts... That's one thing I'm lacking now, it just sounds like a bunch of acronyms and alien words to me :-) I thought being in computer science I'd be immu

Re: [osg-users] Convert/use GIS coordinates

2008-06-11 Thread Jean-Sébastien Guay
Hi again, For example, from the specs document I've got, it seems the coordinates we might get would look like 576120.324, 6224420.858, -102.73 I forgot to mention, what we have about the Z coordinate in the spec is: "GPS-Z, positive going up towards the sky, which can be above sea level,

[osg-users] osg::Uniform logic error?

2008-06-11 Thread Jean-Sébastien Guay
Hello all, In osg/Uniform.cpp, there is this code: void Uniform::allocateDataArray() { // if one array is already allocated, the job is done. if( _floatArray.valid() != _intArray.valid() ) return; // ... } I don't think the code does what the comment says it should do..

Re: [osg-users] osg::Uniform logic error?

2008-06-11 Thread Jean-Sébastien Guay
Hi Paul, Hmm, if both are not valid the expression tested would be (false != false), which evaluates to false. The method does not return in that case. It only returns if one of the arrays has been allocated and the other one hasn't. OK, so the error is the opposite of what I thought it was

Re: [osg-users] osg::Uniform logic error?

2008-06-11 Thread Jean-Sébastien Guay
Hi Paul, Could it be that the float array is allocated in this case, while it should have been the int array? No, neither is allocated (both are 0). I'm trying to find out what could cause that... My workaround of course is to create it myself if both arrays are 0, but Uniform should work co

Re: [osg-users] osg::Uniform logic error?

2008-06-11 Thread Jean-Sébastien Guay
Hi Paul, No, neither is allocated (both are 0). I'm trying to find out what could cause that... My workaround of course is to create it myself if both arrays are 0, but Uniform should work correctly... I think it's in the copy constructor. Uniform::Uniform( const Uniform& rhs, const CopyOp

Re: [osg-users] RTT, ParticleSystem, Depth

2008-06-12 Thread Jean-Sébastien Guay
Hello John, Robert, I don't have any input into your question, but I just wanted to let you know that Robert is doing training all this week, so he's away from his e-mail and can't answer (even if you send your message twice :-) ). Others may have some ideas, though. J-S -- __

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

2008-06-12 Thread Jean-Sébastien Guay
Hello Brian, I must be doing something wrong when using CMakeSetup. Every time I download a new release of OSG, I have to go through the steps of reconfiguring CMake to point to all the directories for the various extras (GDAL, FLTK, etc.) I've tried setting up environment variables with names

Re: [osg-users] Build error with latest svn

2008-06-12 Thread Jean-Sébastien Guay
Hi Eric, There is a build error (OSX tested) with latest svn (revision 8434), in the DatabasePager (I don't have the exact error right now). Reverting to build 8425 seems to fix the problem: svn update -r8425 It looks like the refactoring from RequestQueue to ReadQueue didn't get finished o

Re: [osg-users] CMake and OSX

2008-06-12 Thread Jean-Sébastien Guay
Hi Eric, The latest SVN of osg has a problem when generating xcode projects with cmake. In the main directory, CMakeLists.txt on line 349, is the following: ADD_DEFINITIONS("-DOSG_DEBUG_POSTFIX='\"${CMAKE_DEBUG_POSTFIX}\"'") This causes problems on OSX. I would like to change this line to:

Re: [osg-users] Disabling HUD in one camera

2008-06-12 Thread Jean-Sébastien Guay
Hello I currently have a setup with one viewer with two cameras. I add a "HUD" to the scene (as a child to the root node) and it shows up in both camera views. Is there an easy way to disable seeing it in one view? Some camera->Set... that will do this? (based on depth or something?) osg::Ca

Re: [osg-users] CMake and OSX

2008-06-12 Thread Jean-Sébastien Guay
Hello Eric, Is there any reason we shouldn't require CMake 2.6 when compiling the latest OSG? I don't think it's really that useful to require that everyone update their CMake version to 2.6 just for this. We can work around it through tweaks to the CMakeLists.txt instead. Though we have to

Re: [osg-users] CMake and OSX

2008-06-13 Thread Jean-Sébastien Guay
Hi Eric, I'm using this change (I'm using the latest svn) but it doesn't fix the problem on OSX. I added a conditional around line 349 that checks the version of cmake in use and that seems to solve the problem for me. I'm attaching my CMakeLists.txt to this message if anyone wants to try it

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

2008-06-13 Thread Jean-Sébastien Guay
Hi Sherman and Luigi, 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" -DCURL_LIBRARY:PATH="%rootdir%\3rdparty\curl\lib\release\

Re: [osg-users] [Depth Buffer rendering]

2008-06-13 Thread Jean-Sébastien Guay
Hello Mathieu, In fact i've got a new problem (perhaps it's normal), the transformations applied with texgen are not take into account when i use my shader. Do you have any idea of how to proceed ? I attach a screen capture of my problem. If you're using a vertex shader, you must do the TexG

Re: [osg-users] Can't compile latest SVN version

2008-06-14 Thread Jean-Sébastien Guay
Hello Hesicong I notice that you changed the DatabasePaper.cpp in lastest SVN, but I can't the OSG due to large compile errors in DatabasePaper.cpp. Please check it thanks! This has already been mentioned a few times in the last few days. Robert is out giving training and said he wouldn't be

Re: [osg-users] Warnings in latest SVN Version : DatabasePager Header

2008-06-16 Thread Jean-Sébastien Guay
Hello Adrian, warnings in database pager under windows vc 2005 Please check list traffic before posting a new thread (it was mentioned a little while ago that we need to diminish the support load when possible) http://news.gmane.org/gmane.comp.graphics.openscenegraph.user J-S -- __

Re: [osg-users] Artefacts in transparent objects

2008-06-17 Thread Jean-Sébastien Guay
Hi Paul, Just an addition to the above. This works as long as the transparent object consists of a fully closed shape (which is the case here). If it weren't you'd introduce new artifacts by culling transparent faces that should be visible. As an addition to the above, even with a manifold o

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Jean-Sébastien Guay
Hello Ricky, I duplicated files in lib Folder and add 'd' before the extension. When I built it in Debug mode, it had no error but then I received a message: http://i58.photobucket.com/albums/g278/TTFTotti/error1.png And what did you expect? Using release libs in debug builds is a big no-no s

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Jean-Sébastien Guay
Hello, I used OSG 1.2 before and didn't meet problems like this. No need to send your message three times. We heard you - please allow some time for people to reply in the middle of their jobs/other activities. J-S -- __ Jean-Sebastien Gua

Re: [osg-users] Upgrading from version 1.2 and Producer using Visual Studio

2008-06-17 Thread Jean-Sébastien Guay
Hello Rick, I noticed that there is: osgViewer::Viewer->getCamera()->setPostDrawCallback() but there is only one (implied by a set* rather than add*). Any way to have multiple ones? You could create a CompositeDrawCallback class, which would be an osg::Camera::DrawCallback, would have a v

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Bonjour Arnaud, I put the libpng13.dll in the same directory of osgdb_png.dll but in visual studio output window the dll is called anytime I try to read a png and then unloaded after the operation. No, libpng13.dll should be in your PATH or in your executable's directory. The plugins are in O

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Bonjour Arnaud, I finaly found my problem. Indeed osgdb_png.dll needs libpng13.dll but libpng13.dll needs also zlib1.dll. Ha! I had forgotten that one. I generally just copy all the DLLs from the 3rdParty/bin directory to my OSG bin directory. :-) J-S -- __

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Hi Paul, This seems to come up quite often for the Windows users. Would linking against a static version of dependencies like png, jpeg, zlib, etc be a helpful solution? Not sure how the executable size would increase in that case... But yeah, they're pretty much required dependencies if you

[osg-users] Win32 keyboard bug (was: X11 keyboard bug (+ ugly fix))

2008-06-18 Thread Jean-Sébastien Guay
Hello all, To reproduce start the osgkeyboard example, press a few modifier keys (let's say Ctrl and Shift) and while keeping them pressed switch the desktop (e.g. on KDE) or minimize the window. Release the modifier keys. Now, when you switch back or open the minimized window, you'll see Ctrl a

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Hi Paul, Yes, the increase in size would be a downside. But disk space and memory are fairly cheap these days. I suspect only a small number of plugins would increase (jpg, png, tiff, jp2). I think we need to quantify it. Then we can evaluate if it's significant or not. If I have 16 OSG ap

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Hi Paul, I wasn't suggesting that _apps_ link statically, merely that the plugin DLLs link statically against their (non-OSG) dependencies. Ah, I hadn't seen it that way. It would in that case increase the size of plugins that use the same dependencies (zlib is used by multiple plugins I thi

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Hi Robert, So if you want to go static link of external dependencies under Windows then guys, you have my backing. I agree, Paul's idea is a great one for the initial user experience on Windows. Though I would keep it optional, just default to static, since there are cases where you'd want D

Re: [osg-users] problem with osg 2.4 stable release

2008-06-18 Thread Jean-Sébastien Guay
Hi Paul, Would voting there imply registration on the forum? I think so, and I don't think there's a good way to get around that... I've tried to formulate a poll below. It's impossible to cover every possibility, of course. For OS/X there are no prebuilt packages, right? Would voting for

Re: [osg-users] Warning compiling CMake 2.6 + OSG 2.4.0 + MinGW

2008-06-19 Thread Jean-Sébastien Guay
Hello Michele, Don't know if it is an already known issue and have no idea what the message means but compiling OSG 2.4 using the latest CMake 2.6 (under XP) I get the warning that you can see in the attached image right after pressing "Ok" in the CMake gui (CMakeSetup.exe, not the new beta cmak

Re: [osg-users] help on picking and draggers?

2008-06-19 Thread Jean-Sébastien Guay
Hello, there is the osgpick example. Also the osgmanipulator example for manipulators. I recall it took me a while to get my head around the manipulators too, the design of these classes is a bit complex, but it works well in the end. Check the osgmanipulator example and trace through it, i

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.5.3 dev release

2008-06-20 Thread Jean-Sébastien Guay
Hi Robert, So pretty please, could you do svn update and build across as many platforms that you can so we can get a clear picture of how the OSG code base is holding up. Once things look fine across platforms I'll tag 2.5.3. Updated and compiling on both Windows Vista (native) and Ubuntu (ru

Re: [osg-users] Question about osg::Fog and RTT setups

2008-06-20 Thread Jean-Sébastien Guay
Hi John, I have classes that I instantiate that use GLSL, but are not automatically enabled on the scene graph. Is there a way to use RTT and PIXEL_BUFFER setup that won't break osg::Fog? What I mean is, if I don't instantiate the GLSL objects, will osg::Fog remain intact in this type of setup?

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.5.3 dev release

2008-06-20 Thread Jean-Sébastien Guay
Hi Robert, So pretty please, could you do svn update and build across as many platforms that you can so we can get a clear picture of how the OSG code base is holding up. Once things look fine across platforms I'll tag 2.5.3. Updated and compiling on both Windows Vista (native) and Ubuntu (ru

Re: [osg-users] Improvements for OSX application bundles

2008-06-20 Thread Jean-Sébastien Guay
Hi Eric, I have named the files so that the hypen character ("-") should be replaced by the slash character ("/") when placing in the OSG source hierarchy. This was necessary as several of the changed files all have the same filename, just different locations. You could have saved yourself t

Re: [osg-users] help on picking and draggers?

2008-06-21 Thread Jean-Sébastien Guay
Hello, as a general rule, if you're using ref_ptr correctly, you should never have to call ref(). I've written much OSG code over the years, and have never had a need to call ref() directly. I agree with Mike, if calling ref() (apparently) fixed your problem then there is a deeper problem

[osg-users] CMake 2.6 + VS 9 (was: Re: Improvements for OSX application bundles)

2008-06-22 Thread Jean-Sébastien Guay
Hi Robert, Both CMake 2.6 and VS 9 are pretty new so it make take a little time for 2.6 to fully support VS 9. This is an issue that needs to be brought up with the Cmake team, but first we need to characterise it a bit more - i.e. see others reproduce it, work out what bits causes things to go

Re: [osg-users] LODScaleHandler crash on unref

2008-06-23 Thread Jean-Sébastien Guay
Hello Alexandre, I know that the community isn't really appreciating windows and MFC but I'm not sure to reproduce the bug in an other example, I'll give a try and you will hear from me if I succeed. I wouldn't interpret what Robert said as "the community isn't really appreciating Windows an

Re: [osg-users] CMake 2.6 + VS 9

2008-06-23 Thread Jean-Sébastien Guay
Hi Bill, Both CMake 2.6 and VS 9 are pretty new so it make take a little time for 2.6 to fully support VS 9. This is an issue that needs to be brought up with the Cmake team, but first we need to characterise it a bit more - i.e. see others reproduce it, work out what bits causes things to go u

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi Mike, Paul, I see the same, though this exact same code compiled OK in the 2.5.2 dev release, so I imagine this new issue is caused by a change to the cmake config files. Strange, I'm not seeing any of this (SVN rev 8492, Windows Vista, CMake 2.6, VS 8). Everything builds fine for me. I'll

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi Paul, Hm. The OpenThreads\Config header (in this directory) #defines a symbol that results in the inclusion of windows.h within OT's "Atomic" header. I wonder if this could be why std::max is giving us grief? Hmm, I think you're right, there should probably be the classic #define NOMINMAX

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi Paul, But at this point I'm rebuilding from scratch (osg done, halfway through osgDB and osgUtil) and am not getting the errors you're getting... Spoke too soon. I'm now getting the errors you and Mike spoke of. I'll look into it. (note that I'm not involved with the Config headers chang

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi Paul, Thanks for taking a look. At some point I'd like to understand this change and why it was required, but right now I don't feel like wading through ~40 emails to understand it. I actually followed the e-mails related to this and *still* don't understand why a Config header is required

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi again, The problem is probably something else. I'll check it out. I'm well on my way on a new build, which seems to be going well. I just changed the Atomic header to set the defines which are commonly set to avoid windows.h polluting the namespace with lots of junk, i.e.: #if defined(_

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi again Paul, I'm well on my way on a new build, which seems to be going well. Nope, there are still some problems. Seems some plugins (lwo, net and jpeg) need the whole windows.h (without WIN32_LEAN_AND_MEAN). I'm trying a build with that. Unfortunately that will bring lots and lots of stu

Re: [osg-users] Windows build is broken

2008-06-23 Thread Jean-Sébastien Guay
Hi again, I'll let you know how it goes. Still a no go. I'm turning in for the night, but I'll try something else tomorrow. I'm considering splitting Atomic into a header and a .cpp file, so that windows.h can be included only in the implementation and not the header. That would fix it, s

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hello Mathias, Thanks a lot for the explanation of the Atomic stuff. Regarding the Config header: The config header is just a way to tell the atomic integer class which implementation to use. This is basically due to the lack of an atomic type in the c++ standard (which is addressed in the n

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hi Mathias, Probably we should either * define nominmax on win32 in any case or * change the code not to use variables called min or max and include which should provide std::min and std::max and makes msvc 8 indeed compile the code (does this also work for other msvc's??). No need for eit

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hello Mathias, I actually followed the e-mails related to this and *still* don't understand why a Config header is required! ;) Well that is somehow orthogonal to the windows.h include. Yes of course, but since both (the Atomic header and the Config header) came in because of the same change

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hello Mathias, Alternatively, cmake povides an 'install' target on unix builds. I do not know if this is also available in win32. Yes, and I always use it, and it works (copies the Config header). So no problem there. I see that problem. Appologies for not testing that stuff on windows. I

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hi Mathias, Will you or should I? I have done the offending change so, I can make sure that it works again? I just want to avoid duplicate work. Yes, go ahead. I had started, but it's more logical that you do it. Send the changed files on the list when you're done and I'll check them out and

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hi Mike, I believe the simple tokens "near" and "far" are keywords in the VS compiler (a legacy of the distinction between the near and far pointers of the x86 architecture way way back when) They're not keywords, they're #defined in a header that's included when you include windows.h. Sinc

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hi James, I'm going to hold off on getting the latest until Mathias has a chance to checkin some fixes with windows.h Probably a good idea, then we can check if there are any other outstanding issues. BTW, did you set your e-mail message's background to black or am I seeing a bug in my cli

Re: [osg-users] osg::Shader destructor

2008-06-24 Thread Jean-Sébastien Guay
Hi James, Is there a reason the destructor for the Shader object is protected? Like all classes derived from osg::Referenced, you're not supposed to create them as normal variables. You use ref_ptr and new, like this: osg::ref_ptr shader = new osg::Shader(...); The destructor of classes de

Re: [osg-users] Windows build is broken

2008-06-24 Thread Jean-Sébastien Guay
Hi Paul, "near" and "far" are not reserved words in standard C++. The variable names should remain as-is. Sometimes you need to pick your battles, and I like Mike have learned to avoid using near and far as variable names, to avoid problems. But what you say is true, and if the root problem

Re: [osg-users] osg::Shader destructor

2008-06-24 Thread Jean-Sébastien Guay
Hi Paul, There are a few exceptions to this rule. NodeVisitor, for one, derives from Referenced but declares its destructor as public. Interesting, I never noticed that. So what was the intent, do you think? Why would NodeVisitor derive from Referenced in the first place? J-S -- ___

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-25 Thread Jean-Sébastien Guay
Hi Bob, what fun would this list be if someone (lucky me) didn't get to stick their foot in their mouth from time to time. :) I assume you got some personal replies to your message, as I haven't seen anything on osg-users that reacted to it in any way, so your own reaction is a bit surprisin

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-25 Thread Jean-Sébastien Guay
Hello James, I think you're mixing things up. There are three different issues here: 1. The choice to use Config headers. 2. The fact that the Atomic header includes windows.h. 3. The fact that your version of CMake chooses the wrong configuration and does not generate the Config header. Numb

Re: [osg-users] Convert/use GIS coordinates

2008-06-25 Thread Jean-Sébastien Guay
Hi Glenn, Bottom line: if you use VPB to build a terrain in UTM zone 32 (or whatever), you will need to do no coordinate conversion. I'm currently doing some tests with some data I got from http://www.ngdc.noaa.gov/mgg/image/2minrelief.html (pretty low res, but I'm just testing). The problem

Re: [osg-users] Convert/use GIS coordinates

2008-06-25 Thread Jean-Sébastien Guay
Hi Glenn, From the looks of your coordinates, UTM Zone 40N would be a good choice for a projected SRS. It should actually be UTM zone 32V, unless I made a mistake somewhere. It's the tip of the Norwegian peninsula. The -a_srs argument will accept many things including PROJ4, WKT, or a fil

Re: [osg-users] Camera PostDraw Callback w/ OpenGL calls.

2008-06-25 Thread Jean-Sébastien Guay
Hi John, I have a camera postdraw callback on a View's camera. I want to do some OpenGL drawing via glBegin()/glEnd() and then take a screen capture. The screen capture works but the custom drawing isn't in there. It's on the screen though. I try to do glDrawBuffer( GL_BACK ) to force it into

Re: [osg-users] Convert/use GIS coordinates

2008-06-25 Thread Jean-Sébastien Guay
Hi Glenn, Also, I am an idiot, because I meant to say gdalwarp, not gdal_translate. gdal_translate -a_srs will just assign an SRS, not reproject the data. gdalwarp asks me for -s_srs and -t_srs, if I just specify -t_srs "+proj=utm +zone=32 +datum=WGS84" it says that there is no source coord

Re: [osg-users] Convert/use GIS coordinates

2008-06-25 Thread Jean-Sébastien Guay
Hi Norman, What should I specify as the source coordinate system? -s_srs EPSG:4326 Or the convenient shorthand -s_srs WGS84 Hmm, that doesn't seem to work either: gdalwarp -s_srs WGS84 -t_srs "+proj=utm +zone=32 +datum=WGS84" 32V.tif 32V_warped.tif Then I generate a terrain from that:

Re: [osg-users] Convert/use GIS coordinates

2008-06-26 Thread Jean-Sébastien Guay
Hi Norman, gdalwarp -s_srs WGS84 -t_srs EPSG:32618 32V.tif 32V_warped.tif That turns the image all black (no height values)... You left the units=m out of your proj4 string I also tried gdalwarp -s_srs WGS84 -t_srs "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" 32V.tif

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-26 Thread Jean-Sébastien Guay
Hi James, Thanks for explaining things: No problem, that's what we're there for. :-) Well I'll give Cmake 2.6 another shot. I tried it too early before and it had some strange behavior. Hopefully now since a lot of people are using it I'll feel a bit more confident that it will work. I m

Re: [osg-users] Convert/use GIS coordinates

2008-06-26 Thread Jean-Sébastien Guay
Hi Glenn, Thanks for the files. I was able to use them to make it work. The problem was that the original TIFF had geo spatial information. OK, great, works here too. I'll have to take some notes so I don't make the same mistake in the future. I just assumed that since gdalinfo gave the lat/

Re: [osg-users] Anyone using OSG in Windows with 3 (or more)monitors on 2 (or more) graphics cards ?

2008-06-26 Thread Jean-Sébastien Guay
Hi Robert, Wojtek, I recall a post for Jean-Sebastian Guay in the last couple of months about Vista not supporting TwinView, perhaps I mis-read, but this is what I recall. Perhaps he'll be able to chip in. I'm not sure what TwinView corresponds to, as it's more of a Linux/X term. On Windows

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.5.3 dev release

2008-06-26 Thread Jean-Sébastien Guay
Hi Robert, I have now merged several build fixes from Mathias that should help things under Windows, could you all please do an svn update and let me know how things now stand. I sent an updated src/OpenThreads/win32/CMakeLists.txt file that fixes a small omission to get it to build on Window

Re: [osg-users] Convert/use GIS coordinates

2008-06-26 Thread Jean-Sébastien Guay
Hi Glenn, Well, since a UTM zone represents a vertical "slice" of the earth, it won't be perfectly rectangular -- in the northern hemisphere, the width at the north side (in meters) is less than the width at the south. Since a TIFF is rectangular, you see borders. The only way to compensate wo

Re: [osg-users] Build fails on Windows

2008-06-26 Thread Jean-Sébastien Guay
Hi Paul, Current SVN fails to build under Windows, though the errors are different from what we saw earlier this week. Errors now are undefined symbols when the osg library links. Below is a greatly abbreviated list of the errors spewed out by VS2005. Looks like the Atomic header file has some k

Re: [osg-users] Anyone using OSG in Windows with 3 (or more)monitors on 2 (or more) graphics cards ?

2008-06-26 Thread Jean-Sébastien Guay
Hi Jan, I'm not sure what TwinView corresponds to, as it's more of a Linux/X term. That's incorrect. Twinview is Nvidia's term for their multi-monitor support on their GPUs: http://www.nvidia.com/object/feature_twinview.html Sorry, I just assumed as I hadn't seen the term used on Windows. In

Re: [osg-users] About MixinVector

2008-06-26 Thread Jean-Sébastien Guay
Hi Paul, Can someone please explain the MixinVector change and why it was necessary? Also, please explain the name "MixinVector" -- what, exactly, is a "Mixin"? If this is a design pattern, I must admit I'm not familiar with it. To add to what Robert said: http://en.wikipedia.org/wiki/Mixin

Re: [osg-users] Freetype doesn't show up in .net2005

2008-06-26 Thread Jean-Sébastien Guay
Hi Kim, FREETYPE_INCLUDE_DIR_freetype2 = C:/Build/OpenSceneGraph 2.4/3rdParty/include/freetype FREETYPE_INCLUDE_DIR_ft2build = C:/Build/OpenSceneGraph 2.4/3rdParty/include/ FREETYPE_LIBRARY_DEBUG = C:/Build/OpenSceneGraph 2.4/3rdParty/lib/freetype219_D.lib There is another value, FREETYPE_LIBR

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-26 Thread Jean-Sébastien Guay
Hello James, Well I'll give Cmake 2.6 another shot. I tried it too early before and it had some strange behavior. Hopefully now since a lot of people are using it I'll feel a bit more confident that it will work. I may get back with you on the Install workflow, but I'll need to see how 2.6

Re: [osg-users] manipulating vertices from a node loaded by ReadNodeFile()

2008-06-26 Thread Jean-Sébastien Guay
Hello Rene, I've been browsing the mail archive to find the answer to my question but I haven't found anything at all. I basically want to manipulate the vertices of a model loaded by the osgDB::ReadNodeFile() function. ReadNodeFile() returns a osg::Node. I was hoping this might actually be a

Re: [osg-users] Anyone using OSG in Windows with 3 (or more)monitors on 2 (or more) graphics cards ?

2008-06-26 Thread Jean-Sébastien Guay
Hi Wojtek, Thats the configuration I am after. I don't need one continuous desktop divided into 4 or more monitors. I am looking for the configuration which would allow me to drive four independnt views from one machine. You can do that in both setups. If you have one continuous desktop, you

Re: [osg-users] Testing of OSG and VPB SVN in prep for 2.5.3 dev releasese

2008-06-26 Thread Jean-Sébastien Guay
Hi Robert, could users please do an svn update, build and run on as many platforms as you can and see how things are working out. OSG SVN on Windows Vista, VS8, CMake 2.4.8 and 2.6, builds and runs fine. VPB SVN on Windows Vista, VS8, CMake 2.6 (didn't take time to test on 2.4.8), builds and

Re: [osg-users] Missing Freetype?

2008-06-26 Thread Jean-Sébastien Guay
Hi Rick, I have a 3rdParty folder, and it is being properly used for jpeg, gif, glut, tiff, etc. I set these options to be what made sense to me in the 3rdParty folder (which does have freetype includes and libes), and ran CMake with no errors, but I still did not see any freetype plugin in t

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

2008-06-27 Thread Jean-Sébastien Guay
Hello Judie, Well, I downloaded a 30 day trial of 3DS Max 2009 and it did not have an osg importer or exporter. There is an exporter, though I have no idea if it's still being developed and if it works with recent versions of 3DS Max. http://sourceforge.net/projects/osgmaxexp There is no

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-27 Thread Jean-Sébastien Guay
Hi James, Good to see that things are starting to work for you. I guess VS7.1 is a less tested compiler as it's getting a bit old. I have no interest in getting it to work personally as I don't use it, and I suspect that's Mathias's case too. If you want to make it work under 7.1, you're welc

Re: [osg-users] Particles being culled

2008-06-27 Thread Jean-Sébastien Guay
Hi Cg, Thanks for your help, I've narrowed it down to my terrain, when I use Joseph's terrain, the particles look good. But when I switch over to my terrain, some of the particles will get culled. How does a terrain affect the particles? Just for the record, if a particle is partially visibl

Re: [osg-users] Updating the OSG reference manual (doxygen pages)

2008-06-27 Thread Jean-Sébastien Guay
Hi John, If someone with web server access could update these doxygen pages to reflect the latest stable release, I - for one - would be very happy. I have been asking for this for a while. Jose Luis Hidalgo is the one who set up the new web server, but right now it seems that there is some

Re: [osg-users] Testing of OSG and VPB SVN in prep for 2.5.3 dev releasese

2008-06-27 Thread Jean-Sébastien Guay
Hi Paul, Hi Robert -- When I link one of my projects against current svn head, I get Atomic::operator++() as an unresolved external symbol. -Paul Make sure you link to OpenThreads.lib. Before, only OSG code would call OpenThreads directly (unless you created threads yourself), so you did

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-27 Thread Jean-Sébastien Guay
Hi James, Perhaps there should be plans to ditch 7.1 if no one is using it now. I think we should wait to see if anyone finds a fix so it compiles on 7.1. It has to come from someone who uses it though, as that's something that I personally can't check (since I don't have 7.1). Thanks for

Re: [osg-users] osgthirdpersonview crashes on Linux

2008-06-27 Thread Jean-Sébastien Guay
Hi Mario, I specify in the advanced cmake options: CMAKE_C_FLAGS-march=i486 -mtune=i486 CMAKE_CXX_FLAGS -march=i486 -mtune=i486 Then configure and generate, but the ./include/OpenThreads/Config file continues with everything commented out. Have I missed some

Re: [osg-users] Testing of OSG and VPB SVN in prep for 2.5.3 dev releasese

2008-06-27 Thread Jean-Sébastien Guay
Hi Robert, I'll test on my Ubuntu Virtualbox, but I suspect that's a bit unnecessary... Just being thorough. :-) Wow, many thanks for testing across all these combinations. Now will anyone else pitch in for other platforms?? :-) The last one (Ubuntu) has now built correctly (as expected

Re: [osg-users] Debug Libraries error (0xc0150002)

2008-06-27 Thread Jean-Sébastien Guay
Hi Mark, I haven't found any mentions of that error in relation to osg, but every solution to it I could find for other systems involved getting service pack 1 or replacing the library with a newer/fixed version. This machine has service pack 2, so the first isn't the problem. I think they

Re: [osg-users] Particles being culled

2008-06-27 Thread Jean-Sébastien Guay
Hello Cg, Sorry for the wrong word, Hehe that's ok, there's a lot of terminology and some terms are similar... I guess I just expected that someone who's name is "Cg" would know the CG terminology :-) Sorry I can't help more, J-S -- __ J

<    3   4   5   6   7   8   9   10   11   12   >