Re: [osg-users] [osgPPU] Problems with resizing
Hi Art! art wrote: I think we have to investigate the main osg code, since it seems that dynamic resizing of FBOs and its attached textures isn't well supported, but I am not sure. I'm not sure if this addresses your problem exactly (I'm not very familiar with osgPPU): If I need to adapt my viewport and to resize my RTT-textures I use something like this: Code: _cam-setCullCallback( new fboAttachmentCullCB( this ) ); void fboAttachmentCullCB::operator()(osg::Node* node, osg::NodeVisitor* nv) { osg::Camera* fboCam = dynamic_castosg::Camera*( node ); osgUtil::CullVisitor* cv = dynamic_castosgUtil::CullVisitor*(nv); if ( fboCam cv) { cv-getCurrentRenderBin()-getStage()-setFrameBufferObject(NULL); // reset frame buffer object - see RenderStage::runCameraSetUp for details, the fbo has to be created again cv-getCurrentRenderBin()-getStage()-setCameraRequiresSetUp( true ); // we have to ensure that the runCameraSetUp will be entered! } traverse(node,nv); } Best regards, Mick[/code] SVT Group -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23792#23792 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Matrix Transformation using .txt files
Hi, I am currently doing a project in OSG that requires me to perform Matrix Transformations based on real captured data, the data will be in a .txt file, but I will be able to do any necessary pre-processing. has anybody had any experience or can offer any advice into loading values into a Matrix to be used in a transform? I am currently investigating writing a program that will put the data into relevant format for the matrix and then load it into the matrix one element at a time. Thank you! Cheers, James -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23794#23794 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Matrix Transformation using .txt files
Hi, James Bradbury wrote: Hi, I am currently doing a project in OSG that requires me to perform Matrix Transformations based on real captured data, the data will be in a .txt file, but I will be able to do any necessary pre-processing. has anybody had any experience or can offer any advice into loading values into a Matrix to be used in a transform? I am currently investigating writing a program that will put the data into relevant format for the matrix and then load it into the matrix one element at a time. the OSG Matrixd has a constructor that just takes 16 values (for 4x4). You could prob use this to make a matrix and then set a transform using this. See MatrixTranform constructor or setMatrix. jp Thank you! Cheers, James -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23794#23794 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Collada 1.5 or 1.4.1 ?
Hello all, What version of collada is supported in the osg svn core? /adrian -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPPU] osgPPU cube map sample
Hi again art It seems that you maybe have a bug in the cube sample when I launch the app, the yellow color (cube nb 5) is never displayed on the central sphere. can you confirm ? Another question I did have a look at your code and I do not understant what is the cube texture unit for ? Does it contains the 6 face cube dynamic textures, but why did you code it if you do not use it ? Thank you! Cheers, Sebastien -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23797#23797 Attachments: http://forum.openscenegraph.org//files/sans_titre_158.jpg ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Collada 1.5 or 1.4.1 ?
I think the readme.txt is still valid Dom 2.2 Collada version 1.4.1 __ Gordon Tomlinson gor...@gordontomlinson.com IM: gordon3db...@3dscenegraph.com www.vis-sim.com http://www.vis-sim.com/ www.gordontomlinson.com http://www.gordontomlinson.com/ __ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Adrian Egli OpenSceneGraph (3D) Sent: Monday, February 08, 2010 7:14 AM To: OpenSceneGraph Users Subject: [osg-users] Collada 1.5 or 1.4.1 ? Hello all, What version of collada is supported in the osg svn core? /adrian -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] JavaOsg
Hi, would you please tell me where you found javaOsg? I can not find it and I am trying to work with OSG with a Java GUI interface get OSG to draw to a Java window. ... Thank you very much!! :) Cheers, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23799#23799 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] JavaOsg
Hi, would you please tell me where you found javaOsg? I can not find it and I am trying to work with OSG with a Java GUI interface get OSG to draw to a Java window. ... Thank you very much!! :) Cheers, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23800#23800 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG Viewer and JOGL
Hi Rafa. I just found this article in the OSG Forums and am very interested in osgvp. Is there a tutorial on osgvp? And if so, would you tell me where? I've downloaded the snapshot for all platforms and am compiling the projet with maven. I just need a good tutorial as to how to use this product. I really really like the fact that it can possibly load my dted and cib terrain data on the fly w/o having to pre-generate this data specifically for osg. Thanks so much Rafa. Rafa Gaitan wrote: Hi Kevin, Well osgvp is quite large currently, but you can take a look to libosgvp-viewer library and take only what you need. If you feel comfortable with maven, you can try to compile it and use only libosgvp-viewer and libosgvp-core library. Currently trunk compiles against osg 2.8.2, but you can use a trick to compile it against osg trunk just setting the OSG_DIR env var pointing to the osg compiled sdk. This two libraries allow to create the context using jogl with the first method that Robert commented. You can take libosgvp-viewer and use it and even with a few mods I think you can use without all the libosgvp-core wrappers. The JNI code is inside osgvp/libosgvp/libjni-osgvp/, so you can take a look there and use the code you need. Good luck with your project, Rafa. On Wed, Jan 6, 2010 at 7:05 PM, Robert Osfield wrote: Hi Kevin, I know nothing about Java/JNI so can't comment on the specifics, but in general I'd suggest that you could use the osgViewer::GraphicsWindowEmbedded functionality that enables the standard osgViewer::Viewer/CompositeViewer to handle a single window without doing any of its own windows/wgl/glx calls - leaving these entirely up to the calling application. For examples of this in action have a look at the osgviewerSDL and osgviewerGLUT examples that come as part of the OSG's example set. Such a embedded window is fine for most apps that just require a single window and single threading of the viewer, but isn't a scalable as the native OSG windowing implementations. Another route might be to try and get the underlying window handle of a window created by java and then pass this to osgViewer::GraphicsWindowWin32/X11 using it's support for inheriting windows and adding it's own graphics context. This approach is the most flexible w.r.t the OSG as it enables the OSG to handle threading and multiple graphics contexts directly. Robert. On Wed, Jan 6, 2010 at 5:05 PM, Kevin Tacke wrote: We currently have an application that is built around the OSG Viewer using a glut window. We are interesting in adding a considerable GUI interface to the application and we would prefer to use JAVA to implement the GUI. So basically I am trying to find a way, probably using JOGL, to create the GUI and graphics window on the JAVA side and perform all of the drawing on the C++/OSG side. I think I should be able to create a glContext on the JAVA size, with JOGL, and when making a call to C++ with JNI have access to the same context as long as it is done within the same thread. Unfortunately, I have not figured out how to assign the JAVA created glContex, retrieved with a call to wglGetCurrentContext, to the OSG Viewer/Camera. I know that osgvp has created a JAVA/JOGL/JNI interface to OSG but it looks like a lot of effort went into creating the JNI interface and making calls into OSG. I would really like to reduce the JNI to little more than init, display, keyboard, and mouse functions. Any help is appreciated. Thanks, Kevin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22166#22166 ___ osg-users mailing list http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23801#23801 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Make money with OSG
Hi all ! In my job we are using OSG in a project. When we finish it we can sell the software that we developed ? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG Virtual Planets, the core of gvSIG3D.
Hi, Rafa. Would you please tell me how to compile this on Ubuntu Linux 9.0.4? the g++ compiler is g++ 4.3.3 and I keep getting errors with maven complaining about not finding g++ 3.3 ... Thank you! Cheers, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23803#23803 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Make money with OSG
HI Carlos, On Mon, Feb 8, 2010 at 5:09 PM, Carlos Sanches ces...@gmail.com wrote: In my job we are using OSG in a project. When we finish it we can sell the software that we developed ? Yes, this is exactly what the majority of OSG users do ;-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] dynamic_cast of referenced objects
Hi, Thank you both for all of your help! Cheers, Kevin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23805#23805 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Make money with OSG
We did a weather forecast software for TV broadcast . The best 3D weather forescast software in the world with 3d rain and clouds with easy interface that anyone can create a new sequence based in a Qt interface :D On Mon, Feb 8, 2010 at 3:21 PM, Robert Osfield robert.osfi...@gmail.comwrote: HI Carlos, On Mon, Feb 8, 2010 at 5:09 PM, Carlos Sanches ces...@gmail.com wrote: In my job we are using OSG in a project. When we finish it we can sell the software that we developed ? Yes, this is exactly what the majority of OSG users do ;-) Robert. ___ 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] OSG Virtual Planets, the core of gvSIG3D.
Hi Allen, mmh I think we internally have a check (inside cmake configuratio) about ATI cards. Some time ago we had lots of problems mixing Java and OSG with ATI drivers on linux so we added that check to compile against g++-3.3. I think that could be removed. If you don't mind, could you check this CMakeLists.txt file and replace yours to test if works fine? download this file: http://subversion.gvsig.org/osgvp/trunk/libosgvp/libjni-osgvp/CMakeLists.txt and replace it in path-to-osgvp/libosgvp/libjni-osgvp/ Once you replaced the file, do a mvn clean and then mvn install again. Thanks for testing. Rafa. On Mon, Feb 8, 2010 at 6:10 PM, Allen Saucier allen.sauc...@itt.com wrote: Hi, Rafa. Would you please tell me how to compile this on Ubuntu Linux 9.0.4? the g++ compiler is g++ 4.3.3 and I keep getting errors with maven complaining about not finding g++ 3.3 ... Thank you! Cheers, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23803#23803 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Make money with OSG
congrats any url to see your work? -Nick On Mon, Feb 8, 2010 at 7:48 PM, Carlos Sanches ces...@gmail.com wrote: We did a weather forecast software for TV broadcast . The best 3D weather forescast software in the world with 3d rain and clouds with easy interface that anyone can create a new sequence based in a Qt interface :D On Mon, Feb 8, 2010 at 3:21 PM, Robert Osfield robert.osfi...@gmail.comwrote: HI Carlos, On Mon, Feb 8, 2010 at 5:09 PM, Carlos Sanches ces...@gmail.com wrote: In my job we are using OSG in a project. When we finish it we can sell the software that we developed ? Yes, this is exactly what the majority of OSG users do ;-) Robert. ___ 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 mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] OSG Virtual Planets, the core of gvSIG3D.
Hi Rafa, thank you for the help. I really appreciate this. I've replaced my file and I am going to use the command line command below: mvn install -Dmaven.test.skip=true -DuseBuildMan I'll let you know how it goes... :) Best regards, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23810#23810 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] OSG Virtual Planets, the core of gvSIG3D.
Hello Rafa, we may need to move this discussion to another thread and if you would like to that would be fine with me. Here is my output: I have attached it in a separate file. I still have an error but I do not understand what the error is. Best regards, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23811#23811 Attachments: http://forum.openscenegraph.org//files/mavenoutput_859.txt ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] OSG Virtual Planets, the core of gvSIG3D.
Hello Rafa, And here is my output w/ the original CMakeLists.txt with the following command line: mvn install -Dmaven.test.skip=true -DcompileTarget=ati -DuseBuildMan Best regards, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23812#23812 Attachments: http://forum.openscenegraph.org//files/mavenoutput2_595.txt ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Questions about physic engines.
Thanks. Just one question, OSG renders at the maximun amount of FPS it can, but ODE requires a fixed time step. How do you solve this problem? Thanks a lot. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23813#23813 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] dynamic_cast of referenced objects
HomerSimpson wrote: My project is throwing an occasional unhandled win32 exception error and I've been trying to figure out why. One thing you should check is if you have any raw C++ pointers pointing to objects that are also pointed to by ref_ptr's. Accessing the object through the raw pointer after that the ref_ptr's have gone out of scope is illegal since the object is automaticly destroyed when the last ref_ptr goes out of scope. Notice that since OSG uses ref_ptr's in most places any object that you add to a scenegraph will most likely be referenced by a ref_ptr. You should therefore try to avoid using raw pointers to such objects. It's safer to use ref_ptr's. Example: the following will fail Code: osg::Node* myTransform = new osg::MatrixTransform(); { osg::ref_ptr osg::Group myGroup = new osg::Group(); myGroup-addChild(myTransform); } myTransform-someMethod(); // Wrong. Object has been deleted. In the example above replace the first line with: Code: osg::ref_ptr osg::Node myTransform = new osg::MatrixTransform(); and use myTransform.get() inside the addChild call. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23809#23809 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Questions about physic engines.
Hi, I know Paul did some work to use bullet physic engine with osg. A search of osgBullet should point to his work. Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Mon, 2010-02-08 at 19:23 +, Ricardo Ruiz wrote: Thanks. Just one question, OSG renders at the maximun amount of FPS it can, but ODE requires a fixed time step. How do you solve this problem? Thanks a lot. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23813#23813 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org signature.asc Description: This is a digitally signed message part ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] My OSG project
We don´t have a web site yet but somebody put some videos in youtube. http://www.youtube.com/watch?v=hpa1J2Gg2bofeature=related The virtual set is an other software . The OSG was used in all the map graphics ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Questions about physic engines.
Ricardo Ruiz wrote: Thanks. Just one question, OSG renders at the maximun amount of FPS it can, but ODE requires a fixed time step. How do you solve this problem? Thanks a lot. Is there a reason you're not synced to vertical swap? If you were to enable that, then OSG would render at the refresh rate of the monitor (unless you have a huge rendering load). Assuming you use the monitor refresh rate as the ODE simulation interval, then the two sample rates would match. End of problem. I'm not sure my Bullet work will help here, as Bullet doesn't require a fixed time interval. You just pass an arbitrary elapsed time interval to stepSimulation and Bullet produces sim results accordingly. osgBullet (at http://osgbullet.googlecode.com) includes a mechanism to share transform data between separate rendering and physics threads, allowing both to run at whichever rate they choose (not to mention take advantage of multicore systems). So if you can't find any way for ODE and OSG to use the same sample rate, then a mechanism like this might help. I seem to recall someone making some changes to osgViewer a while back to control the frame rate. I didn't really follow that change or discussion. Maybe just looking at the source code would be revealing. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
looks cool ! -Nick On Mon, Feb 8, 2010 at 10:30 PM, Carlos Sanches ces...@gmail.com wrote: We don´t have a web site yet but somebody put some videos in youtube. http://www.youtube.com/watch?v=hpa1J2Gg2bofeature=related The virtual set is an other software . The OSG was used in all the map graphics ___ 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] My OSG project
Thanks :D This link you can see the 3D rain. http://www.youtube.com/watch?v=WGnjboNqpjM ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
cool ! 2010/2/9 Carlos Sanches ces...@gmail.com Thanks :D This link you can see the 3D rain. http://www.youtube.com/watch?v=WGnjboNqpjM ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
have a look at this one http://www.baronservices.com/ http://www.baronservices.com/I used to work on it for a while -Nick On Mon, Feb 8, 2010 at 10:55 PM, Carlos Sanches ces...@gmail.com wrote: Thanks :D This link you can see the 3D rain. http://www.youtube.com/watch?v=WGnjboNqpjM ___ 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] Displaying elevation values while navigatingterrain elevation files
Phanindra, Look at the osghud example. It will show you how to set up a 2D camera with a view that you can use as an overlay on top of your 3D scene. You can use osgText to print out the values on screen... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Phanindra Talabathula Sent: Saturday, February 06, 2010 11:33 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Displaying elevation values while navigatingterrain elevation files Hi Chris, Is it also possible to display latitude, longitude along with elevation values as the user tries to navigate/fly thro' the terrain elevation file in osgviewer? Regards, Phanindra -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23780#23780 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org smime.p7s Description: S/MIME cryptographic signature ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
cool -Original Message- From: osg-users-boun...@lists.openscenegraph.org on behalf of Carlos Sanches Sent: Mon 2/8/2010 3:30 PM To: OpenSceneGraph Users Subject: [osg-users] My OSG project We don´t have a web site yet but somebody put some videos in youtube. http://www.youtube.com/watch?v=hpa1J2Gg2bofeature=related The virtual set is an other software . The OSG was used in all the map graphics winmail.dat___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
really cool !! One of the my problems is where to find the relief data . the texture and elevation data . Where did you get it ?? ...and How did you do the realief in a globe ? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] My OSG project
signed NDA. can not disclose ... search thru the archives -Nick On Mon, Feb 8, 2010 at 11:47 PM, Carlos Sanches ces...@gmail.com wrote: really cool !! One of the my problems is where to find the relief data . the texture and elevation data . Where did you get it ?? ...and How did you do the realief in a globe ? ___ 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] Example of geographical position
Tony, In answer to your question, you want to do the former. Assuming you have a geocentric database, you must convert your lat,lon,elev to a geocentric X,Y,Z (i.e. origin is the center of the earth) and then use these coordinates to set the position accordingly... Osg::Matrix position; earth-computeLocalToWorldTransformFromLatLongHeight(osg::DegreesToRadians(l at), Osg::DegreesToRadians(lon), elev, position); transform-setMatrix(position); transform is the node that is part of the entity class I discussed earlier. If you want your entity to move along, you'll need to update the code above in an update callback... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tony Vasile Sent: Sunday, February 07, 2010 8:01 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Example of geographical position Hi Shayne, Excuse my newbie status so how do I set up the MatrixTransform do I just use the latitude, longitude and altitude as a translation or do I just set the position of my vehicle using the latitude, longitude to set the position of the vehicle some how. smime.p7s Description: S/MIME cryptographic signature ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] node names not preserved going from flt to ive/osg
We have had the same problem, but found that inserting a comment into the OpenFlight nodes you wish to preserve does the trick. A comment becomes the description of the node and the RemoveRedundantNodesVisitor checks for an empty description before allowing a removal. Cheers, -Tony -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23828#23828 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPPU] Problems with resizing
Hey Mick, That looks useful thanks a lot! To be honest, I was a bit surprised that textures could be resized by simply calling setTextureSize(…). I was wondering why one doesn’t have to reallocate them with the new size. Anyway, thanks :) Christian. On Mon, Feb 8, 2010 at 8:48 AM, Mick Keller mick@googlemail.com wrote: Hi Art! art wrote: I think we have to investigate the main osg code, since it seems that dynamic resizing of FBOs and its attached textures isn't well supported, but I am not sure. I'm not sure if this addresses your problem exactly (I'm not very familiar with osgPPU): If I need to adapt my viewport and to resize my RTT-textures I use something like this: Code: _cam-setCullCallback( new fboAttachmentCullCB( this ) ); void fboAttachmentCullCB::operator()(osg::Node* node, osg::NodeVisitor* nv) { osg::Camera* fboCam = dynamic_castosg::Camera*( node ); osgUtil::CullVisitor* cv = dynamic_castosgUtil::CullVisitor*(nv); if ( fboCam cv) { cv-getCurrentRenderBin()-getStage()-setFrameBufferObject(NULL); // reset frame buffer object - see RenderStage::runCameraSetUp for details, the fbo has to be created again cv-getCurrentRenderBin()-getStage()-setCameraRequiresSetUp( true ); // we have to ensure that the runCameraSetUp will be entered! } traverse(node,nv); } Best regards, Mick[/code] SVT Group -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23792#23792 ___ 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] Is OSG the right choice for this type application?
Hi, I want to design a software that draws 2D (X vs Y) and maybe 3D (X,Y vs Z) plots in realtime from incoming data over network. The graphs should be superimposed on a realtime video also streamed over network in realtime. I am planning to use QT along with some open libraries to capture live video stream and decode it, then I would like to show the video and also 2D/3D graphs. I was trilled to find OSG has a QT port! I need the graphic framework to be as fast as possible because it is HD video and the data rate for 2D plots is also high! Please share your experience regarding starting a project around OSG Thank you! Cheers, dashesy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23831#23831 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] OSG Virtual Planets, the core of gvSIG3D.
Hi Allen, I think drivers issues, will not be a problem by now, those problems were a couple of years ago, so I think ATI drivers will be better now! :), so do not use -DcompileTarget=ati, I think is a deprecated option now, we need to upgrade our documentation! :). About the problem of JAVA_INCLUDE_PATH, is cmake looking for a JDK distribution. you need a JDK installed on your system in order to compile the JNI part and you also need export JAVA_HOME environment variable pointing to that jvm. (on ubuntu i think is: export JAVA_HOME=/usr/lib/jvm/your-installed-jdk) About changing this conversatin to another thread or mail, I'm ok answering any questions here. osgVP is a project that uses intensively OSG, so If It's not a problem for Robert or other users of the list/forum is ok for me! :). Rafa. On Mon, Feb 8, 2010 at 7:53 PM, Allen Saucier allen.sauc...@itt.com wrote: Hello Rafa, And here is my output w/ the original CMakeLists.txt with the following command line: mvn install -Dmaven.test.skip=true -DcompileTarget=ati -DuseBuildMan Best regards, Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23812#23812 Attachments: http://forum.openscenegraph.org//files/mavenoutput2_595.txt ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Rafael Gaitán Linares Instituto de Automática e Informática Industrial http://www.ai2.upv.es Ciudad Politécnica de la Innovación Universidad Politécnica de Valencia ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org