with where
the vehicles are in the world.
Any help would be most appreciated.
Tony Vasile
CSC Australia
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
data before I can see anything with
osgviewer?
Tony Vasile
CSC Australia
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Shayne,
What is the type of Entity and entityGrp in the following code snippet?
Along with Robert's suggestion, you can use the following code snippet to
place a vehicle on a spheroid that has VPB terrain, into the scenegraph.
You'll need osgSim and osg::EllipsoidModel to do this.
Entity->lat
Hi Shayne,
Excuse my newbie status so how do I set up the MatrixTransform do I just
use the latitude, longitude and altitude as a translation or do I just set
the position of my vehicle using the latitude, longitude to set the position
of the vehicle some how.
___
has already seen this problem then any help would be appreciated.
Tony Vasile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
;/home/tony/src/OpenSceneGraph-2.8.3/lib/libOpenThreads.so.11" at
"/project/uws/Development/avasile/lib/libOpenThreads.so.11".
Call Stack (most recent call first):
src/OpenThreads/cmake_install.cmake:41 (INCLUDE)
src/cmake_install.cmake:37 (INCLUDE)
cmake_install.cmake:41 (INC
Hi Chris
Actually in non US English the words rubber and eraser are interchangeable.
Tony
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74715#74715
___
osg-users m
ullet and
http://bulletphysics.org/wordpress/ for the bullet code. You will also need
osgWorks http://code.google.com/p/osgworks/ . There are examples in the
osgBullet code to show you how to get started.
Hope this helps.
Tony Vasile
___
osg-users mailing
Hi,
It looks like the MATERIAL fields are not being added to the ac file is the
first problem. I have downloaded the viewer program from the Inivis resources
site http://www.inivis.com/ac3d/download/AC3Dloader113.zip and it shows the
test object in the zip file as black object.
In my trawler c
I am trying to build VirtualPlanetBuilder against OpenSceneGraph 3.1.0 by
using the trunk branch from the virtual planet builder svn repository on OS
X Mountain Lion (10.8.2) and I am getting the following errors whilst
compiling BuildOptionsIO.cpp:
/users/tony/source/VirtualPlanetBuilder/src/vpb/B
As I stated earlier all I did was move the goal posts slightly by changing
the conditional compilation check to have a later version number and use
the false path of the conditional compilation. Not the much of a C++ guru
to know why it failed but it looks like [i|o]s.XXX_BRACKET has been added
to
directory ok?
Tony Vasile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi,
Haven't heard anything from this post for a couple of weeks does anyone have an
idea of what I have to do?
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51449#51449
__
has references like:
libosgUtil.so => /usr/local/lib/libosgGA.so
or some such without the version number?
Tony Vasile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi,
Tried setting the values on the command line and the applications that are
built still refer to the .so.80 version of the dynamic library. Any other
suggestions?
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=56
Hi,
Does anyone have an example of seeing the world through a telescope or a
periscope? That is you have most of the screen black and a small view port
which tracks the camera and can used to see object in the scene.
...
Thank you!
Cheers,
Tony
--
Read this topic online here
Hi Alberto,
That's what I was thinking. Use a black rectangle with a transparent circle
at the centre to be the view port.
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57001#57001
__
Is the code for the cover available? It doesn't appear to be in any of the
chapters.
Best regards,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57702#57702
___
osg-users mailing list
osg-user
It looks like Blender is adding supporting for Alembic in 2.74 so it would be
good is someone was working on a plugin for Alembic.
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62221#62221
___
Hi,
We are about to port an application from Performer that makes use of
ClipTextures. What is the equivalent in OpenSceneGraph or is there an
alternative way to get the same feature.
For a definition of a ClipTexture see
http://techpubs.sgi.com/library/dynaweb_docs/0620/SGI_Developer/books/Per
Hi Mike
Have you checkout http://www.flightgear.org/? A full blown flight simulator
based on OpenSceneGraph
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62680#62680
___
Hi,
I get a similar problem with GDAL 2.0 and the OpenSceneGraph 3.2.1
Code:
home/avasile/src/OpenSceneGraph-3.2.1/src/osgPlugins/ogr/ReaderWriterOGR.cpp:
In member function ‘virtual osgDB::ReaderWriter::ReadResult
ReaderWriterOGR::readFile(const std::string&, const
osgDB::ReaderWriter::Option
Hi,
I have this patch so that it compiles but I don't have a ogr source file to
test it against. But this allows OpenSceneGraph 3.2.1 to compile.
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64190#64190
--- Op
Hi Robert,
Am I going blind I can see your attachment with your modified patch?
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64200#64200
___
osg-users mailing list
Hi Robert
Not sure if you came up with this but since I couldn't see your version of the
patch I recreated it.
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64201#64201
--- OpenSceneGraph-3.2.1/src/osgPlugins/o
Hi,
There seems to be a problem with the Collada, boost library and osgconv. If the
osgconv is not linked against libboost_system and libboost_filesystem on a
linux system you get errors like:
bin/osgconv: symbol lookup error: /usr/lib/libcollada14dom.so.2: undefined
symbol: _ZN5boost10filesyst
Hi,
I'm getting errors of the sort
CMake Error at /usr/lib64/boost/Boost.cmake:536 (message):
The imported target "boost_date_time-static-debug" references the file
"/usr/lib64/lib64/libboost_date_time-d.a"
but this file does not exist. Possible reasons include:
* The file was
Hi,
I svn update OpenSceneGraph 3.4.0 to revision 15077 which I assume is rc11 and
I tried to build it based on what I had on my machine. I get the boost errors
when running ccmake
...
Thank you!
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/vi
Hi Robert
Did you mean CMakeCache.txt? I have removed it and the CMakeFiles directory and
am still getting:
CMake Error at /usr/lib64/boost/Boost.cmake:536 (message):
The imported target "boost_date_time-static" references the file
"/usr/lib64/lib64/libboost_date_time.a"
but this fi
Hi Robert
I would guess it is a bad config on my machine. I am running Centos 6.7 x64. I
have also added the CMakeError and CMakeOutput files.
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64717#64717
The system is: Linux - 2.6.32
Hi Robert,
One of the earlier version 3.4.0 has been built but I'm not sure which one as
osgversion only gives me a version of 3.4.0 and an OpenThreads version of 3.3.0.
Removing the FIND_PACKAGE allowed me to configure and build the system.
Cheers,
Tony
--
Read this topic onlin
We are in the middle of porting some Performer code and I have across some code
which uses pfSequence to do some simple animation. Is there an equivalent class
in OpenSceneGraph?
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64915#64915
Once again Robert to the rescue. Thanks for that. It will do for the first part
of this port but in the future we may need to do something different. The
timing for the sequence is in the comment field for the node in the OpenFlight
file.
Cheers,
Tony
--
Read this topic online
Once again Robert to the rescue. Thanks for that. It will do for the first part
of this port but in the future we may need to do something different. The
timing for the sequence is in the comment field for the node in the OpenFlight
file.
Cheers,
Tony
--
Read this topic online
Hi Sebastian
osgSim::Animation doesn't appear to be in 3.4.0. Do you mean
osgAnimation::Animation?
Cheers,
Tony
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64921#64921
___
osg-users mailing list
Okay today I am wondering which class replaces pfDCS in OSG? A Google search
shows there use to be a class osg::DCS but this has been removed. To get the
same functionality do I use PositionAttitudeTransform?
Tony V
--
Read this topic online here:
http://forum.openscenegraph.or
Is there any reason it gets converted to a MatrixTransform object rather than a
PositionAttitudeTransform object?
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64928#64928
___
osg-users mail
Hi Sam
You probably don't want all you networking code in the same thread as the
viewer thread, especially if the networking code could block. You would be
better off using Update Callbacks to modify the scene when something changes.
Tony
--
Read this topic online here:
http:/
We have a bunch of OpenFlight models with have information in some of the nodes
that we use to configure our system. Is it better to use ReadNodeFile and
post-process the file with a NodeVisitor? Or is is better to override
osgDB::ReadFileCallback and somehow exercise our code when it finds a no
So what about the equivalent pre and post callbacks that Performer supports? Is
it a case of copying the code in the example
Code:
class DrawableDrawCallback : public osg::Drawable::DrawCallback
{
virtual void drawImplementation(osg::RenderInfo& renderInfo,const
osg::Drawable* drawable
Hi Sebastian,
Do you have a small example?
Tony V
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64958#64958
___
osg-users mailing list
osg-users@lists.openscenegr
Is there an equivalent function to the Performer
pfObject::getNamedUserDataSlot? Our code uses it a lot to store object data.
I'm guessing we could just store the data in a map and uses the slot id
returned as a key.
Tony V
--
Read this topic online her
Hi Nick & Robert,
That's not quite the same functionality as it appears that in Performer
there is some sort of memory/map that is used to map a user defined name as a
string to a slot number. You then add data to the node using this slot number.
Performer does have a call to setUserData whic
Unfortunately we have a tight schedule to do this port. The usual 6 months of
work in 4 months type of affair. Thanks for the advice.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65091#65091
_
SMesserschmidt wrote:
> Hi Tony
>
> From examples/osgcallback
>
> class MyReadFileCallback : public osgDB::Registry::ReadFileCallback
> {
> public:
> virtual osgDB::ReaderWriter::ReadResult readNode(const std::string&
> fileName, const osgDB::ReaderWriter::Options* options)
> {
> std::cout<<"be
Okay I modified the example visit_model.cpp from the OpenSceneGraph 3.0
Beginner's Guide to print the Descriptions and there was the data I was looking
for. The sonic boom of comprehension.
Tony V
--
Read this topic online here:
http://forum.openscenegra
I am trying to build VirtualPlanetBuilder on Centos 6 and I am getting the
following errors:
CMake Error at CMakeLists.txt:318 (INCLUDE):
include could not find load file:
VpbMacroUtils
CMake Error at src/vpb/CMakeLists.txt:83 (LINK_EXTERNAL):
Unknown CMake command "LINK_EXTERNAL
S2LR wrote:
> Shuiying,
>
> I would start by looking at the "osgintersection" example, in
> particular, the LineSegmentIntersector to see if that will help you.
>
> -Shayne
>
>
So what do you get from the output of "osgintersection"? For example if I run
"osgintersection cow.osg" I get:
Int
S2LR wrote:
> Shuiying,
>
> I would start by looking at the "osgintersection" example, in
> particular, the LineSegmentIntersector to see if that will help you.
>
> -Shayne
>
>
So what do you get from the output of "osgintersection"? For example if I run
"osgintersection cow.osg" I get:
Int
Hi,
Is it is possible to have an intersection query return the surface or triangle
that has been hit rather than a point? I have seen PlaneIntersector but it
seems to return a list of points rather than the surface that contains those
points. Correct me if I am wrong. Any help would be appreciat
I have looked at ValueObject and was wondering why there is no option to save
an osg::Object or an osg::Referenced object. Is this an omission or intended?
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65736#65736
Hi Robert,
Unless I am going blind I couldn't see an explicit apply for osg::Object in
either GetValueVisitor or SetValueVisitor, hence the question.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65750#65750
Hi Robert,
We are trying to save classes which have more than simple types or the list
specified in ValueObject. If we try and save an object which has osg::Object
has its parent then you get a linker error about missing apply routines for
SetValueVisitor and GetValueVisitor. I have worked ar
I having a few problems with running an executable on Fedora Core 23. When I
query the output of osg::GraphicsContext::WindowingSystemInterface I get a
valid pointer. When I call getNumScreens() I get 0 as the value. Any ideas what
I need to set in my environment to get this to work? I am using
marchingcubes wrote:
> This may be due to the fact that Fedora now runs gdm on its own screen.
>
> e.g. it used to be that you could more or less assume setting DISPLAY=:0 and
> running an X11 application would show the app on the machines 'local'
> display. With Fedora 22+ this is now DISPLAY
Would it be possible to get the patches so the software compiles against
OpenSceneGraph 3.4.0, rather than reinventing the wheel.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65813#65813
_
We are having what we think is a problem with reading our OpenFlight file. We
have a switch which has two groups of nodes under it. The first three pieces of
geometry are supposed to be visible when the switch is in position 0 and the
second three are supposed to visible when the switch is in po
Just tried this on 3.2.0 on my MacBook and got what I believe is the correct
result.
Code:
osgSim::MultiSwitch {
name "articSw2"
nodeMask 0x
cullingActive TRUE
description "featureId(artic0)"
Is there anyway to debug this to see what is going wrong? I have tried to step
through the Reader but I can't seem to get into plugin. I'm sure the fix is
simple mistranslation. The code works when the sets only contain one option
but is broken when the options have more than one element in eac
Basically I am trying replicate the functionality that the Performer copy
functions and was playing around with cloning models. I tried making a program
to set some user data and the data variance on the original model with a
NodeVisitor and then I clone the original model. When I try to read ba
Found my problem. I needed to provide a copy constructor that takes a
osg::CopyOp argument which copies the data from one to the other. So there is
no need for an equivalent of setCopyFunc just create the constructors and call
clone on the original.
Tony V
---
The problem is in 3.4.0. Our original models came from Creator and were
developed years ago. I built OpenSceneGraph 3.4.0 straight out of the source
and the two osgSim serializers were built. If you look at my example snippets
from 3.4.0 and 3.2.0 on 3.4.0 I am getting the switch values all set
I first found the problem on Centos 6 x86_64. The problem is there on OSX 10.11
in OpenSceneGraph 3.5.0 but not in 3.2.0 on the same platform. I have done a
diff on the OpenFlight plugin directory but nothing sticks out.
Tony V
--
Read this topic online
Just tried it on Centos 6.5 (x86) running OpenSceneGraph 3.2.1 and I got the
expected behaviour with the first three elements of the set are different from
the second three elements in the set. With OpenSceneGraph 3.4.0 on the same
machine I get the erroneous values of all 1.
-
Who ever did the original model had one version of the geometry when the
antenna was rotating and another version of the geometry was the stationary.
When I try this on OSG 3.4.0 I see both versions of the geometry out of phase
with one another.
Tony V
Hi Robert,
I have been using osgconv. Isn't that the same thing as opening it up with
the OpenFlight plugin and writing the file straight out?
Do you mean to use the osgPlugins directory from OpenSceneGraph-3.2.1 in the
source tree for OpenSceneGraph 3.4.0? I tried just a symbolic to the OSG
So I debugged this and realised that before the second elements where added to
the ValueList the lists were cleared and reset to empty lists. So when the next
element is added the list is set to the default value which is true. It appears
in subsequent rounds of adding new children to the list t
Looking at the osgintersection.cpp example I notice that it uses
osgSim::LineOfSight to set up a series of lines to intersect the model that is
loaded. The intersections that are returned retrieves a series of intersection
points. I was wondering if it is possible to get the geometry that the
i
Okay so I found this code:
Code:
osg::ref_ptr intersectorGroup = new
osgUtil::IntersectorGroup();
for(unsigned int r=0; r intersector = new
osgUtil::LineSegmentIntersector(s, e);
intersectorGroup->addIntersector( intersector.get() );
}
}
Thanks for that. I found my answer about an hour after posting this one.
By the way what are the following fields in
osgUtil::LineSegmentIntersector::Intersection :
double ratio;
osg::NodePath nodePath;
osg::ref_ptr drawable;
So if you have a large piece of geometry like terrain or ocean is simply a case
of setting the right mask on the root node of this large geometry to avoid or
allow intersections? Or do you have set the mask on all the pieces of said
large geometry?
Tony V
-
Thanks for the info.
By the way does OpenSceneGraph have a separate mask for intersection as well as
rendering? I have some geometry that I don't want to intersect but do want to
be rendered.
Tony V
--
Read this topic online here:
http://forum.openscen
Is there an equivalent of this Performer call to the following:
>
> The function, pfdConverterMode_flt, is provided for affecting the
> behavior of the loader.
>
> void pfdConverterMode_flt ( int mode, int val );
>
> PFFLT_GSTATE_TABLES - Selects the number of "indexed pfGeoState"
>
Hi Alexandre,
There is an export option for the OpenFlight plugin "stripTextureFilePath".
This should would do what you want.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66396#66396
_
It seems that you get one every time you post something of the forum. I posted
two things tonight and got two of these.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66397#66397
___
Hi Alexandre,
Your right, but you could use osgconv to strip the paths in a temporary flt
file and then convert the temporary flt file to osg.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66401#66401
__
It would be good to add this functionality to all the Exporters that support
the texture names.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66419#66419
___
osg-use
I trying to render a single channel image on a Billboard but I am having no
much luck. I'm expecting to see the black parts of the image to be transparent
but I am just seeing black. The white parts of the image are as expected. I
have tried using
Code:
setInternalFormat(GL_ALPHA_8)
, but all
use.
Tony Vasile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Got this to work. It required to set the following attributes on the osg::Image
object:
Code:
image->setInternalTextureFormat(GL_ALPHA);
image->setPixelFormat(GL_ALPHA);
image->setDataType(GL_UNSIGNED_BYTE);
Tony V
--
Read this topic online
Hi Clement,
This is rather easy to do. All you need is to define a NodeVisitor and run it
on the group. Using this way you only need to have an accept call for the Geode
and process the drawables under the Geode.
Code:
class InfoVisitor : public osg::NodeVisitor
{
public:
InfoVisitor()
The colours may also be in a material. Which is in a osg::StateSet object.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=2#2
___
osg-users mailing list
osg-u
I have specified the geometry
Code:
osg::GraphicsContext::Traits *traits = new osg::GraphicsContext::Traits;
traits->windowDecoration = false;
traits->supportsResize = false;
traits->sharedContext = NULL;
traits->doubleBuffer = true;
traits->red = 8;
traits->blue = 8;
Thanks for that Robert.
I realised too late that New Topic creates an entry in the current forum area,
that is when I hit Submit. I tried to delete but I guess I don't have the
permissions to do this.
Tony V
--
Read this topic online here:
http://forum
That worked but it also made the window stay on top. Is there a way to allow
the window to be the size I want and have the other window controls available?
Or are they mutually exclusive?
Tony V
--
Read this topic online here:
http://forum.openscenegraph
I looking for an example of a meteor or an illumination source slowly falling
to the ground. It would have to cast light as it falls. Does one exist or is
this something I would have to create.
Tony V
--
Read this topic online here:
http://forum.openscen
I looking for an example of a meteor or an illumination source slowly falling
to the ground. It would have to cast light as it falls. Does one exist or is
this something I would have to create.
Tony V
--
Read this topic online here:
http://forum.openscen
Hi Sebastian,
In my case I am trying to simulate an illumination shell dropping from a
height and lighting the scene below for a given duration so I don't have a
model. Is it just a case of creating a node at the desired position and add a
lightsource to it as per the osglightsource example? T
Does anyone know of people or companies offering OpenSceneGraph training in
Australia, preferably in Sydney. There was one training company offering
something but looking at their web site, the course has been removed.
Tony V
Tony V
--
Read this topic o
The problem with this repository and the examples are that they are small
examples, not necessarily on how to be a big program. We are part way through
the port of a largish application and we have some new people working on it. It
would be nice to have some training rather than bumbling in the
Hi Robert,
I tried the obvious Google searches but can't find anything. I have also
looked at the list on support people on OpenSceneGraph site but the people are
either in the US or Europe. Can you suggest a way to find someone in Asia?
Thanks in advance.
Tony V
--
You need a plugin for the Collada conversion. If your OpenSceneGraph build has
the plugin built for it, then it is as simple as Nickolai points out. If you
don't have the plugin built you will need to built it and possibly the
appropriate Collada library.
Tony V
--
I'm porting a Performer application to OpenSceneGraph and it is drawing the
simulated view into a series of smaller regions on the screen. The way the
application works is that it starts at the first position set the viewport to
the desired position draws the piece of the panorama moves to the n
Basically we are representing a panorama of 48 panels. We have a requirement to
render one of the panels and then send the pixels over an ethernet connections.
I have got the moving around working but it appears that when glClear happens
it happens after each viewport is rendered, so there is a
Basically my setup is similar to osgfpdepth but instead of a simple
osgViewer::Viewer object I have a osgViewer::CompositeViewer on the top.
Currently I only have one view in my CompositeViewer.
After I add the rttCamera as a slave to the View returned by viewer.getView(0)
and then add the texC
Found my problem, I forgot to set the GraphicsContext for the RTT camera.
On another note, why do some examples add the RTT Camera and the Texture Camera
as slave cameras to the viewer and other examples add the two cameras to the
scene graph?
Tony V
--
I'm playing around with alpha blending of an image and I am changing the alpha
value of the colour array and the image isn't becoming invisible. The program I
have is a modified example. So what am I doing wrong?
Code:
#include
#include
#include
#include
#include
#include
#include
osg:
Are Robert's slides available somewhere for those of us who couldn't make it?
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68246#68246
___
osg-users mailing list
osg
Found the problem:
Code:
quad->setDataVariance(osg::Object::DYNAMIC);
quad->setUseDisplayList(false);
needed to be added before the quad was allowed to change its alpha value.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.
Thanks for that. Even novices like me will get something out of them.
Tony V
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68249#68249
___
osg-users mailing list
osg-users@l
1 - 100 of 106 matches
Mail list logo