Hi J-S,
This is the part I'm having trouble with. I actually don't mind using
the scene bound I get with the ComputeBoundingBoxVisitor, but getting a
usable camera frustum (both for main and light cameras) and then
intersecting those is the hard part for me. Any tips there? How do you
create the
Hi Linh,
1. Reply : if you use geotiff image (which meaning georeferenced tiff) you have
to use like this command :
osgdem -t sample.tif -d sample.tif -l 2 -v 0.08 -o result.ive -a result.osga
In this command you can change the -v parameters value between 1.0 = -v = 0.0
I think you would
First have a look at the osgViewer 's doc :
Environmental Variables:
OSG_EYE_SEPARATION float physical distance between eyes
OSG_SCREEN_DISTANCE float physical distance between eyes and screen
OSG_SCREEN_HEIGHT float physical screen height
OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO
(Hm, shaders. Maybe someone with more experience with shaders in OSG can
read and post an opinion?)
Hi Sherman -- Interesting issue.
OpenGL is a state machine, and if you're just using raw OpenGL, then you
could enable blending, for example, never change blending state again, and
blending would
Hello Wojtek,
And thats it. Thank you Robert !
Thank you Wojtek, I'll check that out! I'm really very grateful to you
for contributing this. I've been banging my head on this and we're still
on OSG 2.2 here so I didn't think of going to see in the new additions
if there was something that
Is strange. I'm using all OSG code. Is possible I've found some odd
OSG bug - but I think is more likely that I'm doing something that's
not intended and am experiencing a side effect. I'm going to spend a
bit of time and see if I can simplify this problem down to a trivial
example.
On Feb 13,
Hi J-W,
I'm assuming you are running on the Windows platform right ?
If so, this is the expected behaviour and is a consequence of the way
Windows processes move resize events. When a move event is processed,
Windows will not return control to the message loop until the mouse button
has been
René Molenaar wrote:
Swig wrappers for OpenSceneGraph Python and Perl
These files are part of: The VRmeer Library - Delft University of
Technology
The files are based on osgswig (http://code.google.com/p/osgswig/)
with some additions and CMake files.
Thanks for the post, I' ll try them
I read this in the swig manual:
If you need to cast a pointer or change its value, consider writing some
helper functions instead.
see: http://www.swig.org/Doc1.3/Python.html
%inline %{
/* C++-style cast */
Foo *BarToFoo(Bar *b) {
return dynamic_castFoo*(b);
}
%}
You can also create the
Hi all,
In my application I load all the models I need before start to render the
scene. These models are loaded from flt files (heavy models with a lot of
data). These objects are spread along the scene, I mean, not all of them are
watched at the same time. When I move the camera around, the
Hello André,
There might be a way to avoid this by using a separate thread for message
dispatching in the GraphicsWindowWin32 class, but that remains to be
explored.
And in fact, I imagine that's what video players like Windows Media
Player do, since you can move the window while video is
If you are using osgViewer, it should run the GLObjectsVisitor for you,
which should create all the OpenGL objects your entire scene graph requires.
You can set a breakpoint in the GLObjectsVisitor to ensure this is
happening.
If the GLObjectsVisitor is being run and appears to be doing its job,
I just noticed the following PrimitiveSet constructor...
DrawElementsUInt(GLenum mode,unsigned int no,GLuint* ptr) :
The first parameter is the primitive type, the second is the number of
element indices, and the third is a pointer to an array of indices.
Shouldn't the third parameter be
Hi Umit,
ümit uzun wrote:
Hi Linh,
1. Reply : if you use geotiff image (which meaning georeferenced tiff) you have to use like this command :
osgdem -t sample.tif -d sample.tif -l 2 -v 0.08 -o result.ive -a result.osga
I thought the GeoTIFF would have the scaling info embeded in it since
Hi Linh,
First of all I am a newbie like you :) If I give you wrong information, forgive
me!
ÜMİT UZUN
Date: Wed, 13 Feb 2008 14:30:51 -0800
From: [EMAIL PROTECTED]
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] how to read GeoTIFF files
Hi Umit,
Do you know if osgdem actually look at any of the .prj, .aux, .rrd at all or is
it only looking
at the .tif file?
Also, do you know if we have two GeoTIFFs of one big patch (but low resolution)
and one smaller patch
(but high res) of the same area, we can use osgdem to generate an
I've read a few posts and I'm a bit fuzzy on the subject. I have an
OSG app wrapped up in a C++ library. Now I need a UI. I can attach
this and drive this libarary from a console app, MFC GUI, or even the
standard Windows API, etc. - All in C++. However, I'm considering
using C#. I've heard lots
Hi everyone,
I'm afraid I have a very simple question, but I didn't find answer in the
examples or tutorials. Perhaps you can give me a small hint..
I want to add texture to an new osg::Box, and I want to have it repeated. So
I tried:
m_osg_shape = new osg::ShapeDrawable( new
18 matches
Mail list logo