[osg-users] [forum] Trying to get account unmoderated

2012-01-12 Thread Kevin Williams
Hi, Seems a second post is not sufficient. Trying #3. Can't see a problem with my profile according to the rules of the forum. Can someone help?? ... Thank you! Cheers, Kevin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44769#44769 __

[osg-users] Resizing osgViewer widget

2012-01-12 Thread Kevin Williams
Hi, I have an osgViewer as a widget on a main window, but it will not resize on dragging the main window extents. If I simply replace the osgViewer with say a QPushButton, the resizing works as expected. (i.e. no other code changes) I've tried resetting the camera viewport in the appropriate Q

Re: [osg-users] [forum] Trying to get account unmoderated

2012-01-12 Thread Kevin Williams
Thanks Art!! Sorry for the spam. :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44775#44775 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cg

[osg-users] Dynamic surface coloring

2012-01-12 Thread Kevin Williams
Hi, This may seem like overkill: using OSG for rendering a 2D polar surface plot, but I have plans for other things, so please bear with me! Basically, what I need to do is mesh a disk, and quite rapidly update the color along the radials (rho, constant theta's) in proportion to incoming instru

Re: [osg-users] Dynamic surface coloring

2012-01-12 Thread Kevin Williams
Thanks Robert. I'm not sure what you mean with your second suggestion. I don't understand how a vertex has a texture associated with it, and not a triangle? In my simple view of trying to color facets of the surface, my understanding is that a texture would have to be applied to a specific face

Re: [osg-users] Dynamic surface coloring

2012-01-12 Thread Kevin Williams
Hi Robert Just to add: The nature of my radar measurements limits the characteristics of the source data. The source data is very specifically only an "intensity" value at a specific azimuth, at ranges from 0 to a certain value. Kind regards Kevin -- Read this topic online h

Re: [osg-users] Dynamic surface coloring

2012-01-13 Thread Kevin Williams
I like the proposed texture solution instead of a mesh. Thanks! I will do some work based on that. Need to read up on using textures. I got my first idea working today, but of course there are a lot of triangles that result... It would really need some level-of-detail rules to make it work well

Re: [osg-users] Dynamic surface coloring

2012-01-15 Thread Kevin Williams
As an experiment I have got a single triangle, and applied a list of colours as a texture across it. (I modifed the osgtexture1d example.) [The idea is now to create thin triangles representing each azimuth cell, and update the texture colours on each triangle as measurements become available.]

Re: [osg-users] Dynamic surface coloring

2012-01-17 Thread Kevin Williams
image->dirty() does it. Thanks JP. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44875#44875 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi