ew.
Robert.
On Fri, Nov 27, 2009 at 6:00 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> All,
>
>
>
> I have a need to run my OSG app on some "marginal" hardware (single CPU
with
>
> a GeForce 4800 for example) while still maintaining some decent fra
Can anyone tell me what version of VirtualPlanetBuilder is stable with OSG
2.8.2?
I'm upgrading to OSG 2.8.2 and I want to make sure to get the right version
of VPB that works with this.
Thanks,
-Shayne
smime.p7s
Description: S/MIME cryptographic signature
_
Thanks guys for the info...much appreciated.
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Chris
'Xenon' Hanson
Sent: Tuesday, December 01, 2009 11:10 AM
To: OpenSceneGraph Users
Subject: Re: [os
/VirtualPlanetBuilder
IMHO VPB is a work in progress, the newer the better.
Regards,
-- A.
On Tue, Dec 1, 2009 at 11:31 AM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> Can anyone tell me what version of VirtualPlanetBuilder is stable with OSG
> 2.8.2?
>
>
>
> I'm
mber 01, 2009 3:26 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPB question...
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> So...from the recommended table I need VPB 0.9.10 to go with OSG 2.8.2.
This
> may be a dumb question but where do I get the 0.9.10 version? I onl
B question...
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> Do I need subversion installed on my machine to do this? I haven't played
> with subversion before...
Yes. On Windows, I'd recommend TortoiseSVN.
--
Chris 'Xenon' Hanson, omo sanza lettere
All,
Does osgDB::readNodeFile() provide any support for reading node files that
reside on remote machines by using an IP address or equivalent? Could the
Options object provide any support for doing this?
In other words, I would like to have my database info (terrain, models,
shaders, etc.)
All,
Does CompositeViewer support independent paging per camera into the same
database?
For example, let's suppose I have one view from an airplane and another view
from an observer on the ground where each viewer in looking into the same
database positioned at different locations. Each vi
h.org] On Behalf Of Robert
Osfield
Sent: Friday, December 04, 2009 9:06 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] reading a Node file from a remote machine...
Hi Shayne,
On Fri, Dec 4, 2009 at 3:57 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> Does osgDB::readNodeFile()
Here's a way to place models on the VPB terrain that works pretty good. The
drawback is that you must specify the highest point in the database region.
Using osgSim will ensure that the models will sit on the terrain at that
LOD...:)
double X,Y,Z;
double maxElevation = 13000.0 / 3.281; // feet to
All,
I updated to OSG 2.8.2 on my development machine which is using Visual
Studio 2008 (32 bit) and Windows Vista. After running CMake to build the
solution and projects, I attempted to do a release build of OSG.
When I get to building osgUtil, I get the following compile error when
compi
All,
I'm looking at the osgCluster example and I have a question on getting in
going.
I'm assuming you can execute osgCluster on different machines where one is
the master and the other is the slave. I can see where I specify the socket
# but where do I specify the IP address? Does anyone h
That's good to hear because I'm going to see it with my boys in the next day
or two.
I heard that if the synthetic actors work out, George Lucas will consider
finishing the Star Wars saga (episodes 7,8 & 9)...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[
works. Let me know
if you need any more information.
Martins
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> All,
>
>
>
> I'm looking at the osgCluster example and I have a question on getting
> in going.
>
>
>
> I'm assuming you can execu
fov and offset parameters. With the above command line,
the slave will just show a portion of the view. If you zoom in from the
master window, the cow will eventually come into view on the slave.
Martins
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> Martins,
>
> Thanks for the
think there is a spot in
> the socket setup to specify which one you want. I don't have the code
> in front of me right now, but thats how I recall it works. Let me know
> if you need any more information.
>
> Martins
>
>
> Tueller, Shayne R Civ USAF AFMC 519 SMXS/MX
All,
I'm in the process of porting an OGL app using GLUT to OSG using osgViewer.
Currently this app has multiple viewports embedded in a single GLUT window
where one of the viewports is rendering a 3D view into a scene. Due to time
constraints, I want to replace the 3D viewport with an emb
ert.
On Fri, Jan 8, 2010 at 11:05 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> All,
>
>
>
> I'm in the process of porting an OGL app using GLUT to OSG using
osgViewer.
>
>
>
> Currently this app has multiple viewports embedded in a single GLUT window
&g
Just a follow up question on this, does QT allow a multi-threaded embedded
osgViewer or is it knocked down to single threaded like what happens to
osgViewer embedded in GLUT?
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.ope
All,
Is there a way to force an OSG window (osgViewer) to always be on top of all
the other windows being displayed?
Thanks in advance.
-Shayne
smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.o
All,
Is there a way of programmatically altering texture state such as filtering
on a chunk of terrain built with VPB?
Everything I've tried thus far has not worked.
Thanks in advance.
-Shayne
smime.p7s
Description: S/MIME cryptographic signature
___
openscenegraph.org] On Behalf Of Chris
'Xenon' Hanson
Sent: Monday, January 25, 2010 12:35 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] altering terrain texture...
On 1/25/2010 12:23 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> Is there a way of programmatically al
Robert,
I just read your reply after I had sent my email response to Chris. This
helps me understand why my approach wasn't working in the first place.
I will take your advice and explore this further. I will probably have more
questions as I proceed to find a solution to meet my needs...
Thanks
OpenSceneGraph Users
Subject: Re: [osg-users] altering terrain texture...
Hi Shayne,
On Mon, Jan 25, 2010 at 9:28 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> What I'm trying to do is minimize the texture "crawling" artifact I see
when
> I fly at a low azimuth v
Phanindra,
You'll need to build an OSG database from your .tif and dted content using
Virtual Planet Builder (VPB). Documentation is available on how to do this.
Once the database is built, you can either using osgViewer to browse the
database or you can write your own OSG app to fly through it. T
rs] altering terrain texture...
Hi Shayne,
On Tue, Jan 26, 2010 at 6:42 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> Robert,
>
> In answer to your inquiry, I'm using a database based on
> osgTerrain::TerrainTile so the texture settings are embedded in the tiles
as
>
t: Re: [osg-users] altering terrain texture...
Hi Shayne,
On Wed, Jan 27, 2010 at 3:11 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> I think your proposal would be a great benefit and would make things more
> flexible.
I'm rather busy working on submissions, so if you
All,
Does anyone have any experience using OSG with GL studio? We are having some
issues that we would like some input on. I wanted to place a general inquiry
before getting specific on the problem at hand.
Thanks,
-Shayne
smime.p7s
Description: S/MIME cryptographic signature
__
ll try.
What's the problem?
Thanks,
Brett Wiesner
Product Manager, VR-Vantage
VR-Vantage: OSG Based Battlefield Information Station, Desktop Image
Generator and SDK!!!
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
>
> All,
>
> Does anyone have any experience using OSG with G
Tony,
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 = 36.4;
Entity->lon = -115.015;
Entity->alt = GetHeightOnTerrain(Entity->lat,
Tony,
"Entity" is just my own class that can represent an airplane, tank, or
whatever.
The member "Entity->transform" is an osg::MatrixTransform which you'll need
for moving models.
"entityGrp" is an osg::Group*.
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.
Phanindra,
Look at the osghud example. It will show you how to set up a 2D camera with
a view that you can use as an overlay on top of your 3D scene. You can use
osgText to print out the values on screen...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mail
Tony,
In answer to your question, you want to do the former. Assuming you have a
geocentric database, you must convert your lat,lon,elev to a geocentric
X,Y,Z (i.e. origin is the center of the earth) and then use these
coordinates to set the position accordingly...
Osg::Matrix position;
earth->co
All,
I have a need to render a bunch of 2D geometry groups that have different
priorities for display (one group rendered on top of the other according to
their priority). I also need to have the ability to turn the rendering off
and on for some of the groups while maintaining rendering priorit
ts.openscenegraph.org] On Behalf Of Paul Martz
Sent: Tuesday, February 09, 2010 4:07 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] 2D rendering priority...
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote:
> I have a need to render a bunch of 2D geometry groups that have
> differ
Kevin,
Thanks for sharing. I'm sure it will come in handy...:)
Regards,
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Kevin
Wilder
Sent: Tuesday, February 09, 2010 4:57 PM
To: osg-users@lists.o
...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Tueller,Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Sent: Wednesday, 10 February 2010 8:18 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] 2D rendering priority...
Paul,
Thanks for the reply. We can have up to 57
n leftOrder < rightOrder;
} else { //sort descending
return leftOrder > rightOrder;
}
}
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Tueller,Shayne R Civ USAF AFMC 519 SMXS/MXDEC
1) I/ITSEC
2) Yes
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brett
Wiesner
Sent: Tuesday, February 16, 2010 6:56 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Survey: Is ther
Bruce,
I would recommend using the switch node "osg::Switch" to change between
scenegraphs. You can add the scenegraphs that the switch node can render at
any one time during setup and then select which one you want rendered using
the method "setSingleChildOn".
Hope this helps...
-Shayne
-Or
at a time, for
instance in between a cross-fade. But my main question still applies -
should I load the .osg file and attach the whole graph downstream of
the switch on the fly?
Bruce
On Feb 22, 2010, at 4:02 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/
MXDEC wrote:
> Bruce,
>
>
All,
We're having some issues with the OSG freetype font plugin? We're using VC++
2008 on Windows and we're having trouble reading ttf files. We get the
message "could not find plugin to read objects from file arial.ttf". The
plugin is in the OSG solution but it doesn't seem to be getting regis
sage-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Simon
Hammett
Sent: Tuesday, February 23, 2010 3:43 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] freetype fonts on Windows...
On 23 February 2010 22:23, Tueller, S
February 23, 2010 3:43 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] freetype fonts on Windows...
On 23 February 2010 22:23, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC
wrote:
on
Hammett
Sent: Tuesday, February 23, 2010 4:25 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] freetype fonts on Windows...
On 23 February 2010 23:17, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
wrote:
Mourad,
Yes. We know the path setting is correct because we ca
e had with freetype
Gordon Tomlinson
Product Manager 3d Technology & Future Products
Overwatch(r)
An Operating Unit of Textron Systems
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Tueller,Shayne R Civ
All,
I'm seeing a problem that I'm hoping someone can shed some light on.
I have an application that uses an OSG viewer (OSG version 2.8.2) embedded
in a GLUT window. This application runs on both Windows XP and Linux
(currently using RHEL 5.4). The machine is dual boot so the hardware is
ll... lots
of people copied those early demos.
osgViewer itself is a far better tool for a modern graphics application.
Might I suggest you use it rather than GLUT.
Robert.
On Fri, Mar 5, 2010 at 4:55 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
All,
I'm
All,
I have a need to turn certain views "on and off" in a composite viewer
during runtime. I know that the composite viewer has the capability of
adding and removing views but I'm not sure this is the proper mechanism to
use for what I want to do. The views I want to manage sit on top of a
bac
J-S,
Thanks for the input. Controlling the node mask does the trick...:)
Thank you!
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Jean-Sébastien Guay
Sent: Thursday, March 11, 2010 11:28 AM
To
Brian,
What info are you looking for in particular?
I had some exposure to the EPX product a while back while working at Evans &
Sutherland (now bought out by Rockwell-Collins). That was about 6 years ago
so I'm sure things have evolved since that time. At that time, it was an IG
that used COTS
Chris,
I'd definitely be interested in your terrain tools when you release them...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Chris
'Xenon' Hanson
Sent: Friday, April 02, 2010 7:30 AM
To: os
I've tried the following which seems to work pretty well for moving models
on the paging terrain surface. Perhaps you can leverage this to do what you
need.
double MissionFunctions::GetHeightOnTerrain(double lat, double lon)
{
double X,Y,Z;
double maxElevation = 13000.0 / 3.281; //
Cristina,
Do you have a code snippet you can provide us?
The following works for our case for each camera in the scene. We are using
the compositeViewer where each view added to the viewer has its own camera.
fog = new osg::Fog();
fog->setMode(osg::Fog::EXP2);
fog->setFogCoordinateSource(osg::Fo
Daniel,
In response to your questions below, these topics have been discussed in the
past with plenty of input. May I recommend that you look at the archives
http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org
You can search on a particular topic to get the information you need
Boris,
Attached is a code snippet that moves a simple sky dome model (based on the
skydome.osg file) with the eye on a spheroid. The sky dome is centered over
the eye. The manipulator viewpoint (eye) is initially positioned on an
earth-like spheroid at a given lat/lon/elevation and then you can us
At quick glance, a couple of things look suspect in the code below...
Try setting traits->doubleBuffer = true;
Also when you create the graphics context, you're passing in "traits"
instead of traits.get(). I would think it would be the latter since traits
is a ref_ptr...
-Shayne
-Original M
Perhaps it might be useful to take a look at the void
osgViewer::View::setUpViewInWindow(...) method in the OSG source to see what
you might be missing in your explicit setup...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.ope
Yes you can by using the "-d" option followed by the terrain file in VPB.
VPB will stitch in the terrain (if it's geospecific) into the ellipsoid...
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
All,
This is probably a silly question but what's the best way to do a "picture
in picture" using CompositeViewer?
Right now I have multiple views added to my viewer and I want to have
control as to which one gets rendered on top of the others in the main
viewer window.
Thanx,
-Shayne
view->setUpViewInWindow()...
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ricardo
Ruiz
Sent: Tuesday, November 24, 2009 4:32 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] How can I crea
negraph.org] On Behalf Of
Tueller,Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Sent: Tuesday, November 24, 2009 4:35 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] How can I create a osgViewer windowed?
view->setUpViewInWindow()...
-Original Message-
Fr
: [osg-users] picture in picture...
Hi Shayne,
On Tue, Nov 24, 2009 at 11:31 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC wrote:
> This is probably a silly question but what's the best way to do a "picture
> in picture" using CompositeViewer?
>
> Right now I have
All,
I have a need to run my OSG app on some "marginal" hardware (single CPU with
a GeForce 4800 for example) while still maintaining some decent frame rates
(around 30fps). I want to use the same terrain database (built with VPB with
the
-terrain option) if possible.
I've used the setSampl
Hello,
I'm new to OSG and I'm looking at the osgTerrain nodekit for terrain
rendering. My question is, is how is this used with Virtual Planet builder
(osgdem) for rendering terrain? Is VPB osgdem used to construct the terrain
database and then osgTerrain used to traverse the terrain in OSG? Is
, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
> I'm new to OSG and I'm looking at the osgTerrain nodekit for terrain
> rendering. My question is, is how is this used with Virtual Planet builder
> (osgdem) for rende
a
> given resolution, the sample density of tiles can be altered at
> runtime. The osgmultitexturecontrol example provides an example of
> controlling sample density by decorating the loaded database with
> osgTerrain::Terrain node and
> controlling its parameters.
>
> Robert.
Does anyone know if VPB supports the reading of the DTED file format (i.e.
*.dt1 files) for generating terrain databases? Do they need to be converted
over to some sort of raster format before VPB can use them?
smime.p7s
Description: S/MIME cryptographic signature
___
All,
I've made an attempt in generating a database using my own height field and
texture per the instructions located at
http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem.
So far, I have not had any luck in getting the height field to display
correctly. The texture i
, 2008 at 11:46 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
> All,
>
>
>
> I've made an attempt in generating a database using my own height field
and
> texture per the instructions located at
> http://www.openscenegraph.org/projects
CTED]
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] osgDEM usage...
>
> Hi Shayne,
>
> On Mon, Jun 2, 2008 at 5:20 PM, Tueller, Shayne R Civ USAF AFMC 519
> SMXS/MXDEC wrote:
>> The files were originally PNG files that I converted per the instructions
o
]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Monday, June 02, 2008 12:54 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgDEM usage...
Hi Shayne,
On Mon, Jun 2, 2008 at 5:20 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
> The f
Anders,
I believe osgdem is part of VPB now. When you build VPB, it compiles to
osgdem that can be run from the command line just as in the past.
-Shayne
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anders
Backman
Sent: Monday, June 09, 2008 6:25 AM
T
This may be a silly question but can anyone enlighten me on what
osgViewer::setLight() does? Does it set the attributes for a global light
source in the scene? I want to change the defaults in the viewer.
Thanks in advance
-Shayne
smime.p7s
Description: S/MIME cryptographic signature
__
reply email and destroy all
copies of the original message."
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tueller,
Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Sent: Tuesday, June 10, 2008 6:09 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] lightin
Can anyone tell me what coordinate system and what origin is assumed when
osgdem builds a terrain database? I'm feeding geo-referenced files that use
upper left and lower right lat/lon pairs to osgdem, but it's not clear to me
where the origin is for the generated database.
Thanks in advance.
Can anyone tell me what coordinate system and what origin is assumed when
osgdem builds a terrain database? I'm feeding geo-referenced files that use
upper left and lower right lat/lon pairs to osgdem, but it's not clear to me
where the origin is for the generated database.
Thanks in adva
Can anyone tell me what coordinate system and what origin is assumed when
osgdem builds a terrain database? I'm feeding geo-referenced files that use
upper left and lower right lat/lon pairs to osgdem, but it's not clear to me
where the origin is for the generated database.
Thanks in advance.
, the origin will be at the center of the earth.
Glenn
On Mon, Jun 16, 2008 at 11:10 AM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
Can anyone tell me what coordinate system and what origin is assumed
when osgdem builds a terrain database? I
ASSUMING your source data is geographic (e.g. WGS84) then you have a
Plate Carre projection and the conversion is simply: X=Lon, Y=Lat. If it
is not geographic, then you will have to use a library like PROJ.4 to
reproject it.
The elevation source data is raw DTED format which us
Regarding the osgviewerGLUT example, is there any way to make the embedded
window from the GraphicsWindowEmbedded feature smaller in size than the glut
window?
I bring this up because when I change the extents on the
viewer->setUpViewerAsEmbeddedInWindow() it has no effect. It always uses the
siz
>setViewport(50,50, 200,200);
Robert.
On Fri, Jun 20, 2008 at 4:08 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC <[EMAIL PROTECTED]> wrote:
> Regarding the osgviewerGLUT example, is there any way to make the embedded
> window from the GraphicsWindowEmbedded feature smaller in s
Thank you!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, June 20, 2008 10:01 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] using osg::node in glut renderer
On Fri, Jun 20, 2008 at 4:44 PM, Tueller, Shayne R Civ USAF
I'm attempting to explicitly set the view matrix for a camera in osgViewer.
I'm not using viewer->run() so I'm not using the default camera manipulator.
Here's the code I'm using:
osg::Matrixf vm;
vm.setRotate(osg::Quat(0.0, osg::Vec3(0.0, 0.0, 1.0),
the
translation.
-Paul
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tueller,
Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Sent: Monday, June 23, 2008 3:44 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] ca
, 0.0));
cameraMatrix = cameraMatrix*rotationToYUp;
camera->setViewMatrix(cameraMatrix);
Regards,
Asa
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Tueller, Shayne R
Civ USAF AFMC 519 SMXS/MXDEC
Skickat: den 24 juni 2008 00:22
Till: Op
In order to compile and run osgviewerWX example, I'm trying to build the
VC++ project file using CMakeSetup. I've configured all the wxWidgets paths
to configure, generate, and build but it still won't build the project file.
In fact, CMakeSetup won't build any of the project files for any of the
F
There's an article entitled "On-the-sphere block-based 3D terrain rendering
using a wavelet-encoded terrain database for SVS" by Greg Baxes and Tim
Linger of TerraMetrics Inc. The article gives a high level view of their
algorithm which I believe is the one or similar to the one used in Earth
viewe
I have a simple/silly question regarding cessnafire.osg.
I can load this into a node and display it without trouble, however, when I
apply a MatrixTransform to the node, the geometry is changed but the
fire/smoke animation doesn't follow the geometry. I'm assuming that the
fire/smoke is modele
SceneGraph Users
Subject: Re: [osg-users] cessnafire.osg...
>I’m assuming that the fire/smoke is modeled using osgParticle…
I think so! You can take a look
http://faculty.nps.edu/jasullivan/osgtutorials/osgParticle.htm
在2008-07-04 07:10:57,"Tueller, Shayne R Civ USAF AFMC 519 S
ath that handles moving models and particles systems.
Robert.
2008/7/7 Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
<[EMAIL PROTECTED]>:
> Thanks for the link. While I appreciate the info, it doesn't really
address
> my original question about transforming the particle emitt
to
automagicaly work as you want. What you have to do to move the
particle system out in the world space, and have the emiter local to
the moving object.
Robert.
2008/7/7 Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
<[EMAIL PROTECTED]>:
> Robert,
>
> I've attempted to
ayne,
>
> You'll can't put a self contained particle system with file and then
> load it and transform it around the world and expect it to
> automagicaly work as you want. What you have to do to move the
> particle system out in the world space, and have the emiter local
I'm attempting to have some smoke track an airplane model as it moves. The
problem is that the smoke is not rendered as the plane moves along. Below is
the code snippet I'm using to set things up.
.
osgParticle::ParticleEffect* smoke = 0;
smoke = new osgParticle::SmokeTrailEffect(mm_position,
Hello,
I would like to have my sky model track the camera position so that as the
camera moves, the sky model moves with it. To do this, would I add the sky
model transform as a child of the cameraNode? Does anyone have any code
snippets that may demonstrate how I might do this?
Thanks in a
Viggo,
Thanks much...:)
-Shayne
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Viggo Løvli
Sent: Tuesday, July 29, 2008 11:56 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] sky model tracking the camera...
Hi Shayne,
Add your sky node where-eve
David,
Thanks for your help as well...
-Shayne
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Spilling
Sent: Wednesday, July 30, 2008 1:31 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] sky model tracking the camera...
Look in the osghandgl
You can zoom by adjusting the field of view (fov) by:
fov = 2*atan(width/2*near*aspect)
where "width" is the world portion seen through the camera, "near" is the
near plane distance from the eye.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helbig,
Yu
This is probably a silly and simple question, but does anyone have an
example of how to move a model explicitly without using a canned animation?
Most of the examples I've seen, update the position in an animation using
UpdateCallback.
I have a position update coming from another process outsi
child(MotionModelFile);
...
while((!Viewer.done)
{
...
if(Update is Needed)
//position is changed or other
MotionMatrix->->setMatrix(osg::Matrix::translate(Pos)); //your
position data
...
Viewer.frame();
...
}
su hu
2008/8/2, Tueller, Shayne R Civ USAF AFMC 519 S
1 - 100 of 366 matches
Mail list logo