Re: [osg-users] re-initialize OpenGL objects after window

2009-10-26 Thread Robert Osfield
Hi Terry, I'm not clear on the sequence of events in your app, but it does look like you are probably doing a couple of things that shouldn't be required. First up, it is possible to release all the GL objects in the scenegraph, flush the deleted GL objects, delete a graphics context, and then

Re: [osg-users] Double transparency :O

2009-10-26 Thread Robert Osfield
Hi Rene, To do transparency work you'll need to enable OpenGL blending via: stateset-setMode(GL_BLEND, osg::StateAttribute::ON); And is typically best also tell the OSG to depth sort the geometry too by placing it in the transparent bin:

Re: [osg-users] Question about possible changes between 2.6 and 2.8.2

2009-10-26 Thread Robert Osfield
Hi Peter, For most users moving from 2.6 to 2.8.2 should simply be a case of rebuilding the OSG and your app, typically no code or link changes should be required. It looks to me link your app isn't linking to the core OSG library for some reason, so go check what you app is linking against and

[osg-users] Vacancy in Fort Worth, Texas.

2009-10-26 Thread Robert Osfield
Hi All, A recruiter from Comforce Information Technologies, Inc. has asked me if I could pass on details of full time vacancy at Comforce. Details are: * Url: http://www.comforce.com * Contact: Martha Couch mco...@comforce.com * Duration: Full-time * First posted: 26th October

Re: [osg-users] Double transparency :O

2009-10-26 Thread Rene Bokhorst
Hi, I have done that :) it's in the code above, it still doesn't work. Thank you! Cheers, Rene -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18692#18692 ___ osg-users mailing list

Re: [osg-users] Double transparency :O

2009-10-26 Thread J.P. Delport
Hi, instead of attaching a material, just check what colours the createTexturedQuadGeometry assigns to the quad. I think if you modify the alpha there it should work. OSG by default uses GL_MODULATE to get the final colour from the quad colours and the texture colours. Make sure blending is

Re: [osg-users] how restart AnimationPathHandler at start position

2009-10-26 Thread Felix Ilbring
Thanks Rafa, that sounds like it would solve the problem. real big thanks for the fast reply Felix -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18694#18694 ___ osg-users mailing list

[osg-users] Rotating models with respect to CoordinateSystemNode / EllipsoidModel

