Re: [osg-users] indices

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

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] Hard coded Arial font

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

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_ptr root = new osg::Group; root->setName("root"); setSceneData(root.get()); osg::ref_ptr sky = new mear::SkyDome; sky->se

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

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

Re: [osg-users] OSG VRML plugin

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

[osg-users] vrml plugin for 2.9.14

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

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 param

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 d

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 libs

Re: [osg-users] debugging slow path

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

Re: [osg-users] debugging slow path

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

[osg-users] debugging slow path

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

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

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

[osg-users] FBO problem? (fwd)

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

[osg-users] CompositeViewer w multiviews event traversals

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

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] Camera intrinsics

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

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

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

[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 w

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 dis

[osg-users] .NET 2003 compile problems

2007-09-18 Thread Keith Parkins
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