On 23/12/09 12:23 AM, Nguyen Tien Dat wrote:
frameRate = (double)numOfFrame/(endTime - startTime);
But it always gives me about 60fps. Did I make a mistake somehow?
(startTime and endTime are in seconds already)
60Hz sounds like you are running with sync-to-vblank.
/ulrich
Hi Robert and all,
I'm lost:
- Changing R, G or B writer's masks doesn't seem to affect reading (either the
plugin or 3rd-party readers, except when masks are completely nonsense)
- Copying the image (DEEP_COPY) and writing the copy instead of the oringinal
result in a vertical flip of the
Hi Vijay,
The svn version of the OSG now has the restructured the way it
incorporates the tristripper library - using a subdirectory that
mirrors the tristripper library itself, rather than embedding the
source code all in the src/osgUtil directory as was done before. The
latest version of
here is the call stack
osg62-osgViewerd.dll!std::listosg::ref_ptrosgGA::GUIEventHandler,std::allocatorosg::ref_ptrosgGA::GUIEventHandler
::begin() Line 528 + 0x13 bytes C++
osg62-osgViewerd.dll!osgViewer::CompositeViewer::eventTraversal() Line
990 + 0x19 bytes C++
Hi Nick,
How are you removing the view? From an event handler from within the
view? If so then this will crash as you'll be deleting the object you
are doing the work from.
The right way remove a view is outside of frame().
Robert.
On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov
Hi Robert,
now I did it outside frame. Id doesnt crash anymore ... but, it hangs at
_endDynamicDrawBlock-block();
void ViewerBase::renderingTraversals()
after view removal
I have composite viewer
with
setThreadingModel(osgViewer::CompositeViewer::CullThreadPerCameraDrawThreadPerContext);
any
Hi,
I need to build GDAL with ECW, so I search in google and I find this page:
http://trac.osgeo.org/gdal/wiki/ECW.
That's perfect, but the problem is http://www.ermapper.com/ is down and I can't
get libecwj.
If anybody knows how to get it, please reply to this post.
Thank you!
Cheers,
Hi Nick,
Try calling stopThreading() before you remove the view, and
startThreading() after you've done it.
Robert.
On Wed, Dec 23, 2009 at 3:46 PM, Trajce Nikolov
nikolov.tra...@gmail.com wrote:
Hi Robert,
now I did it outside frame. Id doesnt crash anymore ... but, it hangs at
Hi Samuel,
You can get the ECW SDK from
http://gentoo.cs.utah.edu/distfiles/libecwj2-3.3-2006-09-06.zip if ERMapper
is down.
Thanks!
Jason
On Wed, Dec 23, 2009 at 10:56 AM, Samuel Jarque osgfo...@tevs.eu wrote:
Hi,
I need to build GDAL with ECW, so I search in google and I find this page:
Hi Robert,
now it hangs at
// dispatch the rendering threads
if (_startRenderingBarrier.valid()) _startRenderingBarrier-block();
the same method
Nick
http://www.linkedin.com/in/tnick
Sent from Istanbul, 34, Turkey
On Wed, Dec 23, 2009 at 6:04 PM, Robert Osfield
HI Nick,
On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov
nikolov.tra...@gmail.com wrote:
Hi Robert,
now it hangs at
// dispatch the rendering threads
if (_startRenderingBarrier.valid()) _startRenderingBarrier-block();
the same method
Is this during the the stopThreading() call? After?
here is the code snippet
mLib-getViewer()-stopThreading();
mLib-getViewer()-removeView(view);
mLib-getViewer()-startThreading();
it is called before viewer-frame()
let me investigate this a bit more. I tried to reproduce the problem with
osgcompositeviewer example, but there is works
Nick
Hi,
Thank you it helped the plugin is now installed.
It works perfect with .ive files. However, it shows nothing nothing with 3ds
file, I'm OK with downloading ive files only, but I'm curious why I can't work
with 3DS extentions.
Another issue is how to set proxy setting for passing
there is a picking example in the LMB tutorials (#6)
http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/
And there is a slightly more complete, but more complex example in osgpick in
the main sources
Picking a triangle basically consists of firing a single ray and
Hi,
Can you publish your code where to access the elevation data? At the moment I
try to calculate how much the elevation differenz to the elipsoid must be to
get a flat.
Thank you and merry Christmas,
Torben
--
Read this topic online here:
Hi,
I have a situation where I have a skeleton joint that I need to manually rotate
let's say around the X and Y axis relative to its parent within a max and min
angle limit. In order to check against this limit I need to get the angles of
rotation around these axes from the quaternion that
I figured out the conditions.
In the scene, I have a model that has cameras (pre-render) attached to some
portion of the models via textures. When I load that model, then it hangs.
Without this model, everything looks just fine
Nick
http://www.linkedin.com/in/tnick
On Wed, Dec 23, 2009 at
Hello all,
I think I just came across a bug in 2.9.6, revision 10691. I save a tree
(very simple one) which has been created from importing a tree using the
3ds plugin (log below):
-- LOG BEGINS --
INFO: OSG: Opened DynamicLibrary osgPlugins-2.9.6/osgdb_3dsd.dll
INFO: OSG:
I wanted to capture/print out the current OpenGL version, vendor information
and maybe driver version at program startup. The glGetString() functions and
osg equivalents require an active GL context. Would one create a special
invisible context just to get this information?.
Seems like this
You need a glcontext to query the openGL - because it's possible that some
supported features might depend on the configuration at runtime.
I couldn't find an OSG specific exampel , but this might help
Hi,
I have new issue with SSL and CURL, so I have decided to open new thread.
I conifured my site with SSL and I'm able to download ive file perfectly from
https://servername/1.ive,
however, when I'm using
Node = osgDB::readNodeFile(https://servernmae/1.ive;);
Node is getting NULL.
In
I had to setSceneData(0) before removing the view to make it work,. If you
areintersted I can put a sample test case reproducing the problem
Nick
http://www.linkedin.com/in/tnick
On Wed, Dec 23, 2009 at 8:47 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote:
I figured out the conditions.
In
Hi,
I have an activeX control which simplily render a pagedlod earth and It can
be loaded from IE successfully. But when I press F5 to refresh the page, it
runs into a crash. The callstack snapshot is in the attachment.
The earth is made by vpb with -terrain. And then I also made a test
23 matches
Mail list logo