Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread nicolas peña
, and one frame loop fits this constraint automatically as well as keeping the internals and API clean. If you want two views with separate windows running at a different frame rate with their own frame loops then you'll need use two separate viewers. Robert. On Feb 18, 2008 10:00 AM, nicolas

Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread nicolas peña
then you'll need use two separate viewers. Robert. On Feb 18, 2008 10:00 AM, nicolas peña [EMAIL PROTECTED] wrote: Hello, I work in a Spanish research group that mainly works on mobile robotics and I am going to use OSG 2.2 to build an application (simulator of multi-robot collaborative

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
I forgot to say that I was two instances of osgviewer::viewer. Thanks again, Nicolas. 2008/2/22, nicolas peña [EMAIL PROTECTED]: Hi Robert, I have done several tests and have reached to the conclusion that it is not possible to use two viewers at the same time from one process

Re: [osg-users] Multiple viewers and one scene

2008-02-22 Thread nicolas peña
problems with high level rendering though - it should just mess up things like particle systems and sequences. Robert. On Thu, Feb 21, 2008 at 8:33 PM, nicolas peña [EMAIL PROTECTED] wrote: Hi all, As I need to control the frame rate of my cameras independently, I have set-up a viewer

[osg-users] Two instances of osgviewer::viewer

2008-02-23 Thread nicolas peña
Hi all, I have done several tests and have reached to the conclusion that it is not possible to use two osgviewer::viewers at the same time from one process (even from different threads). This happens even when they do not share anything. I have done the most simplistic code and even this

Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread nicolas peña
and have an image attached in order to send then to the artificial vision algorithms. I also need to share the scene across all the viewers. Thanks, Nicolas . 2008/2/24, Robert Osfield [EMAIL PROTECTED]: HI Nicolas, On Fri, Feb 22, 2008 at 7:11 PM, nicolas peña [EMAIL PROTECTED] wrote

Re: [osg-users] Multiple viewers and one scene

2008-02-25 Thread nicolas peña
I'll work with this. Thanks a lot. Nicolas. 2008/2/25, Robert Osfield [EMAIL PROTECTED]: On Mon, Feb 25, 2008 at 9:22 AM, nicolas peña [EMAIL PROTECTED] wrote: Yes, I think I'll be OK with that. Sorry for my lack of knowledge but, can you tell me how can I deactivate/activate

[osg-users] FBO, osg::image and compositeviewer

2008-02-26 Thread nicolas peña
Hi all, I'm having a problem that is maybe well the result of my lack knowledge but smells like a bug; I have a composite viewer with two views, one camera each. Both cameras share the rendering context. One renders to a window (defined in the traits passed to generate the render context) and

Re: [osg-users] FBO, osg::image and compositeviewer

2008-02-27 Thread nicolas peña
, This does sound like a bug. Could you write a small example, or tweak one of the existing OSG example to demonstrate the configuration you are using so that others can test for the bug first hand. Cheers, Robert. On Tue, Feb 26, 2008 at 11:57 PM, nicolas peña [EMAIL PROTECTED] wrote: Hi

Re: [osg-users] FBO, osg::image and compositeviewer

2008-02-27 Thread nicolas peña
, but this effect occurs even if the image is very small. Any ideas of what is happening? Cheers, Nicolas. 2008/2/27, nicolas peña [EMAIL PROTECTED]: Hi Robert, Here is the example, it behaves as described in my machine and in build against OSG 2.3.4 One event that triggers the image resize

Re: [osg-users] FBO, osg::image and compositeviewer

2008-02-27 Thread nicolas peña
A little correction (to my self); I have done more tests and the image is not set exactly to the size window, (as I previously said) but changes its value in a similar manner. Cheers, Nicolas 2008/2/27, nicolas peña [EMAIL PROTECTED]: Hi Robert, Here is the example, it behaves

Re: [osg-users] FBO, osg::image and compositeviewer

2008-02-29 Thread nicolas peña
. Cheers, Robert. On Wed, Feb 27, 2008 at 10:07 AM, nicolas peña [EMAIL PROTECTED] wrote: Hi Robert, Here is the example, it behaves as described in my machine and in build against OSG 2.3.4 One event that triggers the image resize is to resize the window, just moving it does

Re: [osg-users] thousand spheres

2008-03-08 Thread nicolas peña
Hi, I have used OSG in the past to create the visuals aspects of a huge scale network simulator (up to 2 nodes). So if you detail more your problem may be I can help. I created my nodes instances with a simple 'for' loop, placing each one either using a

Re: [osg-users] thousand spheres