2009-10-26 Thread Michael Weber
Hi, I have a moving model located in a CoordinateSystemNode with a default EllipsoidModel. The goal is that the model is rotated into the direction which it is moving. My current code looks like this: Code: osg::Matrixd ModelPositionCallback::calculatePositionMatrix( const

[osg-users] osgAnimation::ReaderWriter Bug on Linux ?

2009-10-26 Thread pp
We noticed a Bug in osgAnimation of the stable osg release 2.8.2, and only on Linux ( Ubuntu 9.04 ), which does not occur on Windows with Visual Studio 2005. When writing out an osgAnimation programm to a osg file, the process stops before writing keyframe data: Node { nodeMask 0x

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
Hi, yes cmake build the makefile and with mingw-make.exe i build up the *.dll's, but now i search the dae plugin for the COLLADA files. The makefile build the dll's but where i can find the plugin or more specifically how is the name for that plugin? Thank you! Cheers, Mike

Re: [osg-users] osgAnimation::ReaderWriter Bug on Linux ?

2009-10-26 Thread Cedric Pinson
Hi pp, Did you notice the same behavior with the current svn version ? There are a lot of fixed bug since the 2.8.xx about osgAnimation Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Mon, 2009-10-26 at 11:08 +0100,

Re: [osg-users] Cleaning out Community/JobOffers -- osg

2009-10-26 Thread David Callu
Hi Roland BTW, I see my job request is still on JobRequests wiki pagehttp://www.openscenegraph.org/projects/osg/wiki/Community/JobRequests I create an account on the trac and login to remove it, but I haven't WIKI_MODIFY permission (don't know why). Can you remove my job request please ? Or

Re: [osg-users] Cleaning out Community/JobOffers -- osg

2009-10-26 Thread Roland Smeenk
Please, contact Jose Luis Hidalgo to let him update your Wiki permissions. -- Roland -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18701#18701 ___ osg-users mailing list

[osg-users] Video as background

2009-10-26 Thread Nectarios Pelekanos
Hi, I am very new with osg and I am trying to develop an AR application, is there any example for using Video at the bckground of the scene? Any other help is also welcome Thank you! Cheers, Nectarios -- Read this topic online here:

Re: [osg-users] Cleaning out Community/JobOffers -- osg

2009-10-26 Thread David Callu
ok Thanks Roland David 2009/10/26 Roland Smeenk roland.sme...@tno.nl Please, contact Jose Luis Hidalgo to let him update your Wiki permissions. -- Roland -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18701#18701

Re: [osg-users] Improving multisampled FBO

2009-10-26 Thread Wojciech Lewandowski
Hi Paul, I hope Robert also reads this ;-) I compiled your code. Everything seems fine. I agree that setImplicitBuffers() or even setImplicitBufferAttachments() would be more self explanatory. I would also like to have one more (global) level of control where I would be able to set defaults

Re: [osg-users] runtime bug when loading obj model in OpenSceneGraph 2.8.2

2009-10-26 Thread Ulrich Hertlein
Hi Dat, On 23/10/09 5:26 PM, tien dat wrote: Dear Ulrich, Could you tell me more about how to specify that option? Can I specify it while using osgviewer.exe or I have to rebuild osgviewer.exe with the option? Unfortunately you can't (at the moment) set this option externally or internally,

Re: [osg-users] osgAnimation::ReaderWriter Bug on Linux ?

2009-10-26 Thread pp
Cedric Pinson wrote: Hi pp, Did you notice the same behavior with the current svn version ? There are a lot of fixed bug since the 2.8.xx about osgAnimation Cheers, Cedric Hi, the current hg version does not have this bug. Problem is that we are supposed to use the stable releases only.

Re: [osg-users] osgAnimation::ReaderWriter Bug on Linux ?

2009-10-26 Thread Cedric Pinson
Hi pp, If you have a fix maybe it could have its place in a new release of the 2.8.x branch. I read Paul would like to make a new release. Cheers, Cedric -- +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Mon, 2009-10-26 at 13:48 +0100,

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Ümit Uzun
Hi Mike, You need to open up cmake again and assign collada dependency columns to collada 3rdParty folder which is in your system, And after generated solution again you need to build up osg dae plugin. I mean you simply build fully OSG again. That's all I think. Regards. Ümit Uzun 2009/10/26

Re: [osg-users] Video as background

2009-10-26 Thread Ümit Uzun
Hi Nectarious; There isn't video example or application in osg release except osgmovie as I know. But if you want to use Augmented Reality with osg I strongly advice you to look at osgART(http://www.artoolworks.com/community/osgart/) This is what look for. Regards. Ümit Uzun 2009/10/26

Re: [osg-users] Improving multisampled FBO

2009-10-26 Thread Robert Osfield
Hi Wojtek and Paul. On Mon, Oct 26, 2009 at 12:06 PM, Wojciech Lewandowski lewandow...@ai.com.pl wrote: I hope Robert also reads this ;-) Sorry missed it completely :-) I will prepare and submit a code with these modifications if you accept general direction. I believe you guessed correctly

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
Hi, if the new build was OK, how i can find the dae plugin? Is the osgdb_dae the name of the dae plugin? Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18710#18710 ___

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
mikefried wrote: Hi, if the new build was OK, where can i find the dae plugin? Is the osgdb_dae the name of the dae plugin? Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18711#18711

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Ümit Uzun
Yes, osgdb_dae plugin for collada :D Ümit Uzun 2009/10/26 Mike Fried mike.fr...@gmx.de mikefried wrote: Hi, if the new build was OK, where can i find the dae plugin? Is the osgdb_dae the name of the dae plugin? Thank you! Cheers, Mike -- Read this

Re: [osg-users] Vacancy in Fort Worth, Texas.

2009-10-26 Thread Chris 'Xenon' Hanson
I'm reasonably sure this is for New York Air Brake, who I have been working with all summer. They are a decent outfit to work for. Their project is a 3D train driving simulator. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now

[osg-users] Side-effect with two cameras sharing Viewports

2009-10-26 Thread Himar Carmona
Hi, i noticed a strange (buggy?) behavior with two cameras sharing the same Viewport instance with version 2.9.5 (Windows XP). Situation: Main camera, adding a slave camera (with addSlave) and setting the slave camera's viewport with this line of code: slaveCamera-setViewport(

Re: [osg-users] Improving multisampled FBO

2009-10-26 Thread Paul Martz
Wojciech Lewandowski wrote: I will prepare and submit a code with these modifications if you accept general direction. Sounds good to me, please go ahead and make these changes (including the entry point name change). And thanks for the help with this. -Paul

Re: [osg-users] how restart AnimationPathHandler at start position

2009-10-26 Thread Felix Ilbring
Hi Again, somehow it is still not working. The setStartTick method has no effect at all. i tried to set the startTick in _view, _timer and both, nothing worked. As i want to start the animation from the beginning, each time i press the play button, i do the folowing: Code: bool

