[osg-users] osgViewer::GraphicsWindowWin32 stack overflow crash

2009-03-04 Thread Peter Amstutz
was actually more appropriate. Any thoughts, and should this be filed as a bug? Thanks, Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 01760 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] osgViewer::GraphicsWindowWin32 stack overflow crash

2009-03-04 Thread Peter Amstutz
not familiar with the GraphicsWindowWin32.cpp. Hopefully others with experience of working with GraphicsWindowWin32.cpp window inheritance can chip in. Robert. On Wed, Mar 4, 2009 at 6:03 PM, Peter Amstutz peter.amst...@tseboston.com wrote: First off, for reference I am using osg 2.6.1, but I

Re: [osg-users] osgViewer::GraphicsWindowWin32 stack overflow crash

2009-03-04 Thread Peter Amstutz
That sounds like the right thing to do. I'll give that a try. Stephan Huber wrote: Hi Peter, Another idea would be to extend GraphicsWindowWin32::WindowData to add a flag or something similar, so GraphicsWindowWin32 can query this flag an decide if it's allowed to call

Re: [osg-users] osgViewer::GraphicsWindowWin32 stack overflow crash

2009-03-04 Thread Peter Amstutz
entry with no problems: http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSGviewerina.NETcontrol Thanks! Jason On Wed, Mar 4, 2009 at 3:14 PM, Peter Amstutz peter.amst...@tseboston.com mailto:peter.amst...@tseboston.com wrote: That sounds like the right thing to do

Re: [osg-users] WPF and OpenGL popup window problem

2009-03-05 Thread Peter Amstutz
I have a similar problem to the one described here, although with Windows Forms rather than WPF. Whenever my application renders a tooltip which overlaps the OSG window, the tooltip gets cut off on the next OSG frame. I've spent hours trying to find any information about how to work around

Re: [osg-users] Separate sub-graphs of the same scene

2009-03-16 Thread Peter Amstutz
I'm not sure I entirely understand what you're trying to accomplish, but perhaps you want to look into using a stencil buffer and/or pixel shader to control what gets rendered? Guy wrote: Hello, I'm trying to merge two sub-graphs to the same image. It doesn't work so well, so I'll try

Re: [osg-users] switch between two camera

2009-03-17 Thread Peter Amstutz
Robert Osfield wrote: Hi Peter, Benoit et, On Mon, Mar 16, 2009 at 8:15 PM, Peter Amstutz peter.amst...@tseboston.com mailto:peter.amst...@tseboston.com wrote: The way I handled this in my application was to create multiple instances of osgViewer::Viewer with a separate camera

[osg-users] distant nodes in orthographic projection turn black

2009-03-18 Thread Peter Amstutz
I am having a puzzling problem that I hope someone might have some insight on what is happening: My application renders a terrain using a top-down, orthographic view, and places various icons (simple flat meshes mostly) to represent simulation agents (soldiers and vehicles). One of our

Re: [osg-users] where can i find the vertex positions?

2009-03-18 Thread Peter Amstutz
If you're just interested in the vertices and not the mesh, you can look at osg::Geode, get the list of osg::Drawables, cast to osg::Geometry, then call osg::Geometry::getVertexArray(). Or you can use osg::TriangleFunctor to iterate over the triangles that make up the mesh, this provides you

Re: [osg-users] distant nodes in orthographic projection turn black

2009-03-18 Thread Peter Amstutz
It's not erratic, it's pretty strongly correlated to the projection matrix settings (determining the zoom level), camera distance and size of the icon. I looked at the icon model, from inspecting the .osg file (converted from .ive with osgconv) it appears that the relevant state settings are:

[osg-users] support for kdtree in polytope intersector?

2009-10-22 Thread Peter Amstutz
be motivated to add support for this to OSG if no one else has done so already. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] support for kdtree in polytope intersector?

2009-10-23 Thread Peter Amstutz
not have much time to do this myself but I could offer some hints and perform testing if you choose to implement it. Ok, I will take a look at it. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users

[osg-users] testing for multisampling capability

2009-04-01 Thread Peter Amstutz
I'm trying to enable 4x multisampling in my application. When running on systems with decent video drivers this is a simple matter of setting traits-sampleBuffers when I create the graphics window and it just works. Unfortunately in testing I've run into a system with an integrated Intel

[osg-users] determine record type from OpenFlight files?

