Hi Robert,
Do you mean the DrawCallback in the Camera class, which contains
virtual void operator () (osg::RenderInfo& renderInfo) ? And here I can use the
RenderInfo right?
As I know, the following code can get a contextID:
camera->getGraphicsContext()->getState()->getContextID();
Is this
Hi Qingjie,
On 9 September 2015 at 09:27, Qingjie Zhang <305479...@qq.com> wrote:
> Do you mean the DrawCallback in the Camera class, which contains
> virtual void operator () (osg::RenderInfo& renderInfo) ? And here I can
> use the RenderInfo right?
>
Yes. You can attach draw callbacks to
Hi Qingjie,
The RenderInfo is managed by the my the rendering back end, it's passed to
all draw callbacks and Drawables.
Robert
On 9 September 2015 at 04:29, Qingjie Zhang <305479...@qq.com> wrote:
> Hi Robert,
> I'm knowing that the RenderInfo->getContextID() can give me the contextID
> to
Hi,
can you try geom->dirtyDisplayLists() after changing the color?
Nick
On Wed, Sep 2, 2015 at 12:27 PM, Yexin W wrote:
> Hi,
>
> Guys, I have a pick problem. What I want to do is loading 10 points with
> their loactions and colors. I want to use poly pick, and use another
Hi,
I just fixed a performance related bug.
Due to misuse of an enum I had accidentally disabled all culling. (This bug
would probably been avoided if strongly typed enum a'la C++11 were used).
This bug only affects users using Oculus SDK 0.6 and 0.7. I urge all users of
these versions of
Hi Sam,
On 9 September 2015 at 00:24, sam wrote:
> What version of ffmpeg is required to use the plugin for OSG 3.2.3? When
> trying to use the latest build of ffmpeg; I get some undeclared identifier
> errors which seem to be caused by deprecation of some functions within
>
Hi Robert,
I'm attempting to use the latest git build of ffmpeg (
http://ffmpeg.zeranoe.com/builds/). I am going to try with 2.5.2 next.
Would it be possible to get ffmpeg added to the dependencies package for
OSG? I'll let you know how it goes.
Thanks, Sam
On Wed, Sep 9, 2015 at 7:45 AM,
Hi Robert,
To get the handle of opengl texture, I attached a DrawCallback to the main
camera, doing like these codes:
struct MyCameraPostDrawCallback : public osg::Camera::DrawCallback
{
virtual void operator()(const osg::RenderInfo )
{
int contextID =
Is there an equivalent function to the Performer
pfObject::getNamedUserDataSlot? Our code uses it a lot to store object data.
I'm guessing we could just store the data in a map and uses the slot id
returned as a key.
Tony V
--
Read this topic online
Using ffmpeg 2.5.2 cleans up the compilation issues. I used a precompiled
version of ffmpeg which was compiled with a prior version of VS so I do get
a SAFESH warning.
On Wed, Sep 9, 2015 at 9:26 AM, sam wrote:
> Hi Robert,
>
> I'm attempting to use the latest git build of
Hi,
Iwould like to introspect StateSet in order to know which override value is
activated for a particular stateset.
I parse AttributeList for this
Code:
for( osg::StateSet::AttributeList::const_iterator
it=ss->getAttributeList().begin();it!=ss->getAttributeList().end() ; it++)
{
11 matches
Mail list logo