Re: [osg-users] Video as background

2009-10-26 Thread Himar Carmona
Hi, if your system is Vista, run it as Administrator, perhaps you don't have permissions to write to Program Files. Try copy it manually there if you can. Also be sure no app is using the dll. 2009/10/26 Nectarios Pelekanos nectarios.peleka...@armes-tech.com: Thanks, I have tried to

Re: [osg-users] Side-effect with two cameras sharing Viewports

2009-10-26 Thread Robert Osfield
Hi Himar, The assumption that I made with osg::Camera is that each camera would have it's own Viewport, sharing a Viewport between Camera's is not something I've considered so code like the GraphicsContext code for passing up updates to resizing of the window will probably be resizing the

Re: [osg-users] runtime bug when loading obj model in OpenSceneGraph 2.8.2

2009-10-26 Thread Nguyen Tien Dat
Dear Ulrich, Sorry for my stupidity, but I don't know anything about modifying models. The model is actually created in VRML, and I use 3DS Max to export it to obj format. So if you can, please tell me a bit more about how to optimize the model: - How can you remove duplicate materials (if you can

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
Hi, Why i see my email adress??? Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18720#18720 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Jean-Sébastien Guay
Hi Mike, In my attachment is a screenshot from the build error (the build with dae) but the osgdb_dae was build ??? can i use this plugin now even though the build error?? It seems you're building the wrappers. If you don't need them, don't build them (disable BUILD_OSG_WRAPPERS in CMake

Re: [osg-users] dynamically adding a view

2009-10-26 Thread John Morris
Hi, The stopThreading and startThreading methods were exactly what I needed. My code is working great now. Thank you! John -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18724#18724 ___ osg-users

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
Skylark wrote: Hi Mike, In my attachment is a screenshot from the build error (the build with dae) but the osgdb_dae was build ??? can i use this plugin now even though the build error?? It seems you're building the wrappers. If you don't need them, don't build them (disable

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Jean-Sébastien Guay
Hi Mike, if i take the cmd in WinXP and i test c:/.../osgviewer.exe test1.dae (enter) the viewer can't find a jpg plugin where i can find jpg dll's for a new OSG Build Please search for answers to questions like that, it's basic info you need to be able to build OSG from

Re: [osg-users] Double transparency :O

2009-10-26 Thread Rene Bokhorst
Hi, This has worked perfectly. Thank you very much! Thank you! Cheers, Rene -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18727#18727 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] How i build the osg dll on WINXP

2009-10-26 Thread Mike Fried
Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18728#18728 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Improving multisampled FBO

2009-10-26 Thread Wojciech Lewandowski
Hi Paul, Thanks. I am almost done with modifications for DisplaySettings. I have to test it and will submit the code tomorrow. But I have one question regarding your changes in RenderStage.cpp. I have understood that RenderMask defines implicit attachments for main FBO and ResolveMask defines

[osg-users] Mac OS X mouse handling Warp pointer.

2009-10-26 Thread David Guthrie
Hi, I'm having an issue which with warping the mouse pointer on Mac OS X that is generally expected, but behaves differently than on other platforms. That is, when you warp the mouse pointer using either of the warp functions (GraphicsWindowCarbon uses CGDisplayMoveCursorToPoint), all input is

Re: [osg-users] Call for Increased Participation

2009-10-26 Thread Montgomery, John T.
Hello All, I too would be happy to help at the spelling bee level. It would be a good way to learn. Robert knows how much I don't know ;-) :-) John Montgomery Medi-CAL Unit, CLSM, Polwarth Bldg., Forresterhill, Aberdeen AB25 2ZD. Mob: 07592453757 Web: http://www.abdn.ac.uk/JMVP/ |

Re: [osg-users] Call for Increased Participation

2009-10-26 Thread Chris 'Xenon' Hanson
Montgomery, John T. wrote: Hello All, I too would be happy to help at the spelling bee level. It would be a good way to learn. That'd be great. I know several of us others can participate -- would you be willing to organize it? Basically, make a wiki page listing all of the source/header

Re: [osg-users] layering of text and geometry in a 2.5D setup

2009-10-26 Thread stefan nortd
Thanks Paul, Jeremy, So after some contemplation I am pretty sure I want to use the painter's layering. The reason is that if for example I want to rotate a panel in front of another one I don't want it to intersect with panals behind it. I could use orthographic projection and dynamically

Re: [osg-users] Call for Increased Participation

