Re: [osg-users] Node with different projection/view matrix fixed pipeline

2020-01-17 Thread Catalin
Hi Robert,

I have an old code, as you know. Some objects are rendered with OpenGL, but 
before that the ViewMatrix is set to identity, as the the objects are 
having their position computed as follow:

ObjectPositionView = ViewMatrix * ObjectPosition + 2D Move Vector(x,y) in 
view space

ObjectPositionView already contains the ViewMatrix, so I am feeding it 
directly to the Open GL.

Those object are some billboards but with the option to be moved in the 
view space, like a 2D move.

If I give directly the ObjectPosition to OSG, it works fine with billboards 
but I don't know how to incorporated the 2D Move Vector, that vector is in 
the view space.

On Thursday, 16 January 2020 10:18:59 UTC+2, Robert Osfield wrote:
>
> Hi Catalin,
>
> Could you explain what you are trying to do with the rendering of this 
> node? What you are attempting to do will guide the best way to implement 
> what you need.
>
> Robert.
>
> On Thu, 16 Jan 2020 at 07:33, Catalin > 
> wrote:
>
>> Hi,
>>
>> Is there a way to change the view matrix or projection matrix for a just 
>> a specific node in fixed pipeline mode?
>>
>>
>> ___
>> osg-users mailing list
>> osg-...@lists.openscenegraph.org 
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/2174a736-ca96-4fba-a263-bd4be6d1a8dc%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] How to use the osgUI

2020-01-17 Thread breakwall lon

I can't found the example for osgUI on internet.

How to use the osgUI?

like osgUI::Pushbutton, osgUI::ComboBox and so on.

I want to help.



-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/2f11ae35-b37c-4545-be14-f4435f2f8b0c%40googlegroups.com.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org