/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.openscenegraph.org
You can set the font.
osg::ref_ptrosgText::Font font = osgText::readFontFile('yourfont.ttf');
osg::ref_ptrosgText::Text 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
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
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_ptrosg::Group root = new osg::Group;
root-setName(root);
setSceneData(root.get());
osg::ref_ptrmear::SkyDome sky = new
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 Science
kparkins
, or constructor
overload resolution was ambiguous
There are more errors, but all of them are similar.
Any ideas about what?s wrong?
Thank you.
Héctor
Keith ParkinsU of R Center for Visual Science
kpark...@cvs.rochester.edu Meliora Hall, Room 253
office: (585) 275
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 for Visual Science
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 parameters
.
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 slow path. I've checked
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
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
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 just BIND_PER_PRIMITIVE
and nothing comes up,
neither after initialization nor 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
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 kpark...@cs.rochester.edu
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: FBO problem
?
-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. Any
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
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-2230
/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 Science
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:
//-//
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
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
23 matches
Mail list logo