Re: [osg-users] [3rdparty] ImGui integration

2017-11-09 Thread tianzjyh
Great work!! Thanks.


--
Cheers, TianZJ___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [3rdparty] ImGui integration

2017-11-09 Thread michael kapelko
Hi. Nice work. How about non-FFP version?

On 9 November 2017 at 18:45, Florian GOLESTIN
 wrote:
> Hi team,
>
> I integrated DearImGui into OpenSceneGraph.
> I forked the Gist from Megaton. You can find my version here: 
> https://gist.github.com/fulezi/d2442ca7626bf270226014501357042c.
>
> Features:
>
> Integrated with the OpenGL fixed pipeline
> Works with ASCII char and special keys (Control, alt, Super, Shift, enter)
> Partial integration of the UTF-8 keyboard (you can type 'ç' but not 'ê', it 
> will result as '^e')
> Referenced ImGuiCallBack
>
> To Do:
> Mouse scroll
> (or not to do) Clipboard
>
>
> Have a good day,
> Florian[/url][/list]
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72343#72343
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/capture_dcran_de_2017_11_09_11_49_48_118.png
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] IITSEC this month

2017-11-09 Thread Chris Hanson
  So, I'll be at IITSEC in Orlando the week of Nov 27 - Dec 1. Won't be
exhibiting in a booth but will be meeting with other clients and
OSG/osgEarth users.

  I'll personally be around Tuesday the 28th through Friday the 1st. If any
other OSG users are going to be there, we should casually meet up and chat.
The last time we chatted about OSG, osgEarth, OpenIG, SunDog's Silver
Lining and Triton (Frank Kane of SunDog is from the Orlando area so he is
always around).

  Looking forward to catching up with anyone who will be in town for the
event.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Draw thread per opengl context instead of per GraphicsContext

2017-11-09 Thread Ben Meijering
Hi everyone,

I want to use the GraphicsContext::Traits::sharedContext to render multiple 
views (in multiple windows) that share the same context.

I already read on some forums that the ThreadingModel::SingleThreaded  should 
be used.

However, I would still like to use ThreadingModel::DrawThreadPerContext so that 
the cull and draw thread can overlap.

I tried this, but a draw thread is created per GraphicsContext and thus per 
window. Because all these windows share an opengl context, I would have 
expected that only 1 thread would have been created.

This results in all sorts of problems.

Is there a way in which I can use 1 draw thread per opengl context ?
And, if not, is this something that I can easily change by modifying the code ?

Thank you!

Cheers,
Ben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72344#72344





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [3rdparty] ImGui integration

2017-11-09 Thread Florian GOLESTIN
Hi team,

I integrated DearImGui into OpenSceneGraph. 
I forked the Gist from Megaton. You can find my version here: 
https://gist.github.com/fulezi/d2442ca7626bf270226014501357042c.

Features:

Integrated with the OpenGL fixed pipeline
Works with ASCII char and special keys (Control, alt, Super, Shift, enter)
Partial integration of the UTF-8 keyboard (you can type 'ç' but not 'ê', it 
will result as '^e')
Referenced ImGuiCallBack

To Do:
Mouse scroll
(or not to do) Clipboard


Have a good day,
Florian[/url][/list]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72343#72343




Attachments: 
http://forum.openscenegraph.org//files/capture_dcran_de_2017_11_09_11_49_48_118.png


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgoculus viewer picking

2017-11-09 Thread Michael Maurus
Okay, here a few updates of what I learned:

1. There is no geometry which will be rendered to the main camera of 
ogoculusviewer. That's why no intersections can be found.
2. Displaying the oculus view will be done by blitting the mirrorTexture to the 
back buffer.
3. So solve my problem, I added a third slave camera which renders the scene in 
user-friendly mode (different projection matrix than oculus). As this slave 
camera does not RTT picking in window coordinates works fine!

Cheers,
Michael

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72342#72342





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org