[osg-users] particles

2013-03-15 Thread Peter Wraae Marino
Hi,


Is there a way to create particles from particles position?

let me explain... I would like to create an explosion with debris. The way I 
would create it is one particle system shooting particles that represent debris 
and another particle system creating smoke as the debris is flying (at the 
position of the first particle systems debris particle).

I know this might sound confusing. If it isn't understood then ask and I'll 
create a longer message.

Thank you!

Cheers,
Peter

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





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


Re: [osg-users] changing a osgWidget::Box position

2013-03-15 Thread Jeremy Moles

On 03/14/2013 12:14 PM, Aitor Ardanza wrote:

Hi,

I don't understand the Jeremy answer... when you say call update() function, 
you are refering to osgWidget::Box update?

I need to reposition some GUI box when the window is resized. If I call..

void HyperPatientVRGUI::resize(int w, int h)
{
  _hyperLogoBox-setPosition(0.0f, h-500, 0.0f);
  _hyperLogoBox-update();
 .
}
I imagine that since you're setting the Z value here, you're just 
causing it to go out of your projection. Try just using setOrigin(), 
instead.

hyperLogoBox disapears...

Thank you!

Cheers,
Aitor

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





___
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] osgWidget Frame borders

2013-03-15 Thread Jeremy Moles

On 03/15/2013 12:42 AM, Alexandre Valdetaro wrote:

I am having this same problem here. Did anyone find a solution for it? Does 
anyone not have this problem?

I'll take a look later today and see if I can't figure out what is going on.

Thanks,
Alex

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





___
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