[osg-users] modifying vertexs

2009-03-05 Thread Jim Brooks
Found two different ways to tell OSG that vertexs were modified. Maybe these are circumventions that aren't proper (?). What is the "one right way"? Call dirtyDisplayList() ? ctor() : mVertexs(new osg::Vec3Array), mDrawArray(new osg::DrawArrays( osg::PrimitiveSet::POINTS,0,0)) { }

[osg-users] division by zero in include/osgDB/DatabasePager

2009-03-05 Thread Csaba Halász
Hi! More division by zero trouble, this time in include/osgDB/DatabasePager line 331: double getAverageTimeToMergeTiles() const { return _totalTimeToMergeTiles/static_cast(_numTilesMerges); } Obviously divides by zero if _numTilesMerges is zero. -- Csaba

Re: [osg-users] photos to be displayed in sequence

2009-03-05 Thread Simon Hammett
So you need @ minimum168 Mb/sec streaming bandwidth from your hard discs That's not utterly insane, but many older PC's won't be able to deliver that sort of bandwidth. On my current machine the burst transfer rate from cache (ie memory to memory copy) is only 184 Mb/sec. Reading from HD I o

[osg-users] Configuring OSG for stereo

2009-03-05 Thread Eric Heft
What sets the 'depth' plane when using stereo? >From the docs you have measured and entered values for the following in inches >instead of meters. setEyeSeparation(EyeSeperation ); setScreenDistance(ScreenDistance); setScreenHeight(ScreenHeight); setScreenWidth(ScreenWidth); setProjectionMa

Re: [osg-users] Are billboard capable of casting shadows?

2009-03-05 Thread Terry Welsh
Hi Alan, Even if you get your billboards to cast shadows, the result is usually unpleasant. Most of the time your billboards will appear to be split down the middle with a dark half and a light half. This is because the billboard has a different rotation with respect to the eye and the light sour

Re: [osg-users] Retrieve a vertexs list of a Node

2009-03-05 Thread Lewis, Jonathan
Hey Diallo, in case it's helpful, here's a great tutorial on function pointers and functors: http://www.newty.de/fpt/index.html -Jonathan -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Diallo Sent: Thu

[osg-users] Anti-Aliasing and MultiSampling.

2009-03-05 Thread Ümit Uzun
Hi Folks, I have searched about anti-aliasing. There some choices to implement Anti-Aliasing. And I have choosed multiSampling. // Get the current window size. ::GetWindowRect(hWnd, &rect); // Init the GraphicsContext Traits. osg::ref_ptr traits = new osg::GraphicsContext::Traits

[osg-users] Are billboard capable of casting shadows?

2009-03-05 Thread Alan Dickinson
I have been working with the osgshadow example using the lz.osg input file and noticed that the tree billboards aren't casting shadows. So my question is are billboards capable of casting shadows with the osgShadow implementation or would it have to be modified to make them capable of casting an

Re: [osg-users] photos to be displayed in sequence

2009-03-05 Thread salvatore
hello Robert, I have 40,000 photos in tga format with 1400x1050 definition and a frame rate of 30 fps, the load in this way: imageSequence-> addImage (osgDB:: readImageFile ("hh3fcenter/immage_.tga")); in the various attempts I have tried with 240 photos and goes very badly, I thought to p

Re: [osg-users] strange object clipping

2009-03-05 Thread Ben Axelrod
Thanks guys, I found the problem. I was not dirtying the bound for all of my ShapeDrawables. I was only calling dirtyBound() on the parent geode. I guess this is not sufficient. -Ben -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.o

[osg-users] A dynamic bounding volume hierarchy for generalized, collision detection

2009-03-05 Thread hanne...@gmx.at
hi list! http://graphics.cs.lth.se/research/papers/dbvh2005/dbvh_cg06.pdf A dynamic bounding volume hierarchy for generalized, collision detection Thomas Larssona,Ã, Tomas Akenine-Mollerb ? a

Re: [osg-users] unresolved symbol error with release mode build?

2009-03-05 Thread Tomlinson, Gordon
Its likely to another osg/3rd party lib that is incorrectly linked or set up not to link its dependencies thus causing any thing uses it to have to link with the missing libs etc.. We use the feature 'Linker: Link Library Dependencies:NO' all the time, this can really help in not pulling wrong ver

Re: [osg-users] strange object clipping

2009-03-05 Thread Tomlinson, Gordon
Its red of course :] Ducks and runs for cover , -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Thursday, March 05, 2009 3:48 AM To: OpenSceneGraph Users Subject: Re: [osg-users] st

Re: [osg-users] photos to be displayed in sequence

