nscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Keith ParkinsU of R Center for Visual Science
Meliora Hall, Room 253
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.ope
Yes, you are correct that this wouldn't help with StatsHandler or
HelpHandler. For StatsHandler you might be able to get away with
deriving a class like this:
class MyStatsHandler : public osgViewer::StatsHandler {
public:
MyStatsHandler() : _font("myfont.ttf") {}
};
otherwise you can
You can set the font.
osg::ref_ptr font = osgText::readFontFile('yourfont.ttf');
osg::ref_ptr txt = new osgText::Text;
txt->setFont(font.get());
-K
On Tue, 13 Dec 2011, Thomas Lerman wrote:
I see arial.ttf referred 13 times, most of which are hardcoded in the fonts
directory. Most of my dev
thigns we can only guess what might be the problem. My best guess
would be that perhaps the sky dome is very large so pushing the far
plane and the near plane with it, such that the near plane is clipping
out the geometry you are expecting to see.
Robert.
On Tue, Sep 27, 2011 at 3:20 AM, Keith
Hi all,
I am having the weirdest problem. I have generated a scene graph with a
pre-render camera that does the skydome and then this:
osg::ref_ptr root = new osg::Group;
root->setName("root");
setSceneData(root.get());
osg::ref_ptr sky = new mear::SkyDome;
sky->se
sgviewerd.exe can fing the wrl plugin, but it gives me this error in
http://imageshack.us/photo/my-images/685/errorosg.jpg/
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42489#42489
Keith ParkinsU of R Center for Visual Sci
uate to a function taking 0 arguments
2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(119): error C2228: left
of '.get' must have class/struct/union
2>..\..\..\..\src\osgPlugins\vrml\IndexedFaceSet.cpp(136): error C2440:
'initializing' : cannot convert from 'const open
I didn't notice any mention of this in the osg-users list, so I thought
I'd send this out in case anyone else had this problem. If there is a
cleaner solution that I missed, please do correct me.
Thanks,
-K
Keith ParkinsU of R Center
into
another mirror). So if everything was flipped when you tried this, that
was probably the reason why.
-K
On Wed, 6 Apr 2011, benedikt naessens wrote:
Keith Parkins wrote:
After looking at this again, I am unclear as to whether you have built
the projection matrix from the intrinsic param
J-S and Robert, You rule!
That was it. Don't link to debug libraries on Windows -K
On Thu, 2 Dec 2010, Jean-Sébastien Guay wrote:
Hi Keith,
I was using a debug build. I'm trying out a release build, but I am
swamped and trying to do a bunch of things. I'll get back sometime in
the next d
Hi J-S and Robert,
I was using a debug build. I'm trying out a release build, but I am
swamped and trying to do a bunch of things. I'll get back sometime in the
next day with my results. I'm hoping this is it because the one
difference between osgviewer and my app is that I am using debug libs
this on XP.
I can't seem to find any other glBegin entry points. Does anyone have any
suggestions? I checked to make sure that I wasn't explicitely dirtying the
display lists.
Thanks again! -K
On Wed, 1 Dec 2010, Keith Parkins wrote:
Hi,
My app is currently rendering via the slo
or at the end.
Any ideas? Are there any other roads to the short path?
On Wed, 1 Dec 2010, Keith Parkins wrote:
Hi,
My app is currently rendering via the slow path. I've checked for
DrawArrayLengths and BIND_PER_PRIMITVES, but don't seem to have either.
Dose anyone know of ot
!
Keith
PS: Thanks a lot for the help, Jason.
On Tue, 30 Nov 2010, Jason Daly wrote:
On 11/30/2010 08:09 PM, Keith Parkins wrote:
I am using geo->setNormalBinding(osg::Geometry::BIND_OVERALL);
and I did see a model with NormalBinding PER_VERTEX. Should I be setting
these to BIND_OFF or is it j
On Tue, 30 Nov 2010, Jason Daly wrote:
On 11/30/2010 04:23 PM, Keith Parkins wrote:
Okay, DrawArrays also uses the slow path. I was under the impression that
only DrawArrayLengths were. The only hint I had of this before digging
through the source was a posting here that said not to use
?
-K
On Tue, 30 Nov 2010, Keith Parkins wrote:
A follow-up:
I used an opengl tracer and found that in my app there are calls to
glBegin and glEnd while in the osgviewer dump there aren't any. I am using
the same models in both. glNormal3fv has 6 calls in osgviewer, yet mine
has 426974
ingly using
DrawArrayLengths, but I DID use some DrawArrays (w/o indices).
-- Forwarded message --
Date: Tue, 30 Nov 2010 14:43:20 -0500 (Eastern Standard Time)
From: Keith Parkins
To: OpenSceneGraph Users
Subject: FBO problem?
Hi,
I'm working on a driving simulator. I
view separated from all
traversals once the main camera mask is zeroed?
Thanks!
-Keith
Keith ParkinsU of R Center for Visual Science
kpark...@cvs.rochester.edu Meliora Hall, Room 253
office: (585) 275-2460 lab: (585) 275
After looking at this again, I am unclear as to whether you have built
the projection matrix from the intrinsic parameters. I was assuming that
you had made it by hand. To do that you would do something like this:
//-//
ph.org/viewtopic.php?p=30318#30318
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Keith ParkinsU of R Center for Visual S
cannot switch to VS2010 because Qt doesn't support it at the
moment.
Cheers,
Dženan
Keith ParkinsU of R Center for Visual Science___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi,
I am trying to dynamically make a smaller LOD for a street block
populated with buildings. To do this, I am trying to render different
views into texture memory to apply onto a simple cube during the
scene building section of code before entering the main loop. These are
static images, so I w
Hi Jose,
Are you applying the fog in your shader? Remember that the GLSL
spec states that Fog is not applied once a fragment shader has been
supplied. Your shader replaces the fixed function shader that applied
the fog.
Check out:
http://www.idevgames.com/forum/showthread.php?t=12436
for a dis
simply by either adding or deleting a blank line in the code
which seems to me to be a bug in the compiler. The starting point for the
project was the osgviewer application (including project file).
-K
--
Keith ParkinsU of R Center for Visual Science
[EMAIL PROTECTED] Mel
24 matches
Mail list logo