2009-04-24 Thread Peter Amstutz
I am loading an OpenFlight file using osgDB and I need to do some additional processing based on the specific record types, specifically terrain and roads. From looking at the OpenFlight loader in osg 2.6, it seems that this information is read by OSG (there is a flag indicating terrain and

[osg-users] IntersectVisitor vs IntersectionVisitor

2009-04-24 Thread Peter Amstutz
Something I just came across, trying to figure out why my line-of-sight tests were not using KdTrees: Would I be correct in thinking that osgUtil::IntersectVisitor is the old and deprecated way of doing intersection tests, and osgUtil::IntersectionVisitor is the new way to do it? Is there a

[osg-users] line intersection performance

2009-04-24 Thread Peter Amstutz
A couple of other questions related to intersection performance: 1) The current KdTree implementation is just for sorting triangle geometry at node leaves. Perhaps it would be useful to to have a KdTree organize the scene graph nodes themselves, based on bounding volumes? Or are bounding

Re: [osg-users] line intersection performance

2009-04-24 Thread Peter Amstutz
Hi Jean-S├ębastien, Jean-S├ębastien Guay wrote: So the answer IMHO would be that in any case, you will want to try and build a good scene graph (both for culling performance and intersection performance). Whether you want to make a global kd-tree for the whole scene will depend on how dynamic

Re: [osg-users] IntersectVisitor vs IntersectionVisitor

2009-04-24 Thread Peter Amstutz
Osfield wrote: HI Peter, On Fri, Apr 24, 2009 at 6:14 PM, Peter Amstutz peter.amst...@tseboston.com wrote: Would I be correct in thinking that osgUtil::IntersectVisitor is the old and deprecated way of doing intersection tests, and osgUtil::IntersectionVisitor is the new way to do

Re: [osg-users] OpenFlight, subsurfaces and PolygonOffset settings

2009-04-24 Thread Peter Amstutz
Hi Robert, I have seen this problem (in my case manifested by having the road draw on top of buildings (!) next to the road) in OSG 2.6 so I am glad to know it is a bug in the OpenFlight loader. In my application, I have had success with osg::PolygonOffset(1.0f, 4.0f) to push the terrain

Re: [osg-users] line intersection performance

2009-04-24 Thread Peter Amstutz
Robert Osfield wrote: If your data is stored in a flat group the osgUtil::Optimizer spatialize groups visitor will be able to build a quad tree for you. Oh excellent, just what I had in mind :-) Thanks, Peter ___ osg-users mailing list

Re: [osg-users] determine record type from OpenFlight files?

2009-04-27 Thread Peter Amstutz
Of Peter Amstutz Sent: Friday, April 24, 2009 11:38 AM To: OpenSceneGraph Users Subject: Re: [osg-users] determine record type from OpenFlight files? Hmm, I never noticed the DescriptionList feature before -- I presume DescriptionList gets saved to and loaded from .osg and .ive files? That would

[osg-users] using AABB instead of bounding sphere for intersection tests?

2009-04-27 Thread Peter Amstutz
Is there a way to use an axis-aligned bounding box (AABB) for the coarse bounding volume rather bounding spheres, for line segment intersections? In my application my primary geometry is made up of terrain tiles which are naturally axis aligned and buildings which tend to be rectangular

Re: [osg-users] using AABB instead of bounding sphere for intersection tests?

2009-04-28 Thread Peter Amstutz
Chris 'Xenon' Hanson wrote: I think the reason for the bounding spheres is that it is a very efficient-to-compute formula -- many times more efficient than AABB. Are you worried about intersection efficiency during cull phase, or during intersection testing, or where? Have you actually

Re: [osg-users] Rendering a series of nodes in precise order...

2009-05-12 Thread Peter Amstutz
Hi Robert, This is ironic (so much so I initially read your email as being sarcastic) since the original scene graph, SGI Inventor, was sensitive to the ordering of nodes in the scene graph, and I always assumed that rendering as depth first traversal was the default way to do it. Getting

[osg-users] crash on window resize with ATI, win32, multithreading

2009-08-14 Thread Peter Amstutz
This is perhaps not a OSG bug specifically, but I thought I would ask the community on the chance that someone has run into this problem and has found a solution -- I have a multithreaded application where the OpenGL graphics window is embedded in Windows Forms application. The main thread

Re: [osg-users] how to do shadows in large scenes?

2011-01-03 Thread Peter Amstutz
-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] osgShadow clipping shadows cast from off-camera objects

2011-01-05 Thread Peter Amstutz
noticeable and undesirable effect. How can I mitigate this problem? [*] I had high hopes for PSSM based on reading about the technique but so far neither osg 2.8.3 nor 2.9.10 produce correct results for me. Thanks! -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick

Re: [osg-users] osgShadow clipping shadows cast from off-camera objects

2011-01-05 Thread Peter Amstutz
the technique but so far neither osg 2.8.3 nor 2.9.10 produce correct results for me. Thanks! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior

[osg-users] different rendering states for different passes?

2011-01-13 Thread Peter Amstutz
way to set up OSG to do this at the leaf. Can anyone point me in the right direction? -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Shadows in OSG

2011-01-18 Thread Peter Amstutz
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

