Re: [osg-users] osgDB ifstream / ofstream conflict

2013-09-26 Thread Braden Edmunds
I had the same problem with VS2010 and there are two ways to get around it. 1. Use /FORCE:multiple 2. Create a typdef: Code: #pragma once // Compatibility layer for VS2010 bug. The compiler tries to link the same // multiple symbols in for the OSG fstream classes which inherit from the STL

Re: [osg-users] Using OSG with QTViewer plugin and dynamic scenes.

2013-07-03 Thread Braden Edmunds
the paintEvent(..). Inside the paint event you call the frame() function. This will prevent any segmentation faults from being discovered, because it's always maintaining a 1:1 update call. Hope this helps, Braden Edmunds -- Read this topic online here: http

Re: [osg-users] Changes to osgDB::fstream

2013-06-26 Thread Braden Edmunds
the same link problems as I am, please email me and I can give you the source code that works for me. Thanks, Braden Edmunds -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54936#54936 ___ osg-users mailing

Re: [osg-users] Changes to osgDB::fstream

2013-06-25 Thread Braden Edmunds
Hi Robert, Thank you for your suggestion, I didn't know it had already been completed. I downloaded the latest dev version (3.1.8) and compiled it with all of the options I need. I've removed any reference of fstream from the headers, and I still get link errors: Warning 4 warning

[osg-users] Changes to osgDB::fstream

2013-06-24 Thread Braden Edmunds
implementation and adding a convenience function in osgDB ( http://forum.openscenegraph.org/viewtopic.php?t=12254). I would be willing to do the work, if this is still a direction the project managers wish it to go. Please let me know. Thanks, Braden Edmunds -- Braden Edmunds Reaction Engineering

Re: [osg-users] Extrude Geometry

2013-05-09 Thread Braden Edmunds
Hi Robert, Thank you very much, setting the geometry to dynamic was the key. Thanks, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53981#53981 ___ osg-users mailing list

[osg-users] Extrude Geometry

2013-05-07 Thread Braden Edmunds
I've roughly followed the osgmanipulator.cpp example to create osgManipulator::Translate1DDragger objects and link them to my custom geometry items and everything works fine. I'm encountering a problem when I try to update a geometry item inside of the traverse method. The following code is

Re: [osg-users] OSG Build with Visual Studio 2010

2013-05-07 Thread Braden Edmunds
Hi Sujan, Hopefully these steps can will help you build in both release and debug mode: 1. Download the osg source 2. Run Cmake (setup all paths: 3rd_party libs, Qt directory, etc) a. Make sure you select the Visual Studio 10 compiler b. Click Generate 3. Locate the solution file (.sln)

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-04 Thread Braden Edmunds
Hi zonk, Ah okay. That worked. Thanks a bunch. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47554#47554 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Loading OSG resources from Qt QResource system

2012-05-03 Thread Braden Edmunds
The only problem I've ran into is Qt can't find the plugins needed to load the textures. I have to build in visual studio to see any textures. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47534#47534

Re: [osg-users] Camera help

2012-05-03 Thread Braden Edmunds
Never mind. I'm an idiot. Spherical Manipulator. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47538#47538 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Camera help

2012-05-02 Thread Braden Edmunds
Hi all, I am new to osg and 3d graphics in general and I need a little advice on how to adjust the camera based on a matrix. I need a camera that will always be focused at (0,0,0), but has the capabilities to rotate around the origin so that it moves in a circular motion. This is my code so

Re: [osg-users] problem with handleMouseRelease using custom camera manipulator

2012-04-25 Thread Braden Edmunds
I would guess it has something to do with being repainted. It probably only repaints on mouse movement not clicks. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47294#47294 ___ osg-users mailing

Re: [osg-users] Wiki page

2012-04-13 Thread Braden Edmunds
Okay sweet. It works now. Thanks! Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47047#47047 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Wiki page

2012-04-12 Thread Braden Edmunds
Hi, Does anyone know if the OSG wiki page is down? I get the following message back: TimeoutError: Unable to get database connection within 20 seconds Tried loading on several machines to no avail. Cheers, Braden -- Read this topic online here:

Re: [osg-users] issues with osg on visual studio 10

2012-04-12 Thread Braden Edmunds
Make sure you're using the right libs for your build config. If in debug mode all the libs included in your linker should have *d.lib. Cheers, Braden -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46917#46917