2008-03-09 Thread nicolas peña
Well, is it actually really easy. I post here some incomplete code that should be sufficient for you to grab the idea. I was using a home made random generator, but you can of course use any one. SceneRoot = new osg::Group(); osg::Geode** node = (osg::Geode**) malloc(sizeof(osg::Geode*) *

Re: [osg-users] osgFX::Cartoon (setOutlineLineWidth)

2008-03-11 Thread nicolas peña
Hi Vincent, I don't use this feature but if you attach a small example that triggers that behaviour in your machine I would test it on mine (x86_64,Linux 2.6.22 , OSG SVN HEAD). Cheers, Nicolas. 2008/3/11, Vincent Bourdier [EMAIL PROTECTED]:

Re: [osg-users] osgFX::Cartoon (setOutlineLineWidth)

2008-03-11 Thread nicolas peña
/3/11, nicolas peña [EMAIL PROTECTED]: Hi Vincent, I don't use this feature but if you attach a small example that triggers that behaviour in your machine I would test it on mine (x86_64,Linux 2.6.22 , OSG SVN HEAD). Cheers

Re: [osg-users] osgWidget 0.1.6

2008-03-11 Thread nicolas peña
Hi Jeremy, As you know, I was waiting for this release to dive in. So there I go. I will try to helpful. Thanks a lot, Nicolas. 2008/3/11, Robert Osfield [EMAIL PROTECTED]: Hi Jeremy, Good to see another release of osgWidget make it out into the daylight.

Re: [osg-users] removeView from eventHandler - crash ...

2008-03-12 Thread nicolas peña
I am not an expert at all, but may be you could mark the view for deleting in some way (inserting a reference in a list or something else), and in a callback when the update traversal has finished delete the views that are marked. Hope it helps. Nicolas 2008/3/12, Roni Rosenzweig [EMAIL

Re: [osg-users] More than one viewer

2008-03-18 Thread nicolas peña
-setThreadingModel( osgViewer::ViewerBase::SingleThreaded ); to the example code below, some more of the frames are rendered, but not all. Rudi -- *Von:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *Im Auftrag von *nicolas peña *Gesendet:* Montag, 17. März 2008

Re: [osg-users] Appeal for use of human names

2008-03-24 Thread nicolas peña
Hi All, I have been reading this conversation and others mails and I think that the cool names are not the real problem but is easy to see that the users who are rude and write in a very impolite way usually hide behind cool names. So after a long day of work when you have to answer a couple of

Re: [osg-users] Testing of OSG and VPB SVN in prep for nex dev releases and 2.4 stable release

2008-03-29 Thread nicolas peña
OSG SVN builds OK and my applications work as expected. VPN SVN also builds well but I have not tested it. My machine runs Linux 2.6.22 (x86_64) and all was built with gcc 4.1.3 targeting x86_64. Cheers, Nicolas. 2008/3/29, David Callu [EMAIL PROTECTED]: Hi Robert, OSG and VPB build

[osg-users] Adding Views to a Running CompositeViewer

2008-04-07 Thread nicolas peña
Hi all, I am having problems when adding Views to an already running CompositeViewer. The behaviour looks to depend on the nature of the single Camera of the View I am adding to the CompositeViewer: - If the camera of the new View use the rendering context that is already in use by the

Re: [osg-users] cessnafire particle setup

2008-04-08 Thread nicolas peña
You cam always use osgEdit to get the part of an .osg file that you want and save it in the osg format. Cheers, Nicolas. 2008/4/8, Gerrick Bivins [EMAIL PROTECTED]: Thanks Guy! biv On Apr 8, 2008, at 11:56 AM, Guy wrote: These files contain the fire and the smoke trail. Good

Re: [osg-users] Testing of OSG SVN in prep for 2.3.8 dev release

2008-04-11 Thread nicolas peña
Hi all, The present SVN version builds OK and my applications run behave expected. My machine is Linux 2.6.22 x86_64 and my CMake installed version is 2.4.7. Regards, Nicolas 2008/4/11, Jean-Sébastien Guay [EMAIL PROTECTED]: Hi again, replying to myself with some

[osg-users] Box transparency.

2008-04-16 Thread nicolas peña
Hi all, I have and osg::Box that is drawn using a osg::ShapeDrawable and I want to make it transparent. I have tried using the setColor method of the osg::ShapeDrawable as I understand that the fourth value of the vector passed to it is used to set the alpha value, but it looks like I

Re: [osg-users] Box transparency.

2008-04-16 Thread nicolas peña
PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *nicolas peña *Sent:* Wednesday, April 16, 2008 5:24 AM *To:* OpenSceneGraph Users *Subject:* [osg-users] Box transparency. Hi all, I have and osg::Box that is drawn using a osg::ShapeDrawable and I want to make it transparent. I have

Re: [osg-users] Multiple cameras

2008-04-21 Thread nicolas peña
I like the example that Robert usually give about this using cars: - If the cameras are independent (different points of view, like the views from inside different cars) a composite viewer is the way to go. - If the cameras are conceptually dependant (like the views from the different windows of

Re: [osg-users] going from 3D coordinates to 2D window coordinates

2008-04-22 Thread nicolas peña
Just read the thread called Projecting a point given a camera in this mail list that appeared recently. Cheers, Nicolas. 2008/4/22, Bryan Berg [EMAIL PROTECTED]: Hi, Could someone point me to documentations (or sample app) which cover converting from 3D to 2D window coordinates

Re: [osg-users] Off-screen rendering

2008-04-28 Thread nicolas peña
This sound like if your hardware / driver does not support pbuffers, I have used similar code in the past and it worked for me. Cheers, Nicolas 2008/4/28 Tessier, Philip [EMAIL PROTECTED]: Hmmm. I'm using Rafa's code, and am getting the failed to create pbuffer message each time.

[osg-users] osgOffscreenRenderer example

2008-04-29 Thread nicolas peña
Hi all, As proposed in a recent thread I have implemented a quite simple example to show how to render without showing any window at all. As pointed out by Adrian this could by useful for server side rendering. The example is very simple right now. Every frame is saved to a file

Re: [osg-users] osgOffscreenRenderer example

2008-04-29 Thread nicolas peña
Opps, The option is not -view but -show Cheers, Nicolas. 2008/4/29 nicolas peña [EMAIL PROTECTED]: Hi all, As proposed in a recent thread I have implemented a quite simple example to show how to render without showing any window at all. As pointed out by Adrian