Re: [osg-users] indices

2012-03-01 Thread Keith Parkins
/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

Re: [osg-users] Hard coded Arial font

2011-12-13 Thread Keith Parkins
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

Re: [osg-users] Hard coded Arial font

2011-12-13 Thread Keith Parkins
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

Re: [osg-users] unexpected behavior

2011-09-27 Thread Keith Parkins
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

[osg-users] unexpected behavior

2011-09-26 Thread Keith Parkins
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

Re: [osg-users] [osgPlugins] VRML plugin: help in compiling

2011-09-07 Thread Keith Parkins
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

Re: [osg-users] OSG VRML plugin

2011-08-23 Thread Keith Parkins
, 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

[osg-users] vrml plugin for 2.9.14

2011-05-17 Thread Keith Parkins
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

Re: [osg-users] Camera intrinsics

2011-04-06 Thread Keith Parkins
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

Re: [osg-users] debugging slow path

2010-12-02 Thread Keith Parkins
. 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

Re: [osg-users] debugging slow path

2010-12-02 Thread Keith Parkins
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

Re: [osg-users] debugging slow path

2010-12-02 Thread Keith Parkins
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

[osg-users] debugging slow path

2010-12-01 Thread Keith Parkins
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

Re: [osg-users] debugging slow path

2010-12-01 Thread Keith Parkins
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

[osg-users] FBO problem? (fwd)

2010-11-30 Thread Keith Parkins
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

Re: [osg-users] FBO problem? (fwd)

2010-11-30 Thread Keith Parkins
? -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

Re: [osg-users] FBO problem? (fwd)

2010-11-30 Thread Keith Parkins
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

[osg-users] CompositeViewer w multiviews event traversals

2010-09-30 Thread Keith Parkins
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

Re: [osg-users] Camera intrinsics

2010-07-27 Thread Keith Parkins
/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

Re: [osg-users] Camera intrinsics

2010-07-27 Thread Keith Parkins
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: //-//

Re: [osg-users] VS 2010 and OSG v2.8.3?

2010-07-22 Thread Keith Parkins
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

[osg-users] RTT single frame

2010-07-19 Thread Keith Parkins
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

Re: [osg-users] problems with weather

2010-07-13 Thread Keith Parkins
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