Hi Nilix,
I've successfully displayed an image in a HUD taking the following general
approach:
create an osg::geometry
set the vertices based on the image size
create an osg::Texture2D
create an osg::Vec2Array for texture coordinates
call setTexCoordArray on the osg::geometry
add the osg::geometr
Hi,
First of all, thank you for your answer. I took a look at osgscribe and I tried
to do the same thing, but it doesn't really work. I tried many things but this
is my last attempt:
Code:
geode = new osg::Geode;
geometry = new osg::Geometry;
osg::ref_ptr v = new osg::Vec3Array;
geometry->set
Hi,
It may be a simple one, but I am struggling since two days.
I am using a osg::Switch to load multiple models. It loads OSG models for some
options time and videos for some options.
When I loaded models the model displayed in the middle of the screen. If I
display the video it is not in th
Hi,
I am looking at getting a couple of laptops with Nvidias 'Optimus' switchable
graphics and AMDs equivalent.
My hope is to be able to manually switch between the two so I can test our
application using both discrete and Intel graphics. There was a thread back in
September of last year which
On 05/10/2012 07:21 AM, Bob Slobodan wrote:
Hi,
First of all, thank you for your answer. I took a look at osgscribe and I tried
to do the same thing, but it doesn't really work. I tried many things but this
is my last attempt:
You may need to tweak the factor and units numbers for your parti
On Thu, May 10, 2012 at 7:32 AM, Christiansen, Brad <
brad.christian...@thalesgroup.com.au> wrote:
> Hi,
>
> **
>
> I am looking at getting a couple of laptops with Nvidias 'Optimus'
> switchable graphics and AMDs equivalent.
>
> My hope is to be able to manually switch between the two so I ca
OK, disregard everything I said about using osgscribe and Polygon Offset.
Having just read the link I posted myself, I realized that glPolygonOffset only
works for filled polygons and not lines or points. Sorry for the misdirection.
Unfortunately, you'll have to come up with something a bit mo
Before loading a .shp file, is there a way of getting the attribute list from
its corresponding .dbf file?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47643#47643
___
osg-users mailing list
osg-us
Found it, never mind. Thank you.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47644#47644
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/o
I believe that I have found a possible parsing problem with how the rot, trans,
scale pseudo loaders parse the parameter string. To begin i have two systems
that I currently develop on the primary difference is that on system A i have
osg 3.0.1 installed and on system B I still have osg 3.0.
Glenn,
Thanks again for the help. While pursuing your suggestion I introduced a bug in
my shaders which led to me seeing that the default point cloud rendering was
somehow having the overlay texture successfully applied. This made me think
that the data was in the gl uniforms somewhere and afte
On 05/10/2012 02:42 PM, Scott Wasinger wrote:
osgviewer: No match.
then the viewer promptly exits without rendering even the booster model.
Hi, Scott,
The "No match" error suggests to me that you're on some kind of
UNIX-style system, and that the command line shell is trying to do
regex-
>
> The "No match" error suggests to me that you're on some kind of UNIX-style
> system, and that the command line shell is trying to do regex-style
> substitution for you with the square brackets. For example, in some
> command shells "rm [ab].txt" would delete files called a.txt and/or b.txt.
>
Hi all,
I'm leaving my job at Moffett Field to work full time on my OSG-based
video game. (Ha! I can't believe I just wrote that.) Anyway, they
need a replacement. The job is heavy on OSG/OpenGL/Linux programming.
Here's the job posting in case anyone is interested in applying:
https://jobs.u
Hi, Jason
Yes I'm on a UNIX-style system in both cases, but System A is with a newer
kernel and etc so that might explain why it is working. while on the other
system it isn't.
I did try your suggestion with the quotes and it worked on both systems. I did
confirm that the braces are needed i
Hi Brad,
I am looking at getting a couple of laptops with Nvidias 'Optimus'
switchable graphics and AMDs equivalent.
My hope is to be able to manually switch between the two so I can test
our application using both discrete and Intel graphics. There was a
thread back in September of last year w
Hi,
So I've had a working program that integrates OSG with QT and its been working
nicely until today. I'm using a osgViewer and I repaint the osg graph with a
timer which when expired does some things which possibly modify the scene graph
and then I call the frame function. This has been worki
17 matches
Mail list logo