Alberto Luaces writes:
Hi,
I am in the process of creating a control panel for a simulator, using
osgWidget for drawing the controls.
I want to draw a turning knob, but it is not very clear how to specify
the origin for the rotation of the widget. By default, all the widgets
rotate over
Hey,
It has been fixed.
I have forget to port the getScreenSettings function, once it been ported,
the test program can running on the target.
can you tell me how you solved the problem exactly?
Thank you!
Gickl[/quote]
--
Read this topic online here:
Hi Junjie,
I don't think there is anything related to physics and collision detection in
OSG, you might want to look at physics engines like ODE or Bullet and integrate
them in your application.
There are things like osgODE and osgbullet out there, but I don't know about
their status or if
Actually the answer you wrote on the mailing list fixed the issue.
I just added this line before the setViewport call:
Code:
_viewer-getCamera()-setProjectionMatrixAsPerspective(45.0, aspectRatio, 0.5,
10);
When aspect ratio is the view's frame's width/height.
Thanks!
--
Hi,
Initially I tried to install osg by per-compiled binaries as explained by
Loanna |IT by IT in his post
I downloaded OpenSceneGraph-3.0.1-VS9.0.30729-x64-debug-12741.7z and
OpenSceneGraph-3.0.1-VS9.0.30729-x64-release-12741.7z along with sample dataset
OpenSceneGraph-Data-3.0.0.zip.I created
Hi,
I am trying to undock an from a QTabWidget:
Code:
QWidget* gv = // here is the osgviewer widget (using Qt's OGLWidget)
QDialog* dlg = new QDialog(this);
dlg-setWindowTitle(hello earth);
QHBoxLayout* pMainLay = new QHBoxLayout;
gv-setMinimumSize(100,100);
Thanks all for the replies.
So what would you do:
A: use OSG and add advanced graphics features to improve picture quality?
B: use prof. engine that already supports HMD and try to minimize latency?
I really like to read your opinions on this!
--
Read this topic online here:
Hi Robert,
Thank you for response.
There is a little problem. I'm currently doing a simulation project. All
parameters ( including camera position and fovy, object position and size,
and even texture size ) are assigned based on the real-world situation. And my
job is to track the target
Hi all,
I'm having some troubles trying to play a video file with audio on Android.
Basically, I load a video file with the FFMpeg plugin, the video is correctly
shown but the audio is not.
In the Logcat, I can see that the FFMpeg Audio stream is succesffully created,
so there should not be
Thank you for your replies.
@Alexandre: I don't want to move the camera, I only need an overlay of the
current object on top of the screen.
@Robert: This is not at all what I'd like to have. I think, when I implement it
in the way you suggest it, the flight object will always be on top. But it
robertosfield wrote:
Hi Xiangfei,
On 24 July 2013 05:55, Xiangfei Cui wrote:
I have a question.
I create a osgText::Text and set the CharacterSizeMode to SCREEN_COORDS.
How can I get the pixel length of a string ?
There isn't a specific function for this. The Text drawable
Hi,
Thank you so much for your answers and you helped me a lot. But I don't know
how to mark this question as solved because I am newbie here.
I raised this question because in the beginning I thought the osg::Vec3f is
constructed using std::vector template (it seems that I was wrong:( ). So I
Hi, first i'm sorry for my english writing skill.
i'm begginer ^^;
:( :-*
i try to 28 multi-threaded node loading test.
total polygon is 5*10^6, vertices are 3*10^6.
sometime, osgDB::readNodeFile has error like this,
when the first running,
1. Warning: Could not find plugin to read objects
Hi,
I tried to run the sample example osganimation.cpp and I didnt find the
fallowing files in my insatallation directory.
osgAnimation/UpdateMatrixTransform
osgAnimation/StackedTranslateElement
osgAnimation/StackedRotateAxisElemen
I installed osg by using OpenSceneGraph-installer.exe. where can
Question:
In which decade was the American Institute of Electrical Engineers
(AIEE) founded?
Ans:
1880s
Read More:
Movers in Chennai|Packers Movers Chennai
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55857#55857
Question:
In the last one decade, which one among the following sectors has
attracted the highest foreign direct investment inflows into India?
Ans:
Telecommunication
Read More:
Movers in Chennai|Packers Movers Chennai
--
Read this topic online here:
Sorry, my fault, accidently approved this message.
The user is already banned :)
Art
On 17.08.2013 08:21, mekalarose wrote:
Question:
In which decade was the American Institute of Electrical Engineers
(AIEE) founded?
Ans:
1880s
Read More:
Movers in Chennai|Packers Movers
Hi,
Running osgRiver, But I can't see water. Can anyone help me? Runnig
successfully, loading successfully.
Thank you!
Cheers,
胥耀
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55921#55921
___
Hi,
I've got osgRiver.7z. Building success, Running success, Loading resources
success. I just can see river.3ds but no water. Can anyone help me?
Thank you!
Cheers,
胥耀
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55920#55920
Hi,
I an new to OSG。And I am tring to use the below command line
Code:
osgviewer -stereo QUAD_BUFFER cow.osg
but it has errors such as
GraphicsWindow32::setPixelFormat() -- No matching pixel found based on traits
specified.
I dont know how to fix it. please help me!
Thank you!
Cheers,
Hi,
I had the same question and considered myself lucky to find this solution so
quickly, but I have a problem:
Sporadically, my application crashes in the std::vector code with vector
iterator not dereferencable. This happens in the call to back().
Actually I would think that this crash
hi,
i am a beginner to osg. i want to convert the data downloaded from SRTM to a
database compatible to osg. can i get as tep by step instruction. my os is
windows 7 and im using visual studio 2010
Thank you!
Cheers,
swathy
--
Read this topic online here:
Hi,
When providing elevation data to osgdem. is it expected to be in HAE (height
above ellipoid), or MSL (mean sea level), or can it tell from the input? For
example, I am providing elevation data in the AIG/Arc/Info Binary Grid format
(.adf). The data represents the elevation of the area in
Hi,
To a OTW scenery, I used color on texture to indicate some differentiation to
the pilot. However, the color fully masks the texture. Is there any way to
overlay both so that the underlying texture is also visible to some extent ie
not masked fully.
...
Thank you!
Cheers, |-)
Srikanth
I found a solution using cullMAsks on Camera and NodeMasks on Node.
Thanks,
Olivier
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56095#56095
___
osg-users mailing list
Hi,
I've looked for a similar problem on the forum and haven't found but if there
is one, then you can hit me :).
I will to be as clear as possible, but ask me if there is something that is not.
So let us say that I have an application like this :
CompositeViewer
Hi,
I'm trying to compile OpenSceneGraph-3.2.0 on OSX 10.8.4
Unfortunately I get the following error, which I can't work out.
Code:
-- Configuring done
CMake Error at CMakeModules/OsgMacroUtils.cmake:277 (ADD_LIBRARY):
Cannot find source file:
../QTKIt/VideoFrameDispatcher.cpp
I see
Hi,
I am using OSGDem to combine raster imagery and XYZ elevation data into a
textured OSG model for a simple patch of terrain. I have used GlobalMapper to
export XYZ data into an elevation-GeoTIFF as input. However, the XYZ data
covers a roughly rectangular area which is not axis-aligned, so
Hi all,
Firstly, I am not too familiar with osg, so my terminology may be wrong.
Let me outline what I am trying to achieve first before I go into my question.
I am trying to allow Qt's touch events to be able to manipulate the
osg scene to perform transformations such as rotation of the 3d
Hi,
I also encountered a problem after switching from OSG 3.0.1 to 3.2.0, regarding
texturing using pixel buffer objects.
The application I’m working on draws a video texture which is set up as follows:
Code:
// create instances (m_* indicates that it is a class member)
m_videoTexture = new
Hi,
Ok, I found two ways to do it.
1. set the clear mask for the several views to ( 0 )
view-getCamera()-setClearMask(0);
and use cull mask to show or hide the view.
2. use the addView and removeView function of the compositeViewer and also add
and remove the graphicsContext of the
Hi,
I'm looking for a way to create a text scroller. My pb is that I can move
dynamicaly the TextBaseElement using a positionAttittudTransform by I can't
hide the top or the bottom of the Element
Have you got some tips ?
Thank you!
Cheers,
sebastien
--
Read this topic online
Hi,
I want to apply osgviewer stereo mode to a side-by-side image(or other format
3D image).but this mode seem not work.How can I implements this function.
Thank you!
Cheers,
liaojinyi
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56046#56046
Hi,
I have 3 views in a composite viewer. I like to show or hind them.
All three views are using the same graphicscontext.
in my following approach i try to use a cullmask to turn the views on and off.
Ofcourse, the gl_clear is called for every renderstage of the views and the
view is still
Hi,
I wonder if there is a way of scaling a model to a specific size? So if i have
two models that have different sizes when loaded into osg, i want to scale
these two models so that they have the same lenght or width.
Example if i have two models of cars they should both have X length in my
Hi,
I tried to build .osg files using the parameters as follows:
osgdem -t xxx.tif -o xxx.osg --image-ext jpeg. However, when I
opened the generated .osg file with osgviewer, it crashed and
reported an error message:
Problem, no locator found in any of the terrain layers.
Has anyone knows what
Hi,
I load several model files and encountered the following warning:
detected OpenGL error 'out of memory' at After Renderer::compile. Here is my
code:
int main()
{
osg::ref_ptrosgViewer::Viewer viewer = new osgViewer::Viewer();
osg::ref_ptrosg::Group
Hi,
I am generating terrain patches which will eventually be parented in the
scenegraph to transforms relative to a predefined runtime scene origin.
When using OSGDem to generate terrain tiles from UTM-georeferenced data, my
geometry receives very large coordinates, which I would like to
Hi everyone,
I have implemented an isolation view (i.e. show only a selection of nodes, and
render the other ones transparent) by creating one node above the root that
contains an override StateSet which sets all nodes transparent and then
creating exception nodes which have override _and_
Hi,
I need to grab instance of osgQt::GLWidget, seems like this widget inherits
QGLWidget but QGLWidget::renderPixmap() and QGLWidget::grabFrameBuffer()
methods don't return appropriate result (they return black filled images
instead of the foreground of the widget). What is the right way to
On 4 August 2013 03:38, Mengyu Yuan ymy...@icloud.com wrote:
There is a little problem. I'm currently doing a simulation project. All
parameters ( including camera position and fovy, object position and size,
and even texture size ) are assigned based on the real-world situation.
And my job
Hi Guiacchino,
FFMpeg itself doesn't support audio output, instead it just supports
reading audio. The osgmovie example has a code segment that uses SDL to
provide audio for video's read from ffmpeg plugin. It's not a full general
purpose solution but might help you on your way. The key will
Hi,
I ran into the same problem and I am using a case sensitive file system.
I had some issues with the attached CMakeList.txt file but it pointed me in the
right direction.
The files OSXAvFoundationCoreVideoTexture.h/cpp in the directory need to be
renamed to
Zev Lix writes:
Hi, I wonder if there is a way of scaling a model to a specific size?
So if i have two models that have different sizes when loaded into
osg, i want to scale these two models so that they have the same
lenght or width.
Example if i have two models of cars they should both
I use a osgText::Text object, put the text into it with all the appropriate
attributes. I put the osgText::Text under an osg::Geode with addDrawable().
I put the geode under an osg::MatrixTransform (I believe it may have
changed name in the latest version of OSG) with addChild(). Then I use a
After many times testing and trying,finally find in GTX760 Nvidia's driver
just like other previouse hardware versions,in the hardware driver's early
version the FXAA option conflicted with normal anti alias settings,if FXAA is
on,and the normal anti alias is also set on,then in fact not
Hi Ale,
On 28 August 2013 17:03, Ale Maro sash...@teletu.it wrote:
I solved in an unespected way.
When I setup a the view camera I did the following:
camera = new osg::Camera;
... my camera settings
Now I get the camera pointer from the osg::View
camera = view-getCamera();
... my
Hi David,
The issue looks likely to be totally un-related to the bug in Ale's program
revealed by the bug fix to OSG-3.2. There is chance that your own
application has this bug in the setup if you are applying your own
osg::Camera to a View(er) without setting up state correctly, but as this
is
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 David,
Given the details it's not possible to know what might be going wrong. You
are the person best placed to dig into the code and run it in a debugger to
see what is happening. It could be a threading issue, but really can't say
with just small code segments to work with. Try running
Hi Chang,
This is probably due to a static initialization of the various proxy
objects.
OSG-3.2 has a few bug fixes related to initialization and might help, but
in general I have to say the plugins aren't written to handle
multi-threaded initialization. Once they are initialized it should be
Hi Liao,
Have a look at the osgstereoimage example for an illustration of how to
render stereo image/video pairs with the OSG. The key is having two
subgraphs, one for the left eye and one for the right eye, each subgraph
has it's onw NodeMask and Left/Right Cull traversal masks that select the
Hi Mat,
I was about to recommend trying option 1 as it's the most lightweight
approach.
Option 2 is fine too, but requires stopping any viewer threads that are
running, changing the views/added removed and then restarting any viewer
threads.
Robert.
On 2 September 2013 16:10, Mat Mayer
Hi Fred,
You shouldn't need to do anything to handle dataset with large values, the
OSG and VPB are built to manage things for you. When VPB builds databases
it decorates subgraphs with local transforms that place the subgraphs into
world coordinates, whilst the subgraph containing the geometry
Hi Andrew,
If you have too much data for OpenGL to handle it will report an error.
What you have to do is work out how to work with small models or create
the models in such a way that they don't have such a large OpenGL footprint.
You say nothing about what your models contain, or what type of
I would recommend that you become familiar with VirtualPlanetBuilder and
osgdem. These tools specifically build to osg databases.
Here's one way to build your SRTM data to an osg database...
osgdem.exe --geocentric -d SRTM_dir --terrain -o outputfile.ive
Then you can look at it by...
osgviewer
hello Jan,
My friend,Glad to hear from you,and get the correct answer!
Thanks
zhuwan
-原始邮件-
发件人: Jan Ciger jan.ci...@gmail.com
发送时间: 2013-9-13 0:42:32
收件人: OpenSceneGraph Users osg-users@lists.openscenegraph.org
抄送:
主题: Re: [osg-users] Hi, Robert, Already find the reason of
Nick,
Osgdem will work with the input elevation. It will build the database based
on the input source. For example if you're using DTED and the geocentric
option, it will place the point at the specified elevation (in meters) above
the ellipsoid. The point is represented in the Cartesian ECEF
Shayne,
Correct, for each height value in your DTED grid, you have to sample the
EGM96 geoid at that point and add the two together. That will give you HAE.
I don't know of any tools off the cuff, sorry. osgEarth has vertical datum
support so you could probably write a tool using that.
Glenn
Nick, Shayne,
I have not looked at VPB in a while, but I believe it expects height values
to be referenced to the WGS84 ellipsoid. If that's the case you'll need to
convert it first to HAE.
By the way: DTED heights are referenced to the EGM96 geoid (not to the
WGS84 ellipsoid). So they need
Good stuff to know. Thank you.
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Glenn
Waldron
Sent: Thursday, September 12, 2013 12:34 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] [vpb]
Glenn,
VPB does reference to the WGS84 for the --geocentric option.
So to do the conversion, do you have to remove the contribution of the geoid
(gravitational equipotential surface) from the raw DTED first before pumping
it into VPB? Is there an application that does this?
Thanks,
-Shayne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
On 09/12/2013 07:00 PM, webmaster wrote:
hello Jan,
My friend,Glad to hear from you,and get the correct answer!
I am glad to see that you are still around too :)
Best regards,
Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14
We have had this issue as well and simply converting our textures to dds
fixed everything. We can now load 100x what we could before in terms of
number of models. I would look at that type of option first.
From: osg-users-boun...@lists.openscenegraph.org
Hello,
Zhuwan, I believe that FXAA is a quick-and-dirty antialiasing method
used by the Nvidia driver to provide something like antialiasing for
less computational cost. See here:
http://www.kotaku.com.au/2011/12/what-is-fxaa/
Quote: FXAA stands for Fast Approximate Anti-Aliasing, and it’s an
On Wed, Sep 11, 2013 at 10:39 AM, Robert Osfield
robert.osfi...@gmail.com wrote:
First up I'd create a single graphics context, this can would be a pbuffer
in your case. This graphics context would live for life of the application.
Second I'd have a single CompositeViewer that lives
66 matches
Mail list logo