[osg-users] PSSM cascaded shadow maps

2011-01-18 Thread Peter Amstutz
specializations for the various methods of partitioning the shadowed scene. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Visitor concept. No finalize?

2011-01-26 Thread Peter Amstutz
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users

Re: [osg-users] Discussion: metadata readerwriters output

2011-01-28 Thread Peter Amstutz
- http://pvle.sourceforge.net/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

Re: [osg-users] Discussion: metadata readerwriters output

2011-02-01 Thread Peter Amstutz
with -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Discussion: metadata readerwriters output

2011-02-03 Thread Peter Amstutz
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

Re: [osg-users] IFC to OSG converter

2011-02-08 Thread Peter Amstutz
are much smaller and load much faster. Regards, Peter -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

Re: [osg-users] Can I increment the gl_FragData?

2011-02-21 Thread Peter Amstutz
] is in every render pass zero (black). Is it possible to change that? Cheers Martin -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] OSG plugin for browsers

2011-04-07 Thread Peter Amstutz
to do transparently as osg lacks the necessary value changed hooks to record the changes that occur in the scene graph from frame to frame. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list

Re: [osg-users] Meta-data in core OSG - project started

2011-04-15 Thread Peter Amstutz
/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

Re: [osg-users] Meta-data in core OSG - project started

2011-04-15 Thread Peter Amstutz
on how to return a T* in ComponentContainer::findFirstMeta()? Sukender -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] Meta-data in core OSG - project started

2011-04-18 Thread Peter Amstutz
cross-platform game engine - http://pvle.sourceforge.net/ -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

Re: [osg-users] Meta-data in core OSG - project started

2011-04-19 Thread Peter Amstutz
(v); } -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Meta-data in core OSG - project started

2011-04-19 Thread Peter Amstutz
mean you preference goes to function( someParam ) rather than function( ValueSomeType(someParam) ) ? If so, yes. And that's of course easier to write and read. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

Re: [osg-users] Meta-data in core OSG - project started

2011-04-20 Thread Peter Amstutz
://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] Meta-data in core OSG - project started

2011-04-27 Thread Peter Amstutz
appropriate method in DBProxy - Make DBProxy also accept ValueT as an input, and convert it to appropriate SQL/request/whatever Thoughts? Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ --- -- Peter Amstutz Senior Software Engineer Technology Solutions

Re: [osg-users] [3rdparty] OSG C#

2011-05-09 Thread Peter Amstutz
://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi

Re: [osg-users] Meta-data in core OSG - project started

2011-05-31 Thread Peter Amstutz
(); } _container-setUserObject(this, i, obj); } /* etc */ - osg::Object also gains a couple of new methods: osg::UserDataContainer* osg::Object::getUserDataContainer(); osg::Object::setUserDataContainer(osg::UserDataContainer*); Does this seem reasonable? - Peter -- Peter

Re: [osg-users] Meta-data in core OSG - project started

2011-06-07 Thread Peter Amstutz
as it enevitablly requires use of virtual functions for data access, extra classes and public methods for these. -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Meta-data in core OSG - project started

2011-06-09 Thread Peter Amstutz
design now (except for the comment above). -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131h ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Meta-data in core OSG - project started

2011-06-09 Thread Peter Amstutz
a UserDataContainer, in which case get/setUserValue() operate on the object itself. Arguably this is slightly inconsistent, but I think it is much more useful and desirable behavior than manipulating the _userDataContainer itself embedded in _userDataContainer. -- Peter Amstutz Senior Software

Re: [osg-users] Basic Lighting Shaders

2011-06-23 Thread Peter Amstutz
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] error building osga plugin in r12640

2011-06-24 Thread Peter Amstutz
error LNK1120: 1 unresolved externals -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Delighted to announce OpenSceneGraph-3.0.0!

2011-06-28 Thread Peter Amstutz
pretty darn awesome :-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick

Re: [osg-users] osg exporter, blender problems

2012-10-22 Thread Peter Amstutz
/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Deprecating vertex indices in osg::Geometry

2013-06-04 Thread Peter Amstutz
@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Deprecating vertex indices in osg::Geometry

2013-06-04 Thread Peter Amstutz
@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] How to detect scene changes?

2013-11-04 Thread Peter Amstutz
@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] 3.0.1 stutters on SwapBuffers

2011-09-29 Thread Peter Amstutz
Studio 2009 on Windows 7 x64 (however OSG and my app are compiled for x86) and with a Radeon HD 3400. Does anyone have any idea what could be going on? -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg

Re: [osg-users] osgShadow PSSM light source issue

2012-04-02 Thread Peter Amstutz
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131

Re: [osg-users] Help! Particles in OSG 3.0.1 flip halfway through their lifetime...

2012-06-11 Thread Peter Amstutz
-users-openscenegraph.org -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org