2009-10-26 Thread Montgomery, John T.
Hi Chris, Yes, I'll give it a go. I'll start by reading up on wiki formatting whilst we wait for Robert's thoughts. Do you have a suggestion which page the Spellcheck Listing should be linked from? :-) John Montgomery, Glassel, Scotland. -Original Message- From:

Re: [osg-users] Call for Increased Participation

2009-10-26 Thread Chris 'Xenon' Hanson
Montgomery, John T. wrote: Yes, I'll give it a go. I'll start by reading up on wiki formatting whilst we wait for Robert's thoughts. Do you have a suggestion which page the Spellcheck Listing should be linked from? There already is one, from the last time I orchestrated one of these:

Re: [osg-users] Call for Increased Participation

2009-10-26 Thread Montgomery, John T.
That's fine, thanks. :-) John Montgomery, Glassel, Scotland. -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Chris 'Xenon' Hanson Sent: 26 October 2009 18:49 To: OpenSceneGraph Users Subject: Re:

Re: [osg-users] layering of text and geometry in a 2.5D setup

2009-10-26 Thread Paul Martz
Are you setting this StateSet on the parent Group or Geode above all your Text? If so, it should work. If it's not working, then this should be investigated and resolved. I'd advise creating a very simple scene graph that appears to reproduce the behavior, and stepping through the CullVisitor

[osg-users] Help with Run-Time error using osgdem

2009-10-26 Thread Jacob Armstrong
All, I'm currently receiving a Windows Run-Time Error when running osgdem.exe in an attempt to build a pretty large database (approx. 132GB or so). I have a process that generates 1879 bitmaps of various resolutions (up to 2 meters per pixel) and stores a bunch of data for each bitmap in a

Re: [osg-users] Question about possible changes between 2.6 and 2.8.2

2009-10-26 Thread Peter Bear
robertosfield wrote: Hi Peter, For most users moving from 2.6 to 2.8.2 should simply be a case of rebuilding the OSG and your app, typically no code or link changes should be required. It looks to me link your app isn't linking to the core OSG library for some reason, so go check what you

Re: [osg-users] layering of text and geometry in a 2.5D setup

2009-10-26 Thread Paul Martz
Better idea -- Write out the subgraph that draws your text -- and also contains the override render bin bit, to a .osg file and post here or email me. I'll take a look to see if the render bin details are set correctly. -Paul Paul Martz wrote: Are you setting this StateSet on the parent

Re: [osg-users] Improving multisampled FBO

2009-10-26 Thread Paul Martz
Yes it's quite confusing. The RenderStage code was already set up as follows: If doing MSFBO (and therefore need two FBOs, one for multisampled rendering and one for final resolve), then configure fbo as the resolve FBO, and When done configuring, swap it into _resolveFbo (see line 554). But,

Re: [osg-users] osgslice Error Message

2009-10-26 Thread Vincent Gadoury
Hi, The osgslice example fails on windows vista on revision 10691. GraphicsContext::setWindowingSystemInterface is never called because the static object RegisterWindowingSystemInterfaceProxy createWindowingSystemInterfaceProxy in GraphicsWindowWin32.cpp is never instantiated. Even if not

Re: [osg-users] layering of text and geometry in a 2.5D setup

2009-10-26 Thread stefan nortd
How does this look like ... Code: PositionAttitudeTransform { UniqueID PositionAttitudeTransform_15 nodeMask 0x cullingActive TRUE StateSet { UniqueID StateSet_16 rendering_hint DEFAULT_BIN renderBinMode INHERIT GL_LIGHTING OFF

Re: [osg-users] Help with Run-Time error using osgdem

2009-10-26 Thread Robert Osfield
Hi Jake, For large databases you will have to use vpbmaster to manage a complete database build, osdem doesn't scale on it's own. Robert. On Mon, Oct 26, 2009 at 7:46 PM, Jacob Armstrong jaco...@hotmail.com wrote: All, I'm currently receiving a Windows Run-Time Error when running osgdem.exe

Re: [osg-users] layering of text and geometry in a 2.5D setup

2009-10-26 Thread Paul Martz
stefan nortd wrote: How does this look like ... I would put the StateSet with the override flag all the way at the topmost Group in your UI, above all the Text and above all the other geometry you're drawing with the text. The one drawable is the osgText. I am also :O new to writing osg

Re: [osg-users] runtime bug when loading obj model in OpenSceneGraph 2.8.2

2009-10-26 Thread Nguyen Tien Dat
Hi, So I have read about .mtl and .obj files and understood what you meant. I created a program to optimize the model (http://cs.uiowa.edu/~tinguyen/OptimizeMtlFiles.rar) But the new one that I created doesn't look the same as the old one when I don't use texture. Please click this link to