Re: [osg-users] osgSim::LighPoint radius
I know :) Nick On Tue, Apr 30, 2013 at 1:05 AM, Brad Colbert bcolb...@rscusa.com wrote: Nick, ** ** A shader would allow you to change most of those. ** ** -B ** ** *From:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Trajce Nikolov NICK *Sent:* Sunday, April 28, 2013 7:48 AM *To:* OpenSceneGraph Users *Subject:* [osg-users] osgSim::LighPoint radius ** ** Hi Community, ** ** I have faced a problem with the _radius from LighPoint. The showcase is to control all of the LightPoint attributes in run tim (dynamiclly change intensity, color ...these work just fine). However the radius can be changed on LightPoint re-creation,only and its can not be changed in run-time. Some hints? ** ** Thanks a bunch. ** ** Nick ** ** -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] plz help me out with PrecipitationEffect
Hi, guys we are developing Flight Simulator using OSG and would like to render snow / rain effect on the scene so we used PrecipitationEffect for the effect here is questions if i move the orientaion and coordinates of camera, the PrecipitationEffect can follow the camera in our scene, the PrecipitationEffect only render snow/rain locally we would like to render snow/rain whole the scene(terrain) could you help me out the problem? and PrecipitationEffect doesn't work with large terrain and ephemeris cuz if i move camera position of direction, PrecipitationEffect disappears gradually is there someone how to solve this problem Thanks in advance Cheers :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53865#53865 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] plz help me out with PrecipitationEffect
Hi Kim, I wrote PrecipitationEffect for a driving simulator quite a few years back. The scales of the bricks used in the rendering is tailored to what works well for town scenes and driving speeds. The scales doesn't work well for high speeds and large landscapes that you'll have with a flight simulator. It should be possible to adapt to work with the large scales but the techniques used would probably be stretched too far and would no longer be visually compelling. For a flight simulator speeds and scales it would probably be best to come up with alternative implementations. It might be that you could provide a consistent interface but just change the back end implementation for the different scales. Robert. On 30 April 2013 10:33, Kim JongBum osgfo...@tevs.eu wrote: Hi, guys we are developing Flight Simulator using OSG and would like to render snow / rain effect on the scene so we used PrecipitationEffect for the effect here is questions if i move the orientaion and coordinates of camera, the PrecipitationEffect can follow the camera in our scene, the PrecipitationEffect only render snow/rain locally we would like to render snow/rain whole the scene(terrain) could you help me out the problem? and PrecipitationEffect doesn't work with large terrain and ephemeris cuz if i move camera position of direction, PrecipitationEffect disappears gradually is there someone how to solve this problem Thanks in advance Cheers :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53865#53865 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] plz help me out with PrecipitationEffect
Hi Kim, while you probably won't copy code from FlighGear http://www.flightgear.org/ (it is GPLed ) you might get inspirations from this OSG based game code Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] nVidia bug with multiple windows
FYI - This bug is fixed as of the 320.00 Beta drivers. -Baker -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53868#53868 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
Hi Jordi, Robert and all concerned by git mirrors, The git mirrors are not able to migrate to this new repositories URLs. git svn switch does not exist and googled solutions didn't work unfortunately... I'm facing a difficult choice. Either these mirrors are useful to other people (than me) or not. If not I will delete them. If they are useful, the best solution I can think of is to re-create them, thus rewriting current history (commits id will be different). Rewriting history is never a good thing... Any thoughts or comments ? Regards, Mathieu -- Mathieu On 26 April 2013 16:58, Jordi Torres jtorresfa...@gmail.com wrote: Hi osg-ers Due to the changes done in order to set the new Joomla site as the main OpenSceneGraph web, we have had to change the URL of the svn server. OpenScenenGraph sources are now athttp://svn.openscenegraph.org/osg/. To download the sources: svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph/trunkOpenSceneGraph Probably you may want to relocate your sources instead of download and recompiling them. Just do a svn switch and it should work: svn switch --relocate http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk The same applies to the VirtualPlanetBuilder sources. The new repository is at http://svn.openscenegraph.org/VirtualPlanetBuilder/ svn checkout http://svn.openscenegraph.org/VirtualPlanetBuilder/trunk/VirtualPlanetBuilder And to the OpenScenenGraph-Data svn checkout http://svn.openscenegraph.org/osg/OpenSceneGraph-Data/trunk/ If you are in windows and using TortoiseSVN it has a relocate option to avoid downloading the sources again. Sorry for the inconvenience -- Jordi Torres ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
On Tue, Apr 30, 2013 at 6:46 PM, Mathieu MARACHE mathieu.mara...@gmail.comwrote: Hi Jordi, Robert and all concerned by git mirrors, The git mirrors are not able to migrate to this new repositories URLs. git svn switch does not exist and googled solutions didn't work unfortunately... I'm facing a difficult choice. Either these mirrors are useful to other people (than me) or not. If not I will delete them. If they are useful, the best solution I can think of is to re-create them, thus rewriting current history (commits id will be different). Rewriting history is never a good thing... Any thoughts or comments ? Oops, I am certainly using the git mirror on Github, it is often lot faster than the SVN repo. Isn't it possible to simply change where the repo is pointing by editing the .git/config file? I haven't tried that with git svn, but I imagine that shouldn't cause too much trouble. Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
I use the git mirrors exclusively. Very fast, and GitHub's browser-based file search (t key) is awesome. Glenn Waldron / @glennwaldron On Tue, Apr 30, 2013 at 12:59 PM, Jan Ciger jan.ci...@gmail.com wrote: On Tue, Apr 30, 2013 at 6:46 PM, Mathieu MARACHE mathieu.mara...@gmail.com wrote: Hi Jordi, Robert and all concerned by git mirrors, The git mirrors are not able to migrate to this new repositories URLs. git svn switch does not exist and googled solutions didn't work unfortunately... I'm facing a difficult choice. Either these mirrors are useful to other people (than me) or not. If not I will delete them. If they are useful, the best solution I can think of is to re-create them, thus rewriting current history (commits id will be different). Rewriting history is never a good thing... Any thoughts or comments ? Oops, I am certainly using the git mirror on Github, it is often lot faster than the SVN repo. Isn't it possible to simply change where the repo is pointing by editing the .git/config file? I haven't tried that with git svn, but I imagine that shouldn't cause too much trouble. Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
On 30 April 2013 18:59, Jan Ciger jan.ci...@gmail.com wrote: On Tue, Apr 30, 2013 at 6:46 PM, Mathieu MARACHE mathieu.mara...@gmail.com wrote: Hi Jordi, Robert and all concerned by git mirrors, The git mirrors are not able to migrate to this new repositories URLs. git svn switch does not exist and googled solutions didn't work unfortunately... I'm facing a difficult choice. Either these mirrors are useful to other people (than me) or not. If not I will delete them. If they are useful, the best solution I can think of is to re-create them, thus rewriting current history (commits id will be different). Rewriting history is never a good thing... Any thoughts or comments ? Oops, I am certainly using the git mirror on Github, it is often lot faster than the SVN repo. Isn't it possible to simply change where the repo is pointing by editing the .git/config file? I haven't tried that with git svn, but I imagine that shouldn't cause too much trouble. Unfortunately not, it didn't work... -- Mathieu Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
Not sure now, I would need a commit in one of the new repositories to verify -- Mathieu On 30 April 2013 19:02, Mathieu MARACHE mathieu.mara...@gmail.com wrote: On 30 April 2013 18:59, Jan Ciger jan.ci...@gmail.com wrote: On Tue, Apr 30, 2013 at 6:46 PM, Mathieu MARACHE mathieu.mara...@gmail.com wrote: Hi Jordi, Robert and all concerned by git mirrors, The git mirrors are not able to migrate to this new repositories URLs. git svn switch does not exist and googled solutions didn't work unfortunately... I'm facing a difficult choice. Either these mirrors are useful to other people (than me) or not. If not I will delete them. If they are useful, the best solution I can think of is to re-create them, thus rewriting current history (commits id will be different). Rewriting history is never a good thing... Any thoughts or comments ? Oops, I am certainly using the git mirror on Github, it is often lot faster than the SVN repo. Isn't it possible to simply change where the repo is pointing by editing the .git/config file? I haven't tried that with git svn, but I imagine that shouldn't cause too much trouble. Unfortunately not, it didn't work... -- Mathieu Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Important: New SVN repository URL
On 04/30/2013 07:09 PM, Mathieu MARACHE wrote: Not sure now, I would need a commit in one of the new repositories to verify -- Mathieu Hello, I have checked the SVN and the last commit I have is this: r13375 | robert | 2013-04-26 12:00:16 +0200 (Fri, 26 Apr 2013) | 2 lines As a test of new repository updated date in README.txt And I can see the same commit on Github: https://github.com/openscenegraph/osg/commit/bd81d966c54e45894631cb1fc5d502080f6599f9 So I guess it is working? Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] Building a libc++ project against OSG on Mac OS X
Hi, I have been using OSG in my projects for some time now and have had great experiences so far! Now we are trying to harness the power of C++ 11 features (my linux buddies have been doing so for a while and I've been using older boost counterparts). I decided to make take the plunge and try to get the project using c++ 11 on Mac OS X. I just rebuilt OSG 3.1.5 from source using my updated boost libraries and other dependencies. I made sure when building OSG that CMAKE_OSX_ARCHITECTURES was set to 'x86_64'. After installing OSG I made a dummy project that was (a) using OSG (and OsgDB) and (b) using libc++ / c11 with clang. My dummy file basically has one line related to osg: Code: osg::Node *node = osgDB::readNodeFile(modelName); The linking process of my simple file fails, however, with the following: Undefined symbols for architecture x86_64: osgDB::readNodeFile(std::__1::basic_stringchar, std::__1::char_traitschar, std::__1::allocatorchar const, osgDB::Options const*), referenced from: osgDB::readNodeFile(std::__1::basic_stringchar, std::__1::char_traitschar, std::__1::allocatorchar const) in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Now I know for sure that I built OSG with the architecture x86_64, so I don't think that's the issue. What I'mm thinking is more likely the culprit is using the c11 standards. Has anyone out there built against OSG using the following compiler flags? -std=c++11 -stdlib=libc++ If I'm trying to do this, should I HAVE to build OSG itself with these flags? Any help would be appreciated, thanks! Cheers, Kellen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53876#53876 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org