Hi Tom,
for wat you're describing
set OSG_STEREO=ON
set OSG_STEREO_MODE=HORIZONTAL_SPLIT
should do the trick.
See
http://www.openscenegraph.org/index.php?page=UserGuides.StereoSettings
for more details.
Laurens Voerman
HPCV
CIT University of Groningen
www: http://www.rug.nl/cit/hpcv
Tom Pearce
Hi Alessandro,
I usually build the exporter with a static linked osg, so I have no
recent experience with your problem. It seems to me that you might be
missing a dependency for osgdb_ive.dll, as the osgdb_osg.dll is found
and working I can't see any reason why the ive plugin would not be
Paul Melis wrote:
Jason Daly wrote:
Paul Melis wrote:
Okay, can you give me some pointers how to make it work then? I have
VS8 sp1, have downloaded the corresponding debug package from the
OSG website and have a really small test application that forces OSG
to use some freed memory. If I
Hi Sukender,
I'm very confused about Robert's reply, because it's working fine for
me. I am using a modified dds reader linked into my app, which takes
precedence over any osgdb_dds.dll because it registers on startup. This
can be done by simply adding the (modified) ReaderWriterDDS.cpp to the
://pvle.sourceforge.net/
- Laurens Voerman l.voer...@rug.nl a écrit :
Hi Sukender,
I'm very confused about Robert's reply, because it's working fine for
me. I am using a modified dds reader linked into my app, which takes
precedence over any osgdb_dds.dll because it registers on startup.
This
can be done
files from a project
into another one at link-time, but I guess it's a bit tricky and non portable...
Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
- Laurens Voerman l.voer...@rug.nl a écrit :
Hi Sukkender,
if you are linking whith the .lib
Hi Suvajit,
From your description I suspect that your problem is caused by the osg
object cache.
try
osgDB::Registry::instance()-clearObjectCache();
before the ReadFile() to see if that's the problem.
If that helps you might want to just supress the usage of the cache for
this readfile call:
Hi Thomas,
I did a quick read of your code, and the first thing I notice is that
the osgDB::readNodeFile result is assigned to a osg::Group*, NOT a
osg::ref_ptrosg::Group . The pointers run out of scope at the end of
generateSimplifiedNodes, mergeNodes seems to take most of the
geometry, but
Hi Robert,
OSG builds fine on my Windows XP, with VS2008.
Our application runs as expected. I have not tested VPB nor have I
tested with linux (not test case ready).
Laurens.
On 6/18/2010 10:30 AM, Robert Osfield wrote:
On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
Hi Mahendra ,
osgimage::data() returns an (unsigned char *) so the array indexing only
steps one byte. use
((float *)dirImage-data(i))[0] = pos.x();//same effect
((float *)dirImage-data(i))[1] = pos.y();//different effect
((float *)dirImage-data(i))[2] = pos.z();
Laurens.
On 10/15/2010 10:55
Hi Sukender,
Just a guess here,
when you say
Generate a PagedLOD, to load 'groupFile'
do you call PagedLOD::addChild(Node *child, ) ?
for the pageLOD will then hold the child in memory until
PagedLOD::removeExpiredChildren() is called. Normally this is done in
the frame loop (in
Hi Sukender,
Your code can't cause the problem I suggested, so it must be something
else. I have no other suggestions to offer.
Laurens.
On 3/23/2011 11:12 AM, Sukender wrote:
Hi Laurens,
Thanks for the tip. But my function looks like:
osg::ref_ptrosg::PagedLOD paged( new
Thanks.
On 5/19/2011 6:06 PM, Farshid Lashkari wrote:
Thanks for pointing that out, should be fixed now.
Cheers,
Farshid
On Thu, May 19, 2011 at 8:59 AM, Laurens Voerman l.voer...@rug.nl
mailto:l.voer...@rug.nl wrote:
Hi Farshid,
sorry to bother you again, I think you are not even
Seems to me that the transformer arrays are uninitialized.
for(int i=0; inumFloors; i++){
elevatorShaftXforms[i] = new osg::PositionAttitudeTransform();
floorXforms[i] = new osg::PositionAttitudeTransform();
glassXforms[i] = new osg::PositionAttitudeTransform();
Hi Peterakos,
I have made some successful conversions with Bones and skinning by
exporting to .fbx format.
Laurens.
On 11/21/2012 8:57 PM, Peterakos wrote:
Edit second sentence:
Now i try to use it in OSG.
___
osg-users mailing list
Hi Ethan,
I think this should do the trick:
camera-setProjectionResizePolicy(osg::Camera::FIXED);
Laurens.
On 1/21/2013 4:14 PM, Ethan Fahy wrote:
Hello,
Is there any way to set up an osgViewer::Viewer with a locked aspect ratio that
still allows the user to adjust the window size by
Hi Ethan,
I did not understand your question correctly. Setting the camera to
camera-setProjectionResizePolicy(osg::Camera::FIXED) will fix the
projection, not the window. As the version you want is not implemented
in osg, you will need to catch resize attempts and force the window to
resize
Hi Ethan,
Maybe you could just keep it all on the gpu, and create the text for the
hud in a shader like drawtext GLSL shader
http://mew.cx/drawtext/drawtext.html
Laurens.
On 1/23/2013 3:24 PM, Ethan Fahy wrote:
I should note that my needs are very similar to the ones described in this post:
Hi Selvakumar,
delete the file G:\Split5\Debug\Split.pdb and rebuild.
I added in my CMakeLists.txt /wd4250 to disable the warning you see,
(line ~762)
Laurens.
SET(OSG_AGGRESSIVE_WARNING_FLAGS /W4 /wd4706 /wd4127 /wd4100 /wd4250)
On 1/19/2013 12:04 PM, Selvakumar Chellamuthu wrote:
Hi,
I
Hi Craig,
my windows machine continues the output with
FindFileInPath() : trying E:\osg\OpenSceneGraph-Data\cow.osg ...
FindFileInPath() : USING E:\osg\OpenSceneGraph-Data\cow.osg
itr='E:\osg\osgStable\vc91x64\bin'
FindFileInPath() : trying
Hi Anders,
did you try:
m_viewer-setReleaseContextAtEndOfFrameHint(false);
before the call to
m_viewer-frame();
Hope that helps,
Laurens.
On 3/11/2013 11:33 AM, Anders Backman wrote:
No one with insight on this?
/Anders
On Fri, Mar 8, 2013 at 11:27 AM, Anders Backman ande...@cs.umu.se
(to winconfig or screenconfig
perhaps?).
Regards,
Laurens Voerman.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
from below 13403 to the
commited version with no conflicting file/directory mix.
Regards, Laurens
On 5/16/2013 10:47 AM, Robert Osfield wrote:
Hi Laurens,
On 16 May 2013 09:20, Laurens Voerman l.voer...@rug.nl
mailto:l.voer...@rug.nl wrote:
Hi Robert,
with svn commit a problem
Hi Gabriel,
First a question: what operating system are you using?
Second question: when your shared library gets unloaded, do any other
shared library's get unloaded as well? On windows I can imagines your
dll being linked to an osg part that will install callbacks in the
scengraph,
Hi Robert,
Svn update successful, (after deleting config directory by hand and
TurtoiseSvn clean up )
Cmake configure seemed to work fine, now compiling.
osg97-osgViewer.dll compiled just fine.
Regards, laurens.
On 5/16/2013 12:12 PM, Robert Osfield wrote:
Hi All,
I have now checked in
On 5/31/2013 10:40 AM, Sebastian Messerschmidt wrote:
Hi Robert,
Hi Pjotr,
On 31 May 2013 08:09, Pjotr Svetachov pjotrsvetac...@gmail.com wrote:
This is actually an issue with the visual studio 2012 library, see
here for an explanation:
Hi Jan,
I have a reasonable package compiled with visual studio express 2012,
currently I have 64 bit versions only, a x86 version for winXP is still
on my todo list.
also still todo is to clean up my the modifications to the sources.
the include and relase lib files take 21.7 MB in .7z
Hi Robert,
we noticed over here that something goes wrong if the viewer is started
with OSG_STEREO=ON,
both with anaglyph stereo on windows and with Quad buffered stereo on linux.
We don't have a fix yet, and probably won't get around to digging out
the actual problem this week, so for now
Hi Bruno,
you probably want the behind quad to have a different depth (second
value in the osg::Vec3), so it will appear to be behind the other quad.
The order in the graph or the order of adding to the graph has no impact
on the result at all.
Regards, Laurens.
On 6/26/2013 11:41 AM, Bruno
Hi Chris, Torben,
I have set up a svn repostory with the stuff I use to build with vs2012 x64
http://vcs.service.rug.nl/svn/osg-dep/
(currently ~1MB)
It could still use polishing, but I will not find the time to do so
soon, but suggestions are welcome.
I think next on my list are:
-x86
Hi Björn,
simple things first, did you try with
SET OSG_OPTIMIZER=OFF
Regards, Laurens.
On 8/15/2013 10:14 AM, Björn Blissing wrote:
To clarify the problem further. Loading and playing single FBX files seems to
work fine. My problems begins when I try to copy animations from several FBX
Hi Daniel,
the following piece of code calculates the textureCoordinates for a
(user picked)point in 3d space, so this might be useful for what you are
trying to do.
Laurens.
if (transparentImage) {
const osg::Geometry* geometry = hit.drawable-asGeometry();
Hi cloudending,
Quad buffered stereo requires a nvidia quadro or ati firepro videocard,
with OpenGL stereo enabled in the driver.
If you have a capable videocard you will need to enable this option in
the driver.
Regards, Laurens.
On 8/23/2013 4:45 PM, Liao Jinyi wrote:
Hi,
I an new to
Hi Adri,
I think you want
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE
in your call to setAttributeAndModes, using only OVERRIDE means OVERRIDE | OFF.
Hope that helps, I would expect your code to show the solid line.
Regards, Laurens.
On 10/30/2013 5:17 PM, Adri CS wrote:
Hi!
I'm
Hi Ekaterina,
how is your OSG_NOTIFY_LEVEL set?
Notify levels FATAL and WARN suppress even the help output, witch might
explain the lack of response you see.
try (for windows)
set OSG_NOTIFY_LEVEL=NOTICE
osgconv -h
or for unix bash shell this should be
export
Hi Maxim
I tried your code, and it plays an animation from an .osgb file for me.
Regards, Laurens.
On 9/30/2013 2:18 AM, Maxim Voloshin wrote:
Hi, everyone
I am new in OSG and have a problem. I wrote the code that plays animation in
.fbx models, but I can't play animation in .osgb(.osgt,
Hi Stephan,
You created a nested renderbin, and because of its non negative bin
number it will draw after the contents of the first bin.
Both are DepthSortedBin with binNumber 10.
Regards, Laurens.
On 11/14/2011 5:56 PM, Stephan Maximilian Huber wrote:
Hi
I am having problems with
Hi Andrey,
Most likely your osgdb_png.dll depens on a dll not in your path. It
might be libpng.dll but now I am just guessing.
use dependencywalker (http://www.dependencywalker.com/)
http://www.dependencywalker.com/ to see what's the problem.
Laurens.
On 11/23/2011 6:33 PM, Andrey Ibe
Hi Andrey,
Just assuming the libpng15.dll is the one you build from source, and not
something you happened to have in your path..
renaming the way you did is not very likely to work, an executable
should now the name of the dll it wants to use, and will fail to start
if you renamed it.
Hi Anna, Robbert,
I think the bufferswaps on window are by default not synchronized, a
call to
wglJoinSwapGroupNV(HDC hdc, GLuint group) is needed to make different
windows synchronize.
the osg lib has the code to make the call, just set
traits-swapGroupEnabled = true;
before
Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Laurens
Voerman
Sent: lunes, 23 de enero de 2012 15:12
To: OpenSceneGraph Users
Subject: Re: [osg-users] Play audio files
Hi All,
I have ffmpeg movie audio working
Hi Seppo,
What compiler are you using? I think max 2012 is compiled with VC 2008
SP 1, (at least the x64 version is; found some hints at autodesk.com
that's true for x86 too). Using a different compiler for osg or
osgMaxExp might cause problems.
Laurens.
On 1/31/2012 1:51 PM, Sergey
Hi Martin,
It's not very pritty, but from reading the code I think this will work:
animationManager-playAnimation( myAnimation );
myAnimation-setStartTime(myAnimation-getStartTime() -3.0);
Regards, Laurens.
On 3/6/2012 12:21 PM, Martin Haffner wrote:
Hi,
I have a little question about
Hi Jan,
your ogsb file seems to have been converted to windows newline style:
every 0x0A byte has been replaced by 0x0D0A
Is something converting your files while you copy?
Laurens.
On 4/30/2012 6:28 PM, Jan Ciger wrote:
On Mon, Apr 30, 2012 at 6:08 PM, Robert Osfield
Hi James,
in c++ code add the macro:
#include osgDB/Registry
USE_OSGPLUGIN(3ds)
link with osgdb_3ds.lib
this is also used in the static linked viewer example:
OpenSceneGraph\examples\osgstaticviewer
Regards,
Laurens.
On 8/23/2012 12:51 AM, James Cotton wrote:
I managed to get OSG
45 matches
Mail list logo