[osg-users] SIGGRAPH OSG BOF for 2014

2014-04-29 Thread David Glenn
Greetings All! My apogees in advance for asking, but I just set my plans for SIGGRAPH in Vancouver this year and was wondering if there was going to be an OSG BOF this year as before? I had to ask, just in case that John need me to hold the Karaoke mic agein as I did last year! |-) ...

[osg-users] Multiple Graphics contexts, Views, Viewports, Cameras.

2014-04-29 Thread Sergey Bud
Hi, All! Newbie's question. I am having trouble understanding the concepts of the subject. Which one contains which one, how they relate to each other. If I understand correct Viewer contains View and Camera. I am trying to set up multiple view of the same scene from different points. As I unde

Re: [osg-users] New LUA plugin fails to link

2014-04-29 Thread Robert Osfield
Hi Raymond, Lua itself is pretty widely used and it's *very* portable being Anscii C. The new OSG Lua plugin includes the source and builds Lua locally so there is no need to go chasing external dependencies. The errors that Paul has published aren't to do with Lua but with osgDB template method

Re: [osg-users] render main scene and 2d menu in single RTT

2014-04-29 Thread Robert Pawłowski
I haven’t tried your code, but I had quite similar problem recently. The solution was to use NESTED_RENDER for slave cameras. Robert -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59192#59192 ___ os

Re: [osg-users] New LUA plugin fails to link

2014-04-29 Thread Raymond de Vries
Hi, Coincidence, or not, I was going to report the same :-) On windows, lua is not a standard thing so I guess that it is not built often. Nor used? I am trying to build the plugin with lua from https://code.google.com/p/luaforwindows/ (5.1.4) with 32 bit visual studio 2008 (vc9). What optio

Re: [osg-users] New LUA plugin fails to link

2014-04-29 Thread Robert Osfield
Hi Paul, The lua plugin has been checked in as it is for a couple of months now, I'm surprised others haven't come across issues. This suggest something either not many Windows are building the OSG and reporting problems, or that there is something specific about the compiler or build options you

[osg-users] New LUA plugin fails to link

2014-04-29 Thread Paul Martz
Hi Robert -- There is a new plugin, LUA, which fails to link on Windows when building current trunk. It looks like multiply defined symbols. I'm building for GLCORE, but that's probably irrelevant. I'm using the default setting for the LUA local source CMake variable. Here's the output: 1>ReaderW

Re: [osg-users] Not able to manipulate master camera in a master/slave Viewer

2014-04-29 Thread Patrik Andersson
Thank you Robert, that you sorted that out for me. I have been googling around and have got both answers, use Viewer or use CompositeViewer. I hope I'll get it work soon, now only a black screen. Kind regards Patrik On Tue, Apr 29, 2014 at 3:24 PM, Robert Osfield wrote: > Hi Patrick, > > On 29

Re: [osg-users] Not able to manipulate master camera in a master/slave Viewer

2014-04-29 Thread Robert Osfield
Hi Patrick, On 29 April 2014 14:02, Patrik Andersson wrote: > I thought if you had one scene with multiple-views one should use the > Viewer-class... The design of osgViewer::CompositeViewer is that all Views can have their own or share a scene graph. The osgViewer::Viewer class represents a si

Re: [osg-users] Not able to manipulate master camera in a master/slave Viewer

2014-04-29 Thread Patrik Andersson
Hi Robert, I thought if you had one scene with multiple-views one should use the Viewer-class... Had some issues setting up with composite-viewer, but I''ll try again. I'll let you know how I succeed. Kind regards Patrik On Tue, Apr 29, 2014 at 2:45 PM, Robert Osfield wrote: > Hi Patrick, >

Re: [osg-users] Not able to manipulate master camera in a master/slave Viewer

2014-04-29 Thread Robert Osfield
Hi Patrick, I'm rather confused about what you are trying to achieve with the various Cameras. If you have multiple views then logically you should be using multiple View(s) and a CompositeViewer that contains them rather than a Viewer which is written around providing a single View. You can man

[osg-users] Not able to manipulate master camera in a master/slave Viewer

2014-04-29 Thread Patrik Andersson
Hi, I have created a class which shall display two views of the same scene based on osgViewer::Viewer. The two views are rendered by two HUD cameras with a corresponding RTT camera. The first RTT-camera is set to be the master-camera in the Viewer, and the rest of the cameras are added as slaves.

Re: [osg-users] Problems with keyboard events

2014-04-29 Thread alvaro ginestar rodriguez
thanks, it works ;D Date: Tue, 29 Apr 2014 12:34:42 +0200 From: trajce.nikolov.n...@gmail.com To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Problems with keyboard events Hi Alvaro, your update callback is expecting PositionAttitudeTransform, so make circulo() function to

Re: [osg-users] Problems with keyboard events

2014-04-29 Thread Trajce Nikolov NICK
Hi Alvaro, your update callback is expecting PositionAttitudeTransform*, so make circulo() function to return it. Something like* sphere->getOrCreateStateSet()->setAttribute(rojo); PositionAttitudeTransform* pat = new PositionAttitudeTransform; pat->addChild(sphere); return pat; I think with th

[osg-users] Problems with keyboard events

2014-04-29 Thread alvaro ginestar rodriguez
Hi i'm learning OSG and i have some problems with keyboard events. I want move a sphere with the keyboard. I´m following OSG tutorial Handling Keyboard Input to Update a Callback: http://trac.openscenegraph.org/projects/osg/wiki/Support/Tutorials/BasicKeyboardInputAnd i don´t know why it dosen´

Re: [osg-users] How to get frame rate

2014-04-29 Thread Robert Osfield
HI Kim, The onscreen stats just report what stats are collected so the frame rate is already stored for you. The data structure of interest is osg::Stats, have a look at the src/osgViewer/StatsHandler.cpp implementation to see how the Stats are used. Robert. On 29 April 2014 04:50, Kim JongBum