Re: [osg-users] [A little bit off topic] A simple graphics library
You might also find this page useful: https://www.opengl.org/wiki/Related_toolkits_and_APIs On Mon, Nov 14, 2016 at 5:55 AM, Nickolai Medvedev wrote: > Hi, Andrew. > > You can try one of this: > > GLFW > SFML > http://www.dhpoware.com/source/gl3framework.html > OGLPlus > http://openframeworks.cc > > > if you are interested in development of games: > > http://softpixelengine.sourceforge.net > https://www.game-coder.de/page/pixellight > http://www.maratis3d.org > > > Good luck! > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=69357#69357 > > > > > > ___ > 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] Fwd: Unstable passive stereo on Quadro using Quadbuffer
Hi, Voerman, Glad to hear your idea. I previously made a mistake to assume that there is an automatic frame synchronization between the video card and the monitor. Now it appears not. I think it do will work by using the monitor's SDK. Thanks for your reminder. Regards, TianZJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Timeout problems with OSX TravisCL build
This is a call for help on TravisCL/OSG side. Currently our Travis build of the OSG is failing on the OSX build with the error: "The job exceeded the maximum time limit for jobs, and has been terminated." The compile gets to 98% then fails. The latest build to fail is: https://travis-ci.org/openscenegraph/OpenSceneGraph/jobs/176070223 The Linux Travis build works fine, finishing in 22 minutes. The Linux build is able to use multiple cores, while the OSX build, from what I have picked up, has had to be limited to a single core due to limits on the Travis side w.r.t OSX. Is this fixable on our side? Not compiling the examples would probably keep things building but would limit the value of the build testing. Thoughts/Suggestions? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository
I would say it's good to have OSG related info in one place. 2016-11-15 19:25 GMT+07:00 Robert Osfield : > On 15 November 2016 at 10:37, Paul McIntosh > wrote: > > Should osgQT have it's own section in the forums? > > This is a decision for the community/forum moderators. > > I am not a forum user or moderator so don't have any direct input or > exposure to how it is used. I can see value in have a osgQt section > on the forum, but really can't say/do much beyond this. > > 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] Doxygen docs now updated automatically and and hosted by codedocs.xyz
Hi All, Today I merged a pull request from Paul Novotny that wires up the OSG's github repository to codedocs.xyz so that we have an up to date set of doxygen generated docs at all times. If you got to the OSG github repository https://github.com/openscenegraph/OpenSceneGraph and then scroll down to the README.md you'll see three bullets, the first to automated builds, the second to coverity scan and now the addition of code documentation bullet. Click on these an your browser will be taken to the appropriate place, in the case of the docs: https://codedocs.xyz/openscenegraph/OpenSceneGraph/ Thanks to Paul for setting things up. If the user community feel inspired by this to help improve the documentation then browsing this docs to look where parts could do with more documentation would give you a feel for where more could be done. Diving in and filling in the gaps or improving things would be great and very much appreciated. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
Hi TianZJ, we have a zSpace screen (closely related to your HP screen), and found that to get stereo working the screen needs a usb cable and the following calls to the zSpace SDK must be made: ZSError error; // Initialize the zSpace SDK. This MUST be called before // calling any other zSpace API. error = zsInitialize(&_zSpaceContext); if (error != ZS_ERROR_OKAY) { char errorString[256]; zsGetErrorString(error, errorString, sizeof(errorString)); // MessageBox(NULL, errorString, "ZSError", MB_OK | MB_SETFOREGROUND | MB_TOPMOST); _zSpaceContext = NULL; } ZSHandleg_bufferHandle = NULL; error = zsCreateStereoBuffer(_zSpaceContext, ZS_RENDERER_QUAD_BUFFER_GL, 0, &g_bufferHandle); if (g_bufferHandle) { zsSyncStereoBuffer(g_bufferHandle); zsDestroyStereoBuffer(g_bufferHandle); } //I do this at program shutdown, but suspect this can be done at once if you're not useing the headtracking/pen tracking. // Shutdown and cleanup the zSpace SDK. zsShutdown(_zSpaceContext); _zSpaceContext = NULL; I don't know if HP has created it's own SDK or refers you directly to zSpace for the software, but I think you need a similar sequence. btw. The signal is send as frame sequential stereo - commonly referred to as "active stereo signal" trough a single video cable. Referring to this system as passive stereo just because the glasses are passive confuses a lot of people. (the display switches circular polarization at 120 Hz) Regards, Laurens. On Tue, Nov 15, 2016 at 2:24 PM, Jan Ciger wrote: > > > On Tue, Nov 15, 2016 at 11:45 AM, ZJ Tian wrote: > >> Hi, Jan, >> >> You lightened my way. That's the answer I think. >> I will try to work it out though you guessed correctly the display device >> I am unluckily using. >> > > > You are welcome. > > Sadly, these problems are common. The hardware vendors will claim that > their gizmo is perfect, does everything out of the box and, of course, plug > and play. Only when you actually buy it you will discover that the sales > materials neglected to mention that the function you need requires a very > expensive accessory sold extra and made out of unobtanium (because nobody > stocks it - like the mini-DIN connector brackets for Quadros) or that the > function actually works, but it is severely limited to the point of being > unusable because some fool somewhere decided to save $0.1 by eliminating a > connector or shipping non-working firmware ... > > I have had these experiences even on very expensive pieces of hardware. > Especially with VR you do have to always test before buying because the > sales brochures and salesmen are never telling the whole story if not lying > outright. > > J. > > > ___ > 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] World to local coordinates
On 15 November 2016 at 13:25, Rambabu Repaka wrote: > Hi,Robert don't be too angry on me.Iam new to osg little bit of confusion > about all classes and functions.One doubt how to know screen coordinates of > osg. I'm not angry, just frustrated that you are requiring/expecting an unreasonable level of assistance. There is a point if you keeping asking questions for stuff you've been given perfectly reasonable answers for that we are going to push back and say that you need to put more effort in yourself, we can't do your job for you. There are lots of resources available to you. Go buy the OSG books. Go ready the and learn from the examples. Chat with your colleagues. And develop the ability THINK for yourself. Robert ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] World to local coordinates
Hi,Robert don't be too angry on me.Iam new to osg little bit of confusion about all classes and functions.One doubt how to know screen coordinates of osg. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69374#69374 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
On Tue, Nov 15, 2016 at 11:45 AM, ZJ Tian wrote: > Hi, Jan, > > You lightened my way. That's the answer I think. > I will try to work it out though you guessed correctly the display device > I am unluckily using. > You are welcome. Sadly, these problems are common. The hardware vendors will claim that their gizmo is perfect, does everything out of the box and, of course, plug and play. Only when you actually buy it you will discover that the sales materials neglected to mention that the function you need requires a very expensive accessory sold extra and made out of unobtanium (because nobody stocks it - like the mini-DIN connector brackets for Quadros) or that the function actually works, but it is severely limited to the point of being unusable because some fool somewhere decided to save $0.1 by eliminating a connector or shipping non-working firmware ... I have had these experiences even on very expensive pieces of hardware. Especially with VR you do have to always test before buying because the sales brochures and salesmen are never telling the whole story if not lying outright. J. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] World to local coordinates
Hi,I got the answer thanks for helping me and iam a beginner in osg learning slowly and sorry disturbing all for asking simple questions. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69373#69373 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] World to local coordinates
On 15 November 2016 at 10:37, Rambabu Repaka wrote: > Hi,In osgsimulation source code if we comment the rotation of cessna model > line the cessna is not viewing,What is the problem can anyone tell. The problem is you haven't yet learned how to convey problems in a way that allows others to understand the issues that you have, so how can we answer what the problems is when we don't even know what it specifically is? Is lack of knowledge/skills in C++ the main problem? Lack of understanding of scene graphs in general or OSG in particular? Struggles with language barrier? Or just too plain lazy to put in the work required to explore and learn about how software works even when you have all the source code in front of you? I'm find it hard to comprehend what you are struggling with, it's such a simple task, you have been given example code that isn't complicated, the classes interfaces you need to use are all pretty straight forward. If you are struggling with this stuff perhaps real-time computer graphics isn't for you. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository
On 15 November 2016 at 10:37, Paul McIntosh wrote: > Should osgQT have it's own section in the forums? This is a decision for the community/forum moderators. I am not a forum user or moderator so don't have any direct input or exposure to how it is used. I can see value in have a osgQt section on the forum, but really can't say/do much beyond this. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Offline conversion to dds without gc
Hi Lionel, Ok, I will try... Thank you very much! Cheers, WeSee -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69370#69370 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
Hi, Jan, You lightened my way. That's the answer I think. I will try to work it out though you guessed correctly the display device I am unluckily using. Thanks. - - - TianZJ 在 2016-11-15 18:14:59,"Jan Ciger" 写道: On Tue, Nov 15, 2016 at 10:40 AM, ZJ Tian wrote: > Hi, guys, > > I encountered a trouble with passive stereo using quadbuffer. > Duh, I am an idiot, should have read more carefully. If your system uses passive glasses (the non shuttering type) then the problem is most likely in the setup of your display. If the display is using sequential ("active") stereo from the Quadro (that's what I assume since you are using quadbuffer) and converting that to passive, do check for the presence of the synchronization signal. If you aren't using HDMI 1.4 (or newer) connection, you may have to connect an extra mini-DIN or a USB cable somewhere. Some Quadro cards require buying of an extra bracket with a connector for this (like this one: https://www.bhphotovideo.com/c/product/838382-REG/PNY_Technologies_930_50764__000_Full_Height_Bracket_Stereo.html ) If it is this display: http://h20195.www2.hp.com/v2/GetDocument.aspx?docname=c04784690&doctype=quickspecs&doclang=EN_US&searchquery=&cc=us&lc=en Then you may be actually out of luck. The DVI-D and DP 1.2 ports don't support the synchronization signals required, AFAIK. You may want to contact HP support about it and verify with them. J. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] World to local coordinates
Hi,In osgsimulation source code if we comment the rotation of cessna model line the cessna is not viewing,What is the problem can anyone tell. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69368#69368 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository
Hi Robert, Should osgQT have it's own section in the forums? I keep coming back to this thread for updates while I am trying to get it to work myself on Windows 10. I am eager to contribute but it is bit hard not having an area to post and answer osgQT related issues. Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69367#69367 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] World to local coordinates
Hi Rambabu, Repeating your question won't magically produce an answer. It is still unclear what you don't get from the examples. There is a coordinatesystem-node which lets you transform lat, lon, height values into geocentric positions ... Look at the osg-simulation example, it shows how to use the computeLocalToWorldTransformFromLatLongHeight function. If there are still questions, try to pose a question providing some actual information on what you are trying to achieve. Cheers Sebastian Hi,Iam facing problem in implementing the logic for viewing the osg model using latitude,longitude and height readings.Can anyone tell me how to do it. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69365#69365 ___ 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] World to local coordinates
Hi,Iam facing problem in implementing the logic for viewing the osg model using latitude,longitude and height readings.Can anyone tell me how to do it. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69365#69365 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
On Tue, Nov 15, 2016 at 10:40 AM, ZJ Tian wrote: > Hi, guys, > > I encountered a trouble with passive stereo using quadbuffer. > Duh, I am an idiot, should have read more carefully. If your system uses passive glasses (the non shuttering type) then the problem is most likely in the setup of your display. If the display is using sequential ("active") stereo from the Quadro (that's what I assume since you are using quadbuffer) and converting that to passive, do check for the presence of the synchronization signal. If you aren't using HDMI 1.4 (or newer) connection, you may have to connect an extra mini-DIN or a USB cable somewhere. Some Quadro cards require buying of an extra bracket with a connector for this (like this one: https://www.bhphotovideo.com/c/product/838382-REG/PNY_Technologies_930_50764__000_Full_Height_Bracket_Stereo.html ) If it is this display: http://h20195.www2.hp.com/v2/GetDocument.aspx?docname=c04784690&doctype=quickspecs&doclang=EN_US&searchquery=&cc=us&lc=en Then you may be actually out of luck. The DVI-D and DP 1.2 ports don't support the synchronization signals required, AFAIK. You may want to contact HP support about it and verify with them. J. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
Hello, On Tue, Nov 15, 2016 at 10:40 AM, ZJ Tian wrote: > Hi, guys, > > I encountered a trouble with passive stereo using quadbuffer. > That sounds like your display and glasses are not being correctly synchronized to the graphic card. For stereo to work in a stable manner the glasses must know which frame is being rendered by the GPU at any given moment. That is usually achieved either by the old school 3 pin mini-DIN cable from the Quadro, synchronization signal being sent using a USB dongle (like Nvidia 3DVision) or the signal being digitally "tagged" with the left/right frame tags (recent HDMI/Display Port interfaces versions). Some systems are "dumb" and don't use this sync signal - typically cheap DLPLink projectors - and rely only on the stability of the input signal to not swap the left/right frames while in use. The glasses are only told to switch between left/right but don't really know which image is being actually displayed by the GPU, so you have to manually "invert" the stereo at the start, typically by pushing a button somewhere. That is good enough for something like Bluray video but not for interactive application where the framerate is never 100% stable. I am not familiar with the display and glasses you are using so you will need to check the manual for your hardware how to set it up correctly. However, in general, simply enabling quad buffer stereo *is not* sufficient in itself to obtain a reliable stereo without these glitches. The synchronization between the GPU and the display/glasses must be in place as well. Be careful that synchronizing the glasses to the display alone (using radio, infrared signal, display flashes ...) may not be sufficient if the display is not actually synchronized with the GPU - that's the case of the common DLPLink systems, but may exist elsewhere too. If the glasses are not connected to the GPU directly and are driven from the display (common with 3D TVs and projectors), I would expect that this could well be the case. Regards, Jan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Fwd: Unstable passive stereo on Quadro using Quadbuffer
Hi, guys, I encountered a trouble with passive stereo using quadbuffer. The 3D effect is not stable sometimes I can get a correct 3D vision, but other times it seems that the left frame and the right frame had been reversed, which can be corrected by reversing my polaroid-glass. The result randomly varied every time when restarted the app.; Here is the environment I am using: Hardware GraphicCard Nvidia Quadro M2000 DisplayHP Zvr Virual Reality Display Glass Polaroid glass Configuration Display Hz 120Hz GraphicCardStereo Enabled Stereo Type Common Stereo 3D Display Enabled Software Config osg::DisplaySetting stereo enabled stereo type QUAD_BUFFER GUI QT5.7 I am confused, since it should NOT have happened: The OSG knows the left buffer and right buffer, and it should send them to graphic card correctly. And the card should not mistake these two buffers when sending them to the display device either. But then which is the problem? I tried google but found nothing relative. Anybody who has confronted this trouble? Thanks for any hints. - - - TianZJ tianz...@gmail.com 2016/11/15 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Offline conversion to dds without gc
Hi, Do you mean -quick ? Maybe the option has different names in the different version of the library. This option force the library to use a faster algorithm to choose the two key colors of each 4x4 group of pixels. I do not know the real impact of the option. I do not remember having performance issues. We use the API, not the executable. Windows is really bad at starting a lot of times the same program. The -list option is there to get round this issue. On 14/11/2016 18:19, We See wrote: Hi Lionel, Thank you for the hint, works great (but horribly slow)! Do you know, what the option -fast changes? have a look at NVidia Texture Tools (nvtt). Cheers, WeSee -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69360#69360 ___ 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