[osg-users] Buffer object pool and setUnrefImageDataAfterApply()

2017-02-13 Thread Jannik Heller
Hi, I was considering to use the buffer/texture object pool for my program (see http://forum.openscenegraph.org/viewtopic.php?t=3844=previous ) What strikes me as odd, though, is how enabling texture buffer pools automatically disables the use of unrefImageDataAfterApply() for textures:

[osg-users] How to set maximum visible distance?

2017-02-13 Thread Daven Hem
Hello, everyone! I want to set maximum visible distance of camera as 5000m. I mean I want to render only objects and terrains that are in 5000m from camera. How can I do that? Please teach me. Cheers. Daven. -- Read this topic online here:

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread sam
Hi Guys, Sorry to hijack this thread a little bit. What would you guys consider the best source of information for Vulkan? Primarily focusing on the fundamentals. Thanks, Sam On Mon, Feb 13, 2017 at 5:43 AM, Robert Osfield wrote: > On 13 February 2017 at 12:17,

Re: [osg-users] Running OSG with Emscripten

2017-02-13 Thread Jannik Heller
Hi kornerr, Try using Geometry::setUseVertexBufferObjects(true) - this should make OSG use VBO's and EBO's (element buffer objects) instead of the standard display lists. Cheers, Jannik -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70176#70176

Re: [osg-users] Early events handling

2017-02-13 Thread Robert Osfield
HI Riccardo, If you want custom event handling then simply override the Viewer/CompositeViewer::eventTraversal() method and implement your own behaviour. Robert. On 13 February 2017 at 15:02, Riccardo Corsi wrote: > Hi all, > > what I'm after is very similar to what

[osg-users] Early events handling

2017-02-13 Thread Riccardo Corsi
Hi all, what I'm after is very similar to what the osg viewer does when checking if the QUIT event has happened during the last frame - link - with all the events collected in a frame available at the

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Robert Osfield
On 13 February 2017 at 12:17, Nickolai Medvedev wrote: > So, Robert, if you if you are going to use C++11, it means that > OpenThreads won't be used anymore(use std::thread)? One of the reasons to use C++11 is avoid the need to external dependencies such as OpenThreads.

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Robert Osfield
On 13 February 2017 at 12:13, Nickolai Medvedev wrote: > And it is good that you have ideas. > First of all, it is necessary to refuse opengl fixed pipeline. I don't understand your use of "refuse" here? For OSG-3.6 my plan is to attempt to have an automatic mapping of old

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Nickolai Medvedev
So, Robert, if you if you are going to use C++11, it means that OpenThreads won't be used anymore(use std::thread)? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70171#70171 ___ osg-users mailing

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Nickolai Medvedev
Hi, Robert. And it is good that you have ideas. First of all, it is necessary to refuse opengl fixed pipeline. It is necessary to create shader-based lighting system. I already try to create deferred rendering with various models of lighting (phong, cook-torrance, etc.), but now it isn't a lot of

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Robert Osfield
On 12 February 2017 at 22:22, Nickolai Medvedev wrote: > Transition to Vulkan will be difficult. Partly because, that all graphics is > based on shaders. But I think that the new system for OpenSceneGraph - it is > good. > I will try to help, as far as I will be able. I've

Re: [osg-users] Fwd: how to solve QT5 multi-thread problem

2017-02-13 Thread 来恩
 Konstantin,   Thanks a lot again. I'll have a try on what you said. I wish to have good luck.  Best regards. Glen-- 原始邮件 -- 发件人:Konstantin Podsvirov "konstan...@podsvirov.pro" 时 间:2017/02/13 15:12:15 星期一 收件人:OpenSceneGraph Users

[osg-users] I forget my username

2017-02-13 Thread 韩志平
Hello: I forget my username, can you tell me new? -邮件原件- 发件人: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] 代表 osg-users-requ...@lists.openscenegraph.org 发送时间: 2017年2月13日 星期一 4:06 收件人: osg-users@lists.openscenegraph.org 主题: osg-users Digest, Vol 116, Issue 13 Send