2009-03-05 Thread Robert Osfield
Hi Salvatore, You may be hitting up against a range of issues, but without more info I can't say what the problem might be. What resolution of images do you have? What are their dimensions?Are they power of two? What type of texture do yo attach them to? How many images are in the sequence

Re: [osg-users] photos to be displayed in sequence

2009-03-05 Thread Art Tevs
Hi Salvatore ? take a look into this thread: Streaming of high resolution images (http://forum.openscenegraph.org/viewtopic.php?t=1630) You could find more info there. cheers, art -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8006#8006

Re: [osg-users] Float textures seem to be clamped in GLSL

2009-03-05 Thread J.P. Delport
Hi, Thrall, Bryan wrote: Brian R Hill wrote on Wednesday, March 04, 2009 5:41 PM: // disable clamping osg::ClampColor* clamp = new osg::ClampColor(); clamp->setClampVertexColor(GL_FALSE); clamp->setClampFragmentColor(GL_FALSE); clamp->setClampReadColor(GL_FALSE); scene->getOrCreateStateSet()->

[osg-users] photos to be displayed in sequence

2009-03-05 Thread salvatore
hello to all, I have a problem common to other users, I have a sequence of high resolution photos to be displayed in sequence (30fps), I used osgimagesequence but after a few seconds ul movie skips many frames. I thought to divide the images into pieces and associate them to a Node, but I do not

Re: [osg-users] Float textures seem to be clamped in GLSL

2009-03-05 Thread Thrall, Bryan
Brian R Hill wrote on Wednesday, March 04, 2009 5:41 PM: > // disable clamping > osg::ClampColor* clamp = new osg::ClampColor(); > clamp->setClampVertexColor(GL_FALSE); > clamp->setClampFragmentColor(GL_FALSE); > clamp->setClampReadColor(GL_FALSE); > scene->getOrCreateStateSet()->setAttribute(clamp

Re: [osg-users] osgProducer link is broken

2009-03-05 Thread Robert Osfield
HI Donn, On Thu, Mar 5, 2009 at 2:34 PM, Donn Mielcarek wrote: > The link to osgProducer on the nodekits page is not working. Looks like the osgforge.org subdomains aren't working correctly. I'll got tinker on the Dreamhost web admin pages to see if I can fix it. In the mean time you can acces

Re: [osg-users] (no subject)

2009-03-05 Thread Jesper D. Thomsen
Oh, and sorry about the "no subject". I hit the Send button to soon. Jesper D. Thomsen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] (no subject)

2009-03-05 Thread Jesper D. Thomsen
Hi all, I'm using OSG to create a single 3D viewport window in an Windows MFC application (running on XP and Vista). I'm having problems with sometimes getting defective mouse coordinates for the OSG window after I have begun using OSG in the application (The window was previously drawn by pure

Re: [osg-users] VMAP Data

2009-03-05 Thread Jason Beverage
Hi Paul, osgGIS is probably what you want to use. It reads feature data via OGR and creates nice OSG models for your feature data. I believe it could read VMAP data by changing to the URL used for the filename. I don't recall right off hand how you do that for VMAP data, but I do know that its

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

2009-03-05 Thread Jason Beverage
Hi Peter, I had the same problem with tooltips + windows forms + OSG. It only happened on certain video cards with certain drivers. I could never find a solution for it, but what I ended up doing was pausing the OSG render loop for a few seconds (long enough for someone to read the tooltip) befo

[osg-users] osgProducer link is broken

2009-03-05 Thread Donn Mielcarek
The link to osgProducer on the nodekits page is not working. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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

2009-03-05 Thread Jean-Sébastien Guay
Hi Brian, (or maybe I really am the only person out there foolish enough to try this). Well, maybe the only person foolish enough to use WPF :-) We're using Qt in conjunction with OSG, and the Qt menus and dialogs draw correctly over our OSG QWidget. We even have a button overlapping the OS

[osg-users] VMAP Data

2009-03-05 Thread paul1492
Is there a way to read in VMAP (Vector Smart Map) data into OSG?  I'm interested in reading in Level 0 for now. Do I need GDAL, and/or VPB? Thanks, Paul P. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensceneg

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 th

Re: [osg-users] Blueberry3D high detail terrain solution for OpenSceneGraph

2009-03-05 Thread Enrico Raue
Hello Robert, The OSG nodekit delivered with the SDK, existing today, is supporting version 1.0, 1.2 and 2.0. But actually with the API, also delivered with SDK, you would be able to modify the nodekit and adapt it to any versions. On link below you can find a fresh video: [url] http://www.bion

[osg-users] ffmpeg plugin streaming video proof of concept

