Robert Osfield wrote:
downside is that rendering once built into the display lists won't be
updated automatically. To get ShapeDrawable to update the display
list simple do drawable-dirtyDisplayList(false).
Would it make sense to dirty the ShapeDrawable automatically when the shape is
On Fri, May 9, 2008 at 1:12 PM, Ulrich Hertlein [EMAIL PROTECTED] wrote:
Robert Osfield wrote:
downside is that rendering once built into the display lists won't be
updated automatically. To get ShapeDrawable to update the display
list simple do drawable-dirtyDisplayList(false).
Would it
Here is my code for explain.
Geode* NewGeode1 = Geode;
ShapeDrawable* pShapeDrawable = ShapeDrawable;
Geode-addDrawable(pShapeDrawable);
// 1. Box : This works well
pxgLink-m_rpShapeDrawable-setShape(new Box(Vec3(0.0, 0.0, 0.0), width,
depth, height));
// 2. Sphere : This doesn't
Hi Jeongseok,
By default the OSG uses display lists to speed up rendering, but the
downside is that rendering once built into the display lists won't be
updated automatically. To get ShapeDrawable to update the display
list simple do drawable-dirtyDisplayList(false).
Robert.
On Wed, May 7,
hope that I am good at using OSG, sooner or later.
Jeongseok.
-Original Message-
From: Robert Osfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2008 9:31 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] How to change shape?
Hi Jeongseok,
By default the OSG uses display
5 matches
Mail list logo