Hi Clement,
On 27 February 2012 06:26, clement@csiro.au wrote:
I would like to know how to detect the image is rotating. For example, we
can use the mouse to rotate the image on viewer. If we drag on the viewer,
the image will automatically rotate. Any event I can get the image is
You'll need to make sure that you have a dll called osgdb_dae.dll in your
plugins folder and that your OSG binary can find it.
Generally speaking this problem is caused because you haven't set up the
environment variables correctly so OSG can't find it's plugins on the path.
Hope that helps,
Hi Clement,
The osgViewer::ViewerBase (base class for Viewer) has a FrameScheme
hint for the run() method which enables ON_DEMAND or CONTINUOUS,
ON_DEMAND is the approach you'd want. You'll be calling frame()
yourself rather than run() so won't be able to utilize this feature,
but you should be
Hi Robert,
Thanks for your suggestion. I checked the source code viewerbase.cpp. There
is attribute called _runFrameScheme, but the value is assigned by
getenv(OSG_RUN_FRAME_SCHEME). Except to set the environment variable, any
method I can assign the value to _runFrameScheme? Thanks.
On 27 February 2012 11:26, clement@csiro.au wrote:
Hi Robert,
Thanks for your suggestion. I checked the source code viewerbase.cpp.
There is attribute called _runFrameScheme, but the value is assigned by
getenv(OSG_RUN_FRAME_SCHEME). Except to set the environment variable, any
Thank you, Robert!
it worked well.
for the record, the correct call is made on osg::View
Code:
_view-requestRedraw()
I am puzzled how i could have missed the method in the sources :?
Cheers,
Andrey
--
Read this topic online here:
Hi Clement,
If you want to find out what is going on use a debugger. A modicum of
self reliance is key element of being a successful programmer. You
can't expect others to keep hand walking your through every little
feature one by one.
Robert.
On 27 February 2012 13:11, clement@csiro.au
You could do a setenv(..), in you code on startup
Gordon Tomlinson
Chief Engineer(Remoteview)
Overwatch
An Operating Unit of Textron Systems
__
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
Hi Robert,
Sorry for the mass email. I have debugged the program and I am sure
ON_DEMAND is set to OSG_RUN_FRAME_SCHEME, but I can't see any different. The
cpu usage is still used 25% on idle.
Regards,
Clement
From:
Hi jcronje,
The method applyAsRenderTarget() or mapAsRenderTarget() is automatically called
when
a GLMemoryTargetCallback is attached to a camera.
Please see the osgRTTDemo-example.
It is required in order to synchronize the memory spaces correctly.
You need to be shure that a GL-Context is
Hi Rui,
I'm looking forward to get your new book!
I'll play with the online code repository these days and give you feedback!
Best regards,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45798#45798
We recently discovered that osgSim::DOFTransform nodes were unexpectedly
removed from the scene graph by the unconditional use of the
osgUtil::Optimizer in osgconv. The DOFTransform nodes were marked by our
modelling tool (Max with the osgmaxeporter plugin) as STATIC.
Should the optimizer
Hello,
Is it possible to use GL_TRANSFORM_FEEDBACK_BUFFER_NV extension in osg? I would
like write back my vertex position data into a new Vertex Buffer Object. Is
there any example about this?
Cheers
Martin
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
HI Magnus,
If you make a Transform node as STATIC then you've told the scene
graph that it will never change so will be fair game for the
Optimizer. You have two choices if you don't want to have the
Optimizer optimize it away:
1) Don't call the Optimizer with the FLATTEN_STATIC_TRANSFORM
On Monday 27 Feb 2012 15:26:15 Robert Osfield wrote:
HI Magnus,
If you make a Transform node as STATIC then you've told the scene
graph that it will never change so will be fair game for the
Optimizer. You have two choices if you don't want to have the
Optimizer optimize it away:
1)
Yes, it's possible, but there are no examples that I know of. You might try
binding a buffer object in a Camera pre-draw callback, for an example of one
strategy.
-Paul
On 2/27/2012 8:21 AM, Martin Großer wrote:
Hello,
Is it possible to use GL_TRANSFORM_FEEDBACK_BUFFER_NV extension in
All,
I believe this issue has been addressed before but I can't find the previous
discussion. Therefore I will ask again...
Is there a way to get Release-built OSG libs to play nicely with an app that is
built with Debug? Right now if I link with Release-built OSG libs, my app
(built with
On Mon, Feb 27, 2012 at 11:34 AM, Shayne Tueller shayne.tuel...@hill.af.mil
wrote:
All,
I believe this issue has been addressed before but I can't find the
previous discussion. Therefore I will ask again...
Is there a way to get Release-built OSG libs to play nicely with an app
that is
On 02/27/2012 02:12 PM, Chris Hanson wrote:
On Mon, Feb 27, 2012 at 11:34 AM, Shayne Tueller
shayne.tuel...@hill.af.mil mailto:shayne.tuel...@hill.af.mil wrote:
All,
I believe this issue has been addressed before but I can't find
the previous discussion. Therefore I will ask
Hi Magnus,
But maybe this question is more to the authors of osgmaxexporter. Why
does osgmaxexporter unconditionally set the data variance to STATIC?
What are the use cases where one would model a STATIC DOFTransform?
DOFTransforms are a relic of Multigen (Presagis) Creator, and in that
Hi Robert
I've had a few compile errors on IOS with everything configured for Float,
nothing major. Fixes have been submitted.
With fixes I successfully built with XCode 4.2.1 for IOS SDK 5.0, GLES2,
run on IPad and IPhone. Also compiled with Apples newer LLVM compiler and
everything seems to
21 matches
Mail list logo