Re: [osg-users] Camera control in osgvisual
Thanks for the update Torben. I'll keep you posted on our descision and hopefully progress after that Cheers, Roy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42790#42790 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Rooi, Viijesh told me he will send me his working stage. I'm still waiting, havn't recieved any files yet. I personally haven't started with the implementation, still a lot of other things on my to-do stack. One of the osgvisual users i'm currently working with has implemented a X-Plane connection and uses it experimentally. I'm also waiting for that connection if it helps you. I would like to stay in contact if you decide to start the implementation of an OSG/CIGI implementation. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42712#42712 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh and Torben, Interesting discussion. I'm looking into possibilities to connect osg using the cigi interface myself. Could you please indicate what the status of this develpoment is and if I could contribute to this if we descide to use osgVisual for our application? Thank you! Cheers, Roy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42621#42621 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, not the slot mechanism itself push the values into the visual_objects (I think the cigi name is entity), but every visual_object has an attached updater class. This updater class is executed during the OSG update traversal, and it pulls the values it requires from the slot mechanism. I chose that pulling design to make it more flexible. In that case every object with it's updater has to manage it's data aquisition on its own (by subclassing of the updater class), the only common part every object has is that they retrieve there data from the central data management module - from the slots. In a pushing design, the central data management module would have to be aware of all used object types to be able to update it. This makes it more difficult to add additional object types. Any thoughts/ideas related to the data design? For deeper understanding of the current object design and data flow, please read this wiki pages: http://www.osgvisual.org/projects/osgvisual/wiki/visual_dataIO http://www.osgvisual.org/projects/osgvisual/wiki/visual_object Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38059#38059 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torben I'm sorry. I couldn't get your question. According to my knowledge, the cigi event processsors(classes) are event queues. so we just have to process and discard the data. I incorpaorated the example code from DumyIG example which is bundled with CIGI. Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37991#37991 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, Your guess was right, I asked if the cigi event processor can be discarded after procession or if we have to store them. So what would be the next stept I have to do to help you? Best regards, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37992#37992 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torban I implemented dataIO_extLinkCIGI::readTO_OBJvalues() with the code to receive cigi packet and decode it. So on each dataIO_eventCallback, The viewcontrol data is available as a structure. Now I need to map it to the particular slots as you did for VCL from where the camera is controlled, I guess. So I need to know how to map the structure to slots. ... Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38003#38003 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, here is some explanation how the SLOT mechanism works currently: it is a list of SLOT classes. A slot class contains the following members: * string name * double value * string sValue (string value) * enum direction: TO_OBJ | FROM_OBJ * enum type: STRING | DOUBLE If a software module wants to store some values which are directed TO the visual Objects ( e.g. object3_LAT), it searches in this list for the slot with the corresponding name, type and direction and stores the value in it. The object updater for example reads on every update in this slot list for a slot with the appropriate name and read the value to apply it to its own object. This has the the following implications: * Supposed to be very slow if lot's of variables are used: if someone searches in the list, he has to perform many string comparisons. * Only strings and doubles can be stored but no complex data structures ( e.g. cigi containers) My approach with the slots was only a first shot. I would be very glad if we could discuss this, maybe also with other users in the forum. It would be great to construct a more sophisticated and usefull architecture to manage the data of the IG. After that I would implement this solution asap, but currently I have no idea in which direction we should proceed. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38007#38007 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Most of the IG industry uses CIGI to pass data from the host to the IG (and back for end of frame and mission functions stuff). I'm sure the architecture is well defined on this. For starters, you can take a look at Boeing's Multi Purpose Viewer software which is an IG test bed for the CIGI protocol. They interface it to a generic host. The Multi Purpose Viewer uses OSG on the backend for rendering. This might give you some ideas on what you can do to add CIGI into your IG stuff... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Tuesday, March 29, 2011 6:45 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi Vijeesh, here is some explanation how the SLOT mechanism works currently: it is a list of SLOT classes. A slot class contains the following members: * string name * double value * string sValue (string value) * enum direction: TO_OBJ | FROM_OBJ * enum type: STRING | DOUBLE If a software module wants to store some values which are directed TO the visual Objects ( e.g. object3_LAT), it searches in this list for the slot with the corresponding name, type and direction and stores the value in it. The object updater for example reads on every update in this slot list for a slot with the appropriate name and read the value to apply it to its own object. This has the the following implications: * Supposed to be very slow if lot's of variables are used: if someone searches in the list, he has to perform many string comparisons. * Only strings and doubles can be stored but no complex data structures ( e.g. cigi containers) My approach with the slots was only a first shot. I would be very glad if we could discuss this, maybe also with other users in the forum. It would be great to construct a more sophisticated and usefull architecture to manage the data of the IG. After that I would implement this solution asap, but currently I have no idea in which direction we should proceed. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38007#38007 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torben Thanks for your explanation on slots mechanism. Still I couldn't make out where the slot values are assigned to observer position and attitude. I'll look in to MPV implementation and see any better implementation. ... Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38058#38058 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, sorry for my late reply, I was on a trip the last days. You explanation helped me to understand Cigi better. I have some additional questions: do we need to store the transfered SIGI contains in the IG to store the transfered value, or are the cigi classes only a incoming event queue? If the latter is true, it should be sufficient to process and discard the incoming cigi transport classes, shouldn't it? Regarding terrain modification: This modification currently works only for databases which use osgTerrain Framework. I use a VPB generated database. The modification is done at runtime. But I planned to implement a caching feature which allows to cache modified tiles. Currently I do not know if the cache will be persistent or only per run. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37933#37933 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torben I was trying to integrate CIGI to osgvisual. I could subclass extlink for cigi and data is receiving from host. Now I don't know how to connect the values to camera. I looked into VCL implementation but it just writes the data to a dataslot. But in CIGI case packet is received as a structure. So how to convert the structure to the slot. Please tell me. Once this is finished, I'll send you the full source for your review. Thanks Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37830#37830 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, these are great news! Your are right with subclassing extLink. Your are also right with your comments regarding extLinkVCL: It simple stores the values in the according dataSlots to make it available in the IG. I think my current solution of a central and IG wide list of dataslots for string or double values would not be good enough to fullfill all requirements. Can you tell me more about the CIGI structures? What does they have for content? Are these values like lat/lon, or are they also commands like add object on position etc? I think wo have to develop a more sophisticated solution for the data management inside the IG as my approach currently is. I'm happy that you decided to engange and to improve osgvisual to your needs, I'll do my best to support you. Some words to my roadmap: Since 3 days I'm working on a server upgrade which I use to host osgVisual (Maybe you noticed the slightly modified trac installation on osgvisual.org). These server maintainance is scheduled till friday. After that I will continue with my terrainModification. I made already some major progress and the technique basically works. I have to solve some bugs and have to implement a management class to allow live modification of VPB databases more convenient. I scheduled these terainModification work for additional three weeks. Parallel to that I will help you with the CIGI topic. After I have finished the terrain thing, I'll be available 100% for CIGI :) ... Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37833#37833 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torben Cigi provides classes for various interfaces such as View control, Entity Control, HAT/HOT request etc. between host and IG. From Host you will set the values for these objects, pack it and send it through UDP using usual Windows/Linux sockets. From IG, you will receive the packet, unpack it and use it. For example the Viewcontrol class provides structure for controlling the main camera and some members of this class are : Xoffset, YOffset, ZOffset, pitch, roll, yaw etc. Basically it provides standard packet format for IG to Host communication so that It is easy to connect host to various IGs, cigibaseviewctrl.h gives the implementation of ViewControl structure. It doesn't interact with the IG implantation directly, or provides network implementation. I think this information helps you to understand about cigi. And for terrainModification, I just want to know this transformation is done only while rendering (real time) or it will be stored in to the database. I'm also eagerly waiting for your release of the terrainModification. I also want to work little more on database ( to understand more on scenegraph technology). So it will be grateful if you can assign some work to me also. I'm only a beginner to OSG Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37855#37855 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Shane, Today I spent a lot of time in reading CIGI documentation and playing with the MPV and HE. Am I right that CIGI is a framework to organize and standardize date formats and query formats, but it does not provide the final network communication functions? Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36750#36750 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
CIGI is an industry standard for controlling most aspects of an Image Generator. This includes ownship and entity behaviors along with a lot of other stuff. Most commercial IG vendors support CIGI. You can learn more about the ICD by reading here... http://cigi.sourceforge.net/ -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of ted morris Sent: Saturday, February 12, 2011 9:05 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Camera control in osgvisual this indeed has caught my eye as well. But I am not familiar with the CIGI standard. Would this include the ability to manage object motions and behaviors across the cluster? (e.g., not only camera positioning). thnx, t On Fri, Feb 4, 2011 at 11:40 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: Torben, Thanks for the information. I ask this because I'm currently working on doing a CIGI tie-in to an OSG-based IG backend I've been developing. I'm not a proponent for reinventing the wheel so to speak so I'm always on the lookout for other options in this regard. osgVisual would be something I would seriously consider using if it supported CIGI. Unfortunately our hosts talk CIGI so we need this support. By way of interest, I have found another OSG-based IG solution called SubrScene that does talk CIGI but it appears to be using a pretty old version of OSG. I'm not sure it's OpenSource so updating it to the current OSG might not be an option. SubrScene is included with the distribution of OpenEaagles which is OpenSource. I will still play with osgVisual to see what it has to offer...:) Regards, -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Friday, February 04, 2011 12:06 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi S2LR, Yes, there were plans to create a CIGI implementation of extLink. Unfortunately for more than one year the project is not funded so all developments are competetive to my job. Therefore I can't spend as many hours as I would like to and CIGI support ist not on top of my todo stack.. But I would like to support any development in the direction of CIGI! It would be an improvement because currently only my proprietary extLink implementation is available. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36357#36357 ___ 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 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] Camera control in osgvisual
CIGI uses UDP so updating osgVisual to use CIGI shouldn't be an issue in terms of performance. Effectively you'd be replacing one UDP implementation with another that uses an industry wide standard for the packet description...a big plus IMO. Like I stated earlier, CIGI is used by most commercial IG vendors so performance is more than adequate. The main advantage of CIGI is that it provides a common interface for a simulation host so that you can run the same host on different IGs on the back end. We just swapped out an old IG for a newer one with minimal changes to our host software. If osgVisual supported CIGI, I can guarantee that you would open it up to a much wider audience of users...at least in the simulation industry for sure. Having an OpenSource solution here would be a benefit. Right now, the software that currently ties CIGI to OSG for multi-channel IG purposes is proprietary in nature. VT-MAK is one such company that comes to mind... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Sunday, February 13, 2011 4:48 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi Tedzini, I'm not very familiar with CIGI, but it seem to be a communication library for communication with the sim-host. I'm quite sure you can use CIGI not only for managing the camera but also for managing objects you want to display. Currently osgVisuals cluster module is used to transport objects or camera modifications from the master to all slaves, but maybe that UDP implementation could be replaced by CIGI - it mainly depends on the performance. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36587#36587 ___ 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] Camera control in osgvisual
Boeing's multipurpose viewer (MPV) was designed to simply be a test harness for the CIGI protocol. It's a far cry from it being used as a general purpose IG. I've downloaded MPV from the CIGI site and played with it. It does use old OSG stuff (osgProducer). I had to modify it to use the newer osgViewer stuff. It also does not support osgTerrain type or round earth geocentric databases last time I checked. Lastly, the largest deficit IMO, is that it doesn't support multi-channel rendering with OSG...a big drawback. It does support multi-window rendering on one machine but not true multi-channel (i.e. a channel per box). In short, it would require a great deal of modification and development to bring it up to a point that it could be used as a commercial IG. One might get closer to the goal by making osgVisual talk CIGI... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Philip Taylor Sent: Sunday, February 13, 2011 6:49 PM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Camera control in osgvisual Last time I downloaded the CIGI source code it came with an OSG application MPV aka Multi-Purpose Viewer http://cigi.sourceforge.net/ Looking at the WIKI page at the above site, it states that it requires OSG 2.4 but will work with 2.6 - that makes it quite an old implementation but MPV is only supposed to be an example, with limited functionality. It would be real cool to have an updated version ... PhilT From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of ted morris Sent: 13 February 2011 20:14 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual yes... I'll have to have a closer look at this when I have some time. Thanks for spending to the to develop an interface for this functionality; I think it will be very useful. -t On Sun, Feb 13, 2011 at 5:48 AM, Torben Dannhauer tor...@dannhauer.info wrote: Hi Tedzini, I'm not very familiar with CIGI, but it seem to be a communication library for communication with the sim-host. I'm quite sure you can use CIGI not only for managing the camera but also for managing objects you want to display. Currently osgVisuals cluster module is used to transport objects or camera modifications from the master to all slaves, but maybe that UDP implementation could be replaced by CIGI - it mainly depends on the performance. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36587#36587 ___ 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] Camera control in osgvisual
Hi Shayne, I totally agree to you, but as I said I have to take care on my regular job (medical research and doctorate student in medical science), so it will take a littel bit to accomplish it. Today eent I plan to tag osgVisual 0.6 and i hope to finish the documentation/wiki to the new features till the end of the week. The next task I have to solve is terrain modification (flattening terrain and/or curting wholes in it) to allow to insert airport models with a flat runway. After that I would like to dive into CIGI. I totally agree that currently osgVisual is only useful for very few people wich can use the proprietary VCL implementation. CIGI would be great there - expecially because VCL only supports doubles currently, so it is tricky to update object labels etc. ;) Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36652#36652 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Tedzini, I'm not very familiar with CIGI, but it seem to be a communication library for communication with the sim-host. I'm quite sure you can use CIGI not only for managing the camera but also for managing objects you want to display. Currently osgVisuals cluster module is used to transport objects or camera modifications from the master to all slaves, but maybe that UDP implementation could be replaced by CIGI - it mainly depends on the performance. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36587#36587 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
yes... I'll have to have a closer look at this when I have some time. Thanks for spending to the to develop an interface for this functionality; I think it will be very useful. -t On Sun, Feb 13, 2011 at 5:48 AM, Torben Dannhauer tor...@dannhauer.infowrote: Hi Tedzini, I'm not very familiar with CIGI, but it seem to be a communication library for communication with the sim-host. I'm quite sure you can use CIGI not only for managing the camera but also for managing objects you want to display. Currently osgVisuals cluster module is used to transport objects or camera modifications from the master to all slaves, but maybe that UDP implementation could be replaced by CIGI - it mainly depends on the performance. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36587#36587 ___ 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] Camera control in osgvisual
Last time I downloaded the CIGI source code it came with an OSG application MPV aka Multi-Purpose Viewer http://cigi.sourceforge.net/ Looking at the WIKI page at the above site, it states that it requires OSG 2.4 but will work with 2.6 - that makes it quite an old implementation but MPV is only supposed to be an example, with limited functionality. It would be real cool to have an updated version ... PhilT From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of ted morris Sent: 13 February 2011 20:14 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual yes... I'll have to have a closer look at this when I have some time. Thanks for spending to the to develop an interface for this functionality; I think it will be very useful. -t On Sun, Feb 13, 2011 at 5:48 AM, Torben Dannhauer tor...@dannhauer.info wrote: Hi Tedzini, I'm not very familiar with CIGI, but it seem to be a communication library for communication with the sim-host. I'm quite sure you can use CIGI not only for managing the camera but also for managing objects you want to display. Currently osgVisuals cluster module is used to transport objects or camera modifications from the master to all slaves, but maybe that UDP implementation could be replaced by CIGI - it mainly depends on the performance. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36587#36587 ___ 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] Camera control in osgvisual
Hi Philip, MPV ist OSG based? very interesting! That pushes CIGI a little bit closer to the top of my stack :) Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36603#36603 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
this indeed has caught my eye as well. But I am not familiar with the CIGI standard. Would this include the ability to manage object motions and behaviors across the cluster? (e.g., not only camera positioning). thnx, t On Fri, Feb 4, 2011 at 11:40 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: Torben, Thanks for the information. I ask this because I'm currently working on doing a CIGI tie-in to an OSG-based IG backend I've been developing. I'm not a proponent for reinventing the wheel so to speak so I'm always on the lookout for other options in this regard. osgVisual would be something I would seriously consider using if it supported CIGI. Unfortunately our hosts talk CIGI so we need this support. By way of interest, I have found another OSG-based IG solution called SubrScene that does talk CIGI but it appears to be using a pretty old version of OSG. I'm not sure it's OpenSource so updating it to the current OSG might not be an option. SubrScene is included with the distribution of OpenEaagles which is OpenSource. I will still play with osgVisual to see what it has to offer...:) Regards, -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Friday, February 04, 2011 12:06 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi S2LR, Yes, there were plans to create a CIGI implementation of extLink. Unfortunately for more than one year the project is not funded so all developments are competetive to my job. Therefore I can't spend as many hours as I would like to and CIGI support ist not on top of my todo stack.. But I would like to support any development in the direction of CIGI! It would be an improvement because currently only my proprietary extLink implementation is available. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36357#36357 ___ 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] Camera control in osgvisual
Torben, Thanks for the information. I ask this because I'm currently working on doing a CIGI tie-in to an OSG-based IG backend I've been developing. I'm not a proponent for reinventing the wheel so to speak so I'm always on the lookout for other options in this regard. osgVisual would be something I would seriously consider using if it supported CIGI. Unfortunately our hosts talk CIGI so we need this support. By way of interest, I have found another OSG-based IG solution called SubrScene that does talk CIGI but it appears to be using a pretty old version of OSG. I'm not sure it's OpenSource so updating it to the current OSG might not be an option. SubrScene is included with the distribution of OpenEaagles which is OpenSource. I will still play with osgVisual to see what it has to offer...:) Regards, -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Friday, February 04, 2011 12:06 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi S2LR, Yes, there were plans to create a CIGI implementation of extLink. Unfortunately for more than one year the project is not funded so all developments are competetive to my job. Therefore I can't spend as many hours as I would like to and CIGI support ist not on top of my todo stack.. But I would like to support any development in the direction of CIGI! It would be an improvement because currently only my proprietary extLink implementation is available. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36357#36357 ___ 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] Camera control in osgvisual
Hi, I want to interface with a simulation host. but before going to the interface part, I want to see the terrain. is there any API in osg through which the camera can be set. If there any, can you please tell me how to use it. I have a test program. I'll try in that. I'm just starting the osg SDK. That's why. If you can give me a sample program that'll be great. Thank you! With Regards Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36326#36326 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi, Thats quite easy: You can manipulate the camera with so called camera manipulators :) Please ask google or this forum for details One reference could be: http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials Section : control camera Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36328#36328 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
This is an interesting thread of discussion. In terms of communicating with a simulation host, are there any plans to support CIGI for communicating between the host and osgVisual? I would think that would be a good thing to support... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben Dannhauer Sent: Thursday, February 03, 2011 12:16 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Camera control in osgvisual Hi vijeesh, I personally use the animationpath ( I recorded it for 1 second while hovering on the destination location) so it immediately strts at that position and as soon as I want to use another camera manipulator, I use that. So I use th animationpath not for playing a real animation but to start at my desired location. You said you want to use a simulation host. Then you have to subclass extLink to use any network technique to transport lat, lon, alt, and rot_x, rot_y and rot_z from your simultion host to the visual system. You can look into extLinkVCL for inspiration. If you have a running simulation host which provides the correct lat/lon coordinates for your aircraft, then the visual system will immediately retrieve that values over your extLink and will position the camera accordingly. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36313#36313 ___ 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] Camera control in osgvisual
Hi S2LR, Yes, there were plans to create a CIGI implementation of extLink. Unfortunately for more than one year the project is not funded so all developments are competetive to my job. Therefore I can't spend as many hours as I would like to and CIGI support ist not on top of my todo stack.. But I would like to support any development in the direction of CIGI! It would be an improvement because currently only my proprietary extLink implementation is available. Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36357#36357 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Camera control in osgvisual
Hi, I' new to the osg. I generated a terrain using osgdem. now Iwant to render it and I should be able to fly around. I downloaded osgVisual and in configuration file a selected the terrain which i created. But while executing the camera goes to some lat/lon . How can I control the camera manually from an external application. I also doesnt understand the concept of cluster, slave, stand alone etc in the osgvisual . Can somebody help me to place the camera so that Ican view my terrain. Please help me Thank you! Thanks, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36262#36262 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Vijeesh, If you just want to view your terrain you can also use the plain osgviewer. The benefit of osgVisual is that it allows to attach visible objects to external datasources and that you can use it across multiple rendering channels. To your problem: In your start command, do you specify an xml configuration file like osgvisual -c yourconfig.xml? The SVN contains a complete xml example file. I haven't written the wiki page because I'm currently cleaning up the code, xml support is quite new. osgVisual supports the standard OSG camera manipulators like trackball, terrain, flight, nodetracker animationpath. The animationpath controls where your simulation starts. The animationpath file you can specify in the osgVisual XML configuration file. Additionally you can use osgVisual like camera manipulator: 1. You can use 3DConnexion Spacenavigator (http://www.3dconnexion.com/products/spacenavigator.html) for free 3D manipulation of camera. 2. A Spacenavigator based node tracker. 3. A cameramanipulator with a fix offset to a visual_object (A entity which contains info about position, attitude, geometry to display, label etc.) 4. A Cameramanipulator which coordinates are controlled via the extternal Link (extLink) Definition of extLink: The visual system needs a simulation host which decides how the scene should be visualized (position of objects, time, weather etc). The link from the visual system to the external simulation host is called extLink. There is an extLink baseclass you can subclass for implementing your own connection between visual system and your proprietary simulation host. I have a working extLink implementation (extLinkVCL), but it is based on proprietary software of a funding partner, so you have to implement your own extLink, for example based on boost::asio. Additionally osgVisual supports distributed rendering to allow to use large screens with more than one video projector seamless. Each video projector can be driven of a seperate rendering machine (A channel) The software module called cluster is the module which transports the rendering info to each rendering machine. The rendering machine which holds the external link to the simulation host is called master, the rendering machines which are in the cluster and are not directly connected to the simulation host but only to the cluster are slaves. The master gets the info from the extLink and passes it to its own rendering part and tells all slaves what they should render to provide a seamless scene across all channels. If you want just one channel with only one rendering machine, then you do not need the cluster functionality and you can use standalone to bypass all cluster code. I you have further questions don't hesitate to contact me. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36265#36265 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi Torben Thanks for the reply. I want to develop a flight simulation visuals. That'ts why I can't use osgviewer. I modified the xml configuration file that is included in the download so that my terrain is loaded. (section pointing to terrain filename). and I removed the animation because I want to control the camera using external application(simulation host). But how can I specify the initial position of camera, so that the terrain is visible as soon as the application is loaded. Thank you! With Regards, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36311#36311 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Camera control in osgvisual
Hi vijeesh, I personally use the animationpath ( I recorded it for 1 second while hovering on the destination location) so it immediately strts at that position and as soon as I want to use another camera manipulator, I use that. So I use th animationpath not for playing a real animation but to start at my desired location. You said you want to use a simulation host. Then you have to subclass extLink to use any network technique to transport lat, lon, alt, and rot_x, rot_y and rot_z from your simultion host to the visual system. You can look into extLinkVCL for inspiration. If you have a running simulation host which provides the correct lat/lon coordinates for your aircraft, then the visual system will immediately retrieve that values over your extLink and will position the camera accordingly. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36313#36313 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org