2009-03-05 Thread Robert Osfield
Hi All, We now have the beginnings of the ffmpeg checked into svn/trunk, and my hope is that this might one day get capable enough to replace the existing xine-lib plugin and quicktime plugins as the source of video support. Just having one video backend would help with maintenance as well enabli

Re: [osg-users] [osgPlugins] Plugin for COLLADA 1.5

2009-03-05 Thread Gustavo Puche
Roland Smeenk wrote: > Gus, > > I quickly glanced over the 1.5 spec to see what the kinematics is all about. > Seems interesting, but there's probably a lot of functionality missing in osg > to handle this data. Just like osg does not support physics out of the box. > > It could be a very usefu

Re: [osg-users] [osgPlugins] Plugin for COLLADA 1.5

2009-03-05 Thread Roland Smeenk
Gus, I quickly glanced over the 1.5 spec to see what the kinematics is all about. Seems interesting, but there's probably a lot of functionality missing in osg to handle this data. Just like osg does not support physics out of the box. It could be a very useful addition, but then you would also

[osg-users] Job opening

2009-03-05 Thread Gianluca Sforna
We have an OSG related job opening at Molecular Discovery. Please check: http://www.openscenegraph.org/projects/osg/wiki/Community/JobOffers#a3DGraphicsDeveloper for more datils. Best Regards Gianluca Sforna ___ osg-users mailing list osg-users@lists

Re: [osg-users] Retrieve a vertexs list of a Node

2009-03-05 Thread Diallo
Tanks for the answer. I have understood what i have to do. I think i will go with the Visitor Pattern since i do not really understand the how to use Functors (can't find tutorial). If u can point me to a good one (it would be great) I am still wondering if i can supose that every every vertices

Re: [osg-users] how can i get these files?

2009-03-05 Thread Vincent Bourdier
Hi, When you compile, your compiler will generate theses files ... If you use Cmake, you would not have this kind of problem... Tell us more about how you did that, what you use... (Notice that the "d" in the lib name is for debug version) Vincent. 2009/3/5 glgosg > when i compile the source

[osg-users] how can i get these files?

2009-03-05 Thread glgosg
when i compile the source code,the compiler tell me:can not find these files: osgDB.lib osgDBd.lib osgGA.lib osgGAd.lib osgDBd.lib osgText.lib osgTextd.lib can you send me these files' copies? thank you! ___ osg-users mailing l

Re: [osg-users] [osgPlugins] osgExp for 3ds Max 2008

2009-03-05 Thread marwa3dz
hey, thanks man! :D i hope it'll work well -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7984#7984 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listin

Re: [osg-users] [osgPlugins] Plugin for COLLADA 1.5

2009-03-05 Thread Gustavo Puche
Hi Roland, We need the kinematic info of the .dae file. I have opened a model with kinematics and i have seen it disassembled. The model attached is an example of this. This model is well displayed with the collada viewer and with Blender. :D If you will work on it we would like to know it...

Re: [osg-users] Blueberry3D high detail terrain solution for OpenSceneGraph

2009-03-05 Thread Robert Osfield
Hi Enrico, Wow, thanks for the note. I was completely unaware that Blueberry3D now supported OSG. Checking up the bionatics website I see a press release announcing OSG support back in July 2007.. so it seems I'm rather behind the times! Which version of the OSG does Blueberry3D currently suppo

Re: [osg-users] [osgPlugins] osgExp for 3ds Max 2008

2009-03-05 Thread Vincent Bourdier
Hi, "Version 0.9.5 is the latest stable release with support for Max 2008/2009." see this at : http://sourceforge.net/project/platformdownload.php?group_id=148454 osgExp page : http://osgmaxexp.wiki.sourceforge.net/ Vincent. 2009/3/5 marwa3dz > Is there an osgExp plugin for 3ds Max 2008? [Ro

[osg-users] [osgPlugins] osgExp for 3ds Max 2008

2009-03-05 Thread marwa3dz
Is there an osgExp plugin for 3ds Max 2008? [Rolling Eyes] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7980#7980 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscen

Re: [osg-users] strange object clipping

2009-03-05 Thread Robert Osfield
HI Ben, On Thu, Mar 5, 2009 at 2:01 AM, Ben Axelrod wrote: > Well, i tried it in osgviewer and there was no clipping.  any ideas as to > what might cause this in my app? If osgviewer works on the data, so it's only the viewer that is different then it points to your viewer setup as being the pr

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

2009-03-05 Thread Brede Johansen
Hi Brian, What you describe sounds like the WPF airspace limitation described here http://msdn.microsoft.com/en-us/library/aa970688.aspx. The short version is that each pixel can only belong to one render technology (WPF, DirectX, Win32 OpenGL). A workaround is to render your OSG scene off screen