Re: [osg-users] FLT map fly action
probably you are missing the osgGA.lib in your project Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Sun, Jan 10, 2010 at 9:30 AM, Behlul Haznedar behlul...@hotmail.comwrote: Hi, I added these DoomLikeManipulator.h and DoomLikeManipulator.cpp into my project but when I build it gives error. Error 1 error LNK2001: unresolved external symbol __declspec(dllimport) const osgGA::DoomLikeManipulator::`vbtable'{for `osg::NodeCallback'} (__imp_??_8doomlikemanipula...@osgga @@7bnodecallb...@osg@@@) DoomLikeManipulator.obj Fly Error 6 fatal error LNK1120: 5 unresolved externals C:\Fly\Release\Fly.dll Fly Thank you! Cheers, Behlul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22336#22336 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] FLT map fly action
Hi, I solved it, the problem was about namespace in .cpp Thank you! Cheers, Behlul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22338#22338 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] VIDEO with Alpha Channel
Hi, Im using openscenegraphic with osgart 2.0. Im trying to make a video with alpha channel in order to give the concept that the video is like 3D. (Please check attached image) The problem is that my video has always a black texture behind. Can you help me please? ... Thank you! Cheers, Eduardo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22339#22339 Attachments: http://forum.openscenegraph.org//files/screen_shot_2010_01_10_at_124655_133.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] CHROMA KEY
Hi, Does openscenegraphic has some lib to work with chroma key element? Thanks ... Thank you! Cheers, Eduardo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22340#22340 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] CHROMA KEY
Hi Eduardo, looks like you are doing virtual studio :) ... I would do it in the shader. Not sure some of the video plugins supports videos with alpha Nick http://www.linkedin.com/in/tnick On Sun, Jan 10, 2010 at 2:54 PM, Eduardo Pinheiro eduardo.pinheiro.pt@ gmail.com wrote: Hi, Does openscenegraphic has some lib to work with chroma key element? Thanks ... Thank you! Cheers, Eduardo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22340#22340 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to run osgViewer in Windows Form as a control
Hi, I am developing a project on C# and add reference DLL that I coded using C++/CLI. The DLL runs correctly it opens a window and loads the models but I don't want this window to open. I want to insert this view in my C# windows form as a panel control. How can I perform this action? Thank you! Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22342#22342 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to run osgViewer in Windows Form as a control
Tufan, Read this: http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSGviewerina.NETcontrol The control variable is the C# control within which to embed the OSG viewer, typically a Panel. Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 On Sun, Jan 10, 2010 at 10:19 AM, Tufan Taş tas.tu...@gmail.com wrote: Hi, I am developing a project on C# and add reference DLL that I coded using C++/CLI. The DLL runs correctly it opens a window and loads the models but I don't want this window to open. I want to insert this view in my C# windows form as a panel control. How can I perform this action? Thank you! Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22342#22342 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to run osgViewer in Windows Form as a control
I saw that sample but how can I send my control from C# to C++/CLI Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22345#22345 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to run osgViewer in Windows Form as a control
Hi, I try that sample but I get lots of error. Error 1 error C3083: 'GraphicsWindowWin32': the symbol to the left of a '::' must be a type c:\Users\Tufan\Desktop\OpenSceneGraphLibrary\OpenSceneGraphLibrary\OpenSceneGraphLibrary.cpp 42 OpenSceneGraphLibrary Error 2 error C2039: 'WindowData' : is not a member of 'osgViewer' c:\Users\Tufan\Desktop\OpenSceneGraphLibrary\OpenSceneGraphLibrary\OpenSceneGraphLibrary.cpp 42 OpenSceneGraphLibrary Thank you! Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22346#22346 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Can't export OSG to 3DS in 2.9.6 and can't build osgIntrospection Lib
Hi you all! Since this is my first post here, let me thank Robert for the amazing work that you’ve been doing with OSG! :-) I started working with OSG only about a month ago, for a project on my master thesis, so I’m still a rookie… I wanted to build a scene graph 100% programmatically in order to use it in a CAVE Automatic Virtual Environment I’m using CAVE H Spawner, which uses GTK Radiant 1.5 (built for the quake engine), therefore I need several formats of the same content: OSG, IVE, OBJ and 3DS. After spending weeks doing it, I now need to convert my OSG to 3DS. When I started a few weeks ago, I thought the 3DS plug-in worked both ways, but it doesn’t. But know I learned that the new 2.9.6 version of OSG allows for writing 3DS from an OSG file, exactly what I need. But then, my problems started… 1. BUILDING OSG 2.9.6, using Visual Studio 2008 SP1 and CMake 2.8 I don’t know why, but CMake just doesn’t create the project file for the “osgIntrospection” library. So that lib is never created, and my program won’t even compile without it. I tried so many things and lost so many hours trying to figure it out, that I’m not going to tell you all now. I tried tricks in in CMake and Visual Studio, and I searched the Web for answers, but found none. I created a project manually but then CMake wouldn’t work because it didn’t understand INTERNAL_LINK command… neither did I… Then, I thought it might just be a bug in the newest version, and tried to build 2.8.2 in order to get the project files from it. And then came my biggest surprise! The exact same problem happened in that previous version too! So, what the hell is wrong with this make for this particular project (osgIntrospection)?? I managed to compile everything, but this library. 2. Then I used the “OSGCONV” utility, to try to convert my OSG file to 3ds, but it crashes in windows (both XP and 7)! :-( I’m using two computers, one with windows XP and another one with Windows 7 (64 bits). A friend of mine had the exact same problem. I have all the environment variables set correctly, and I’m experienced in Unix systems, so I understand the syntax perfectly and know what to do. So I don’t think the problem is mine, but… So I still have not the complete OSG version 2.9.6 compiled, and much less, I have no way of using its new functionality to convert OSG to 3DS. I’ve learned about AC3D format and 3d program, but I don’t have it, and don’t even know how to use... I know a bit of blender but it does not have an importer for OSG, only an exporter. Please let me know if you know any way around these two problems, because I need desperately to export OSG to 3DS in a few days, or else all my work has been in vain... :-( I searched a lot and tried a lot of weird things, so please don’t just make me search any more. If you know any way, programmatically to solve this using VS 2008, C++ and OSG (any version) let me know please. Thank you all in advance. Cheers, Agos -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22347#22347 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to run osgViewer in Windows Form as a control
Tufan, I would probably derive a custom C++/CLI control (from UserControl) and then reference this custom control in your C# UI. That way you have a nice .NET control wrapping the OSG viewer. Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 On Sun, Jan 10, 2010 at 12:06 PM, Tufan Taş tas.tu...@gmail.com wrote: I saw that sample but how can I send my control from C# to C++/CLI Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22345#22345 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Video as background
Hi, Does anyone now how to had a video with alpha channel? like in the picture in attachment. Thank you! Cheers, Eduardo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22349#22349 Attachments: http://forum.openscenegraph.org//files/screen_shot_2010_01_10_at_124655_171.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] split scene into separate nodes/files.
Hi, Now I know that there might be more then one MatrixTranform on the tree for each node. The problem is solved. Thank you very much for your help. Thank you! Cheers, Danny -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22350#22350 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Can't export OSG to 3DS in 2.9.6 and can't build osgIntrospection Lib
Hello Agostinho, I don’t know why, but CMake just doesn’t create the project file for the “osgIntrospection” library. So that lib is never created, and my program won’t even compile without it. If you need osgIntrospection, then you need to activate the CMake option called BUILD_OSG_WRAPPERS. Then CMake will generate the appropriate project which will be part of the OpenSceneGraph.sln solution and you'll be able to build it. If you don't activate that option, CMake will not generate the project. This is also the case for examples (BUILD_OSG_EXAMPLES) and so on. This is done because not everyone wants to build all the projects (libraries, applications, examples, introspection support, plugins, packaging, documentation, etc.). 2. Then I used the “OSGCONV” utility, to try to convert my OSG file to 3ds, but it crashes in windows (both XP and 7)! :-( 3DS write support is still fairly recent, but is being actively developed still. Sukender (who wrote it) may be able to help, but your best bet is to run osgconv (built in debug configuration) in Visual Studio with the same command line arguments and get a stack trace for where it crashes. With the call stack you may be able to see why it crashes, and if you post it here it will give us a better idea of what happens. Just saying that it crashes doesn't really help. Also providing an example file that makes it crash can really help Sukender debug it with you. Hope this helps, J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to run osgViewer in Windows Form as a control
Hi, Thanks for the advice but what about the crash? I want to load the scene in the first step and then push a button to set the manipulator. But when I push the button the program crashes. And how can I load the model on the scene without any manipulator and then add the manipulator by hitting the button? Cheers, Tufan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22353#22353 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Publicly Available TerraPage Database
I found this link in an old post: http://www.triangraphics.de/index.php?1=Downloadl=eng -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22354#22354 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Publicly Available TerraPage Database
If there is a chance then I would go for a public terrapage database that can go in bundle with osg data, also to update the TerraPage loader. I think since 2003 there has been changes that are not implemented yet Nick http://www.linkedin.com/in/tnick Sent from Izmit, 41, Turkey On Mon, Jan 11, 2010 at 8:43 AM, Martin Scheffler osgfo...@tevs.eu wrote: I found this link in an old post: http://www.triangraphics.de/index.php?1=Downloadl=eng -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22354#22354 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Video as background
Make a shader Eduardo. DIscard the chroma key fragment and you will get that result Nick http://www.linkedin.com/in/tnick Sent from Izmit, 41, Turkey On Sun, Jan 10, 2010 at 11:52 PM, Eduardo Pinheiro eduardo.pinheiro.pt@ gmail.com wrote: Hi, Does anyone now how to had a video with alpha channel? like in the picture in attachment. Thank you! Cheers, Eduardo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22349#22349 Attachments: http://forum.openscenegraph.org//files/screen_shot_2010_01_10_at_124655_171.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org