Hi Robert,
I am using osg 2.6.0 and you're right, osg::Node as well as
osg::Stateset use getRefMutex for protecting the access to the parent
list. However getRefMutex isn't used in the atomic refcounted case and
osg::StateAttribute doesn't use a mutex at all for protecting the
parents.
The method
Hi Robert,
Robert Osfield wrote:
If your frame rate drops when you zoom it suggests you are fill
limited which shouldn't be related to the FBO/PixelBuffer/FrameBuffer
choice for the RTT as it's res is fixed. Hight RT cost would make
give the app less time to do this fill so perhaps the
Hi,
On Friday 10 October 2008 17:27, Björn Blissing wrote:
I have dug down on this problem during the day.
The problem is that the code that checks if ATOMIC should use GCC
BUILTIN fails.
I have traced this failure to the combination of the XEON processor
and GCC version.
But
Hi Hartmut,
I have driven four screens from two cards under linux without
problems, but haven't recently tried this. I also didn't use Xrandr,
and I'm not sure why you say this is needed as running four screens is
possible with just straight configuration of xorg.conf.
The stack trace you have
Hi Hartmut,
On Tue, Oct 14, 2008 at 11:30 AM, Hartmut Seichter
[EMAIL PROTECTED] wrote:
Enabling vsync on all cards/screens worked and it runs ok now.
Good to hear it works, but it's probably just a change in timing that
is avoid the problem, rather than actually solving it.
I traced the
Hi Robert,
Robert Osfield wrote:
It might be that the Nvidia driver/hardware combination doesn't
implement FBO well. Another possibility is that your GPU local memory
is too small and the driver is having to swap things on/off the card.
Do you have any other systems that you could try.
I
Hi Jeremy,
I can see from a
high-level how, if you rotate the entire texture 90 CW, you could use
horizontal texture repeat to achieve the desired effect. This doesn't,
unfortunately, give me any hints as to how to actually implement this in
osgWidget.
You could just rotate sections 3 and 4
Hello all OSG users,
does anyone know about dynamic Level Of Details implementation in OSG?
There are well described algorithms like several types of Hoppe's
Progressive Meshes or Garland's Quadric Error Metrics.
I am wondering if no one made an OSG implementation (or is there some
major
Hi:
I have solved the problem how to get one char's position inside a
osgText::Text;
The purpose is to move cursor when input text.
Here is my code:
updateCursorPos(const std::string string, int position)
{
osg::Vec3 cursor_position = m_inputText-getPosition();
//get the font
Hi Jeremy,
I can see from a
high-level how, if you rotate the entire texture 90 CW, you could use
horizontal texture repeat to achieve the desired effect. This doesn't,
unfortunately, give me any hints as to how to actually implement this in
osgWidget.
You could just rotate sections 3 and 4
Hi Tomas,
On Tue, Oct 14, 2008 at 2:07 PM, Tomas Hnilica
[EMAIL PROTECTED] wrote:
does anyone know about dynamic Level Of Details implementation in OSG?
The VirtualTerrainProject is based ontop of the OpenSceneGraph and
adds a number of CLOD techniques.
There are well described algorithms
On Tue, 2008-10-14 at 09:30 -0400, Jean-Sébastien Guay wrote:
Hi Jeremy,
I can see from a
high-level how, if you rotate the entire texture 90 CW, you could use
horizontal texture repeat to achieve the desired effect. This doesn't,
unfortunately, give me any hints as to how to actually
Hi Richard,
I have made some changes to Referenced, OpenThreads and the various
addParent/removeParent codes to make sure that mutex is used to
protect access to these methods even when atomic ref counting is
enabled.
The solution I opted for was to have a static
osg::Geometry* geom0 = new osg::Geometry;
osg::Geometry* geom1 = new osg::Geometry;
osg::Vec3Array* verts = osg::Vec3Array;
geom0-setVertexArray( verts );
geom1-setVertexArray( verts );
Hope that helps.
-Paul
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aitor
Hi Paul
Thanks a lot for your reply, but unfortunately I think that my question is not
as
simple as you think. Sorry because it was my fault as I did not explain myself
correctly.
The problem is that I must have a single vertex arrays for many
different geometries but each geometry uses only a
Hi Paul
Thanks again for your prompt reply and sorry for my stupid message. As I have
said before, I am completely a beginner in this osg world
I will try to apply your code and see what happens.
Regards,
Aitor
- Mensaje original
De: Paul Martz [EMAIL PROTECTED]
Para:
Hi Robert,
First in the new osgrobot example:
27..\..\..\examples\osgrobot\osgrobot.cpp(154) : error C2065: 'M_PIl' :
undeclared identifier
27..\..\..\examples\osgrobot\osgrobot.cpp(253) : error C2065: 'M_PI_2'
: undeclared identifier
Probably use osg::PI etc?
Second in osgdb_ive:
Hi J-S,
On Tue, Oct 14, 2008 at 4:40 PM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
27..\..\..\examples\osgrobot\osgrobot.cpp(154) : error C2065: 'M_PIl' :
undeclared identifier
27..\..\..\examples\osgrobot\osgrobot.cpp(253) : error C2065: 'M_PI_2' :
undeclared identifier
Probably use
Hi Robert,
I get an email digest and so I have been responding directly with
thunderbird. What should I put in the subject line so that I maintain
the thread? Is what I put above sufficient? Please tell me what to do!
Yes, my last post was really long!!! :-[
I was trying to provide as
Hi J-S,
On Tue, Oct 14, 2008 at 5:41 PM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
And
secondly the ZLIB_INCLUDE_DIRS doesn't seem to be pointing to the
correct place, or... that INCLDUE_DIRECTORIES isn't working here.
The error is that it should be ZLIB_INCLUDE_DIR (without the 'S').
Hi,
I suggest you look at PDF3D (www.pdf3d.co.uk), which is a module that allow
you to easily export your scene to a PDF file. I recently wrote a module that
also allow to dump an OSG based scene graph to a PDF file.
I am sure whether they have already published it. For more information,
Hi Robert,
OK, converted across to osg::PI and osg::PI_2 and checked into SVN.
Ok thanks.
Which does have the INCLUDE_DIRECTORIES directive in there as well, so
a couple of things seem to be in play, first that CMake itself
believes that your have Zlib installed, is this correct?
Yes,
On Sat, 2008-10-11 at 22:30 +0200, alessandro terenzi wrote:
I would like to read pdf documents, process them in some way, and
finally render them inside my osg application.
How can I do it in osg?
I can add this power to osgCairo if you want; would take about an hour.
Thank you. Best
HI Ralf,
On Tue, Oct 14, 2008 at 6:21 PM, Ralph R. Peters [EMAIL PROTECTED] wrote:
Hi Robert,
I get an email digest and so I have been responding directly with
thunderbird. What should I put in the subject line so that I maintain the
thread? Is what I put above sufficient? Please tell me
Hi, all,
I'm now using osgViewer::StatsHandler to measure my scene, the program runs
OK under windows system.
But under my Ubuntu 8.04 the the console output the following message:
*Warning: font file fonts/arial.ttf not found.
*And the stats font is very very small. I just think it load another
Hi Richard,
This morning I awoke with the thought that the new atomic ref counting
code most likely has broken the thread safe
addParent()/removeParent(). To fix this we'll need to reintroduce
another mutex for this task, either one per Object/Referenced or
perhaps a shared one. Mutex's are
Hi,
I spent some time talking to jakub who runs the gcc forum and he disagrees with
you. A digest follows of our exchanges and a link to the entire thread.
A related problem may be that the test for pthread_setaffinity_np fails in
CMake. See my second post from yesterday.
Ralph
Hi Daniel,
This topic is a surprisingly complex one as you're finding out. I
think a couple of areas will need to be worked on to get a good final
result.
First the rendering back end will have to tweaked so that objects are
binned on light grouping they are associated with - this is where
Jeremy, if you have an hour to spare, that would be great!
After I replied to Alessandro to give osgCairo a try I did so myself.
Works like a charm, but the loading of both svg and pdfs is not
directly supported by cairo itself, is it?
For svg, I recall to have played around with a seperate svg
On Tue, 2008-10-14 at 21:59 +0200, Gerwin de Haan wrote:
Jeremy, if you have an hour to spare, that would be great!
After I replied to Alessandro to give osgCairo a try I did so myself.
Works like a charm, but the loading of both svg and pdfs is not
directly supported by cairo itself, is it?
On Tue, 2008-10-14 at 21:59 +0200, Gerwin de Haan wrote:
Jeremy, if you have an hour to spare, that would be great!
After I replied to Alessandro to give osgCairo a try I did so myself.
Works like a charm, but the loading of both svg and pdfs is not
directly supported by cairo itself, is it?
Hi Alex,
It might be that the Nvidia driver/hardware combination doesn't
implement FBO well. Another possibility is that your GPU local memory
is too small and the driver is having to swap things on/off the card.
Do you have any other systems that you could try.
Robert.
On Tue, Oct 14, 2008
Hi
We have used a Dynamic CLOD implementation in the past and it work quite
well on constrained datasets but at processing cost and does not scale
to larger datasets or dense data sets such as LIDAR based.
We are in the process of moving away from a dynamic clod implementation
to an a more
Enabling vsync on all cards/screens worked and it runs ok now. I traced
the segfault down to the statshandler code or better say the the things
it uses. Problem is that valgrind slows down the machine as much so that
the race condition does not get triggered. Maybe I wasn't clear xrandr
is
Hello Robert,
after digging deeper into the interna of GraphicsWindowX11.cpp i've
found a pretty simple hack to use OSG (natively) in QT with
CompositeViewer in multithreded mode. Natively means with a graphics
context created by OSG.
The hack is basically tweaking QOSGWidget from the examples
HI Ralf,
Could you please keep your posts on the same thread so it makes it
possible for others to follow, there are a great many posts that get
posted on osg-users and unless you keep to the thread basically it
becomes unmanageable for us to follow things.
And when you say Hi... and he
Hi Björn,
This is a long shot, but might be worth asking/trying. When you
updating to the atomic ref/count version of the OSG did you remove the
previous OpenSceneGraph/CMakeCache.txt?
Robert.
___
osg-users mailing list
Hi,
On Tuesday 14 October 2008 09:44, Björn Blissing wrote:
The problem is that since the CMAKE script CheckAtomicOps.cmake, that
checks if _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS are available, fails we will
never get to the line: #if defined(_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS)
The code I posted will work for the use case you describe. Indices are part
of the PrimitiveSet; assign a different PrimitiveSet (with different
indices) to each Geometry and they will index into the same vertex array.
-Paul
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
On Tue, 2008-10-14 at 16:07 -0400, Jeremy Moles wrote:
On Tue, 2008-10-14 at 21:59 +0200, Gerwin de Haan wrote:
Jeremy, if you have an hour to spare, that would be great!
After I replied to Alessandro to give osgCairo a try I did so myself.
Works like a charm, but the loading of both svg
Hi HeSiciong,
On Tue, Oct 14, 2008 at 12:51 PM, sicong he [EMAIL PROTECTED] wrote:
Hi, all,
I'm now using osgViewer::StatsHandler to measure my scene, the program runs
OK under windows system.
But under my Ubuntu 8.04 the the console output the following message:
Warning: font file
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Robert Osfield
Skickat: den 14 oktober 2008 12:57
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Problem with
OpenThreads::Atomicwhenbuildingapplication with OSG 2.6.0 on SUSE 10.2
Hi Björn,
Hi all,
Robert accepted last month a submission enabling reporting of builds
to a public dashboard. This submission lacked a public announcement
due to poor documentation. This new feature (BUILD_DASHBOARD_REPORTS
option defaulted to OFF) will permit to some people willing to share
some build
Hi:
Everyone How to Map a image on osg::Cylinder?
Best regards.
YangXiao.
-
雅虎邮箱,您的终生邮箱!___
osg-users mailing list
osg-users@lists.openscenegraph.org
sorry i find a example osgshape have this function,But how to exclude Cylinder
top and bottom plane when map image on it?
Thanks .
YangXiao.
YangXiao [EMAIL PROTECTED] 写道:
Hi:
Everyone How to Map a image on osg::Cylinder?
Best regards.
YangXiao.
Thank you Robert, it works now!
2008/10/14 Robert Osfield [EMAIL PROTECTED]
Hi HeSiciong,
On Tue, Oct 14, 2008 at 12:51 PM, sicong he [EMAIL PROTECTED]
wrote:
Hi, all,
I'm now using osgViewer::StatsHandler to measure my scene, the program
runs
OK under windows system.
But under my
Sorry . I have solved this problem!
YangXiao [EMAIL PROTECTED] 写道:sorry i find a example osgshape have this
function,But how to exclude Cylinder top and bottom plane when map image on it?
Thanks .
YangXiao.
YangXiao [EMAIL PROTECTED] 写道:
Hi:
Everyone How to Map a image on
Hi guys!
I've tested osg particle system and have question how to make independent
from emitter particles.
I explain the situation. If I have static emitter all works fine - gravity
and friction operator but when emitter moves or rotates all movement is
relative from emitter but I think that
48 matches
Mail list logo