Re: [osg-users] DatabasePager question ...

2008-11-13 Thread Adrian Egli OpenSceneGraph (3D)
Hi Robert, I did a review of the HTTP and NON HTTP pager file read. I still use the readNodeFile callback mechansim and this work. But for our work, it's not only there a good idea to pass the custom code, because the generation of the custom database (on the flow) doesn't work as fast as the

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
With OSG 2.7.5, launching osgpick lz.osg and picking trees, I can pick billboards ! So picking on Billboard is really implemented. So, why in my application I cannot pick billboards ? For the picking, are there any necessary things like normals ? parent(s) ? ... ? Thanks for help. Regards,

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Robert Osfield
Hi Melchoir, Which version of Poppler do you have on your system? When I run pkg-config: pkg-config poppler-glib --modversion 0.6 pkg-config poppler-glib --libs -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr

Re: [osg-users] Disabling culling for the entire scene?

2008-11-13 Thread Robert Osfield
Hi Benoit, You are doing the right thing to disable culling, but... the OSG is optimized to switch off the view frustum culling test when it find objects entirely within the view frustum sides so it's likely off for most of your scene anyway. Culling isn't the most expensive operation in the

Re: [osg-users] Introducing osgmemorytest

2008-11-13 Thread Robert Osfield
HI Christophe, Thanks for the extra tests. Your results seem to suggest that Vista/Nvidia drivers don't use swap space effectively and far more restricted than other platforms. It's curious as the window/pbuffer and fbo tests all show good scalability. Robert. On Thu, Nov 13, 2008 at 6:12

Re: [osg-users] DatabasePager question ...

2008-11-13 Thread Adrian Egli OpenSceneGraph (3D)
Ok, i solved it with osg::DisplaySettings::instance()-setNumOfDatabaseThreadsHint(5); osg::DisplaySettings::instance()-setNumOfHttpDatabaseThreadsHint(0); i am not sure this is the right way to implement our behavoiur but ... adrian 2008/11/13 Adrian Egli OpenSceneGraph (3D) [EMAIL

Re: [osg-users] Picking on billboards

2008-11-13 Thread Robert Osfield
On Thu, Nov 13, 2008 at 8:11 AM, Vincent Bourdier [EMAIL PROTECTED] wrote: With OSG 2.7.5, launching osgpick lz.osg and picking trees, I can pick billboards ! So picking on Billboard is really implemented. So, why in my application I cannot pick billboards ? For the picking, are there any

[osg-users] Is The Web Site Down?

2008-11-13 Thread Can T. Oguz
Hi, Tried to download osgmemorytest but can't reach the site. Could you please check? Can ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] DatabasePager question ...

2008-11-13 Thread Robert Osfield
Hi Adrian, I'm afraid I had a real hard time following your post. I think what it boils down to is that you want to be able to choose which DatabaseThreads accept or pass on requests as the http file vs local file requests are appropriate for your tileid based filename handles. I will need to

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
* Robert Osfield -- Thursday 13 November 2008: pkg-config poppler-glib --modversion 0.6 $ pkg-config poppler-glib --modversion 0.10.0 pkg-config poppler-glib --libs -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi

Re: [osg-users] Is The Web Site Down?

2008-11-13 Thread Can T. Oguz
Now I can reach. 2008/11/13 Can T. Oguz [EMAIL PROTECTED] Hi, Tried to download osgmemorytest but can't reach the site. Could you please check? Can ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Camera rotation on three axes

2008-11-13 Thread Steven Saunderson
- From: Paul Melis at 2008-11-05 20:06- Hi Steven, Maybe the following is an easier way to accomplish what you want, as I don't see why you are trying to calculate angles... snip Hi Paul, Thanks for all your help. I've finally tried enough methods to appreciate the differences

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
[undefined reference to `gdk_pixbuf_new_from_data'] osgpdf is the only osg app that isn't linked correctly with LDFLAGS=-Wl,--as-needed. That's apparently globally on on some systems like Gentoo, and also on my non-Gentoo system. The problem is usually that libraries/objects aren't listed in the

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
for the moment : On 2.6.1 : no pick on billboards On 2.7.5 : pick work a little... not very reliable. sometimes billboards are picked, sometimes not... You can see in attached file one of my billboard. Open it with osgpick example, and you will understand... I can't pick the billboard in this

Re: [osg-users] How to achieve blend function?

2008-11-13 Thread Glenn Waldron
Try adding: geometry-getOrCreateStateSet()-setRenderingHint( osg::StateSet::TRANSPARENT_BIN ); Also, I believe you don't need the first setMode(GL_BLEND) because the setAttributeAndModes() call will do this automatically. -gw Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :

Re: [osg-users] DatabasePager question ...

2008-11-13 Thread Robert Osfield
Hi Adrian, On Thu, Nov 13, 2008 at 9:06 AM, Adrian Egli OpenSceneGraph (3D) [EMAIL PROTECTED] wrote: Ok, i solved it with osg::DisplaySettings::instance()-setNumOfDatabaseThreadsHint(5); osg::DisplaySettings::instance()-setNumOfHttpDatabaseThreadsHint(0); i am not sure this is the

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Melchior FRANZ
* Melchior FRANZ -- Thursday 13 November 2008: I couldn't yet figure out how to get the full gcc command line.) OK, I figured it out. Will investigate ... m. ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Which Collada source code for osg2.2.0?

2008-11-13 Thread alessandro terenzi
I need to build the Collada plugin for osg2.2.0, but I cannot figure out which level of Collada source I need...can anyone help me? Thank you very much. Regards. Alessandro ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Introducing osgpdf

2008-11-13 Thread Robert Osfield
Hi Melchoir, On Thu, Nov 13, 2008 at 9:31 AM, Melchior FRANZ [EMAIL PROTECTED] wrote: $ pkg-config poppler-glib --libs -L/usr/local/lib -lpoppler-glib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Hmm, so it should pick

Re: [osg-users] DatabasePager question ...

2008-11-13 Thread Adrian Egli OpenSceneGraph (3D)
Thanks for to take my indent to an review task. may i can help to work out a more general framework for the database pager. the current works nice and fast, but is still not as general as i can be (design) the way to introduce configuration will be really good. and any application can be better

Re: [osg-users] Picking on billboards

2008-11-13 Thread Judd Tracy
I was the one who originally reported the problem and tested the fix for Robert. The problem was that the PickVisitor would not rotate the billboards toward the camera in the traversal for the PickVisitor. So depending on where you were located in the database you would be able to pick some

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
Hi Judd Thanks for you answer. I think I have the same problem, the pick result depends on the direction the camera is looking. I'm not OSG master, and I think you tried to resolve the problem. So, do you think this can be easy to solve ? or is it a big work with current OSG version ? Thanks for

Re: [osg-users] Picking on billboards

2008-11-13 Thread Judd Tracy
Well I don't use the current version and what Robert gave me I had to backport it a little to OSG 2.4, but it was working fine for me. We don't do anything special with setting up the visitor. This is essentially what we do. mLineSegmentIntersector = new LineSegmentIntersector

[osg-users] osg Collada Plugin

2008-11-13 Thread Steffen B.
Hi, i've solved the problem, thanks for your help. What i have done: 1) i turned the specular colour to 0 0 0 2) i have multiply the light colour with the light intensity now it looks realy nice best regards___ osg-users mailing list

Re: [osg-users] Picking on billboards

2008-11-13 Thread Jean-Sébastien Guay
Hi Judd, Vincent, view-GetCamera ()-GetOSGCamera ()-accept (*mIntersectionVisitor); I think that may be essentially what the problem is with your code Vincent, you need to start your visitor from the camera so that the billboard can be rotated to the eye correctly. Is this what you're

Re: [osg-users] Introducing osgmemorytest

2008-11-13 Thread Jean-Sébastien Guay
Hi Robert, I ran the tests on my PC at home, and got some pretty weird results for the last one. See below. I think we're seeing that video card drivers are very inconsistent across versions (which we knew from experience, but now we can quantify it). AMD Athlon 64 X2 4200+, 2GB RAM, Vista

[osg-users] camera translate

2008-11-13 Thread Miriam D'Elia
Hi to all I use in my scene osgGA:: DriveManipulator (), I would like to restrict the movement to right and left, namely eliminating the rotation and retain only the translation. How can I do? Thanks Miriam ___ osg-users mailing list

Re: [osg-users] camera translate

2008-11-13 Thread Tomlinson, Gordon
The simplest way would be for you to write your own manipulator Use can the DriveManipulator as a template and then restrict the input and move as required etc Gordon __ Gordon Tomlinson Product Manager 3D Email : gtomlinson @

[osg-users] Problem with 2D scene

2008-11-13 Thread frankmiller
Greetings osg community, I'm have written a custom MatrixManipulator for a 2D scene and I am experiencing a strange problem. As I pan and zoom around, some of the nodes in the scene disappear abruptly as if they are being culled inappropriately. However, disabling culling has no effect. The

Re: [osg-users] osg Collada Plugin

2008-11-13 Thread Steffen B.
Hi, i've solved the problem, thanks for your help. What i have done: 1) i turned the light specular colour to 0 0 0 2) i have multiply the light colour with the light intensity (multiplier) which is save in the collada file now it looks realy nice best

Re: [osg-users] Problem with 2D scene

2008-11-13 Thread Robert Osfield
Hi Frank, My best guess is that your projection matrix isn't wide enough to encompass your scene and near/far clipping is clipping out the fragments. This may well look like culling, often users do mistake clipping with culling so chase up the wrong part of the pipeline. Robert. On Thu, Nov

Re: [osg-users] osgPPU vs RTT

2008-11-13 Thread Patrick Castonguay
Art, Here are the link to the MPV project: CIGI website: http://cigi.sourceforge.net/ MPV website: http://cigi.sourceforge.net/product_mpv.php From what I can see (and I am not an expert) there is no direct use of osg::Texture, UnitTexture or osg::Camera. It seems to me that osg::Geode,

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
Hi Jean-Sébastien, For the moment I use *view-computeIntersections(x, y, intersections)* with view from : *bool PickHandler::handle( const osgGA::GUIEventAdapter ea,osgGA::GUIActionAdapter aa ){ osgViewer::Viewer* view =dynamic_castosgViewer::Viewer*( aa ); ...}* This is nearly the same

Re: [osg-users] Problem with 2D scene

2008-11-13 Thread frankmiller
Hi Robert, Thanks for the quick response. That was a good suggestion. However it looks like that is not the problem. All of my nodes live on the z=0.0 plane and my projection matrix is osg::Matrixd::ortho( -aspectRatio, aspectRatio, -1.0, 1.0, -1.0, 1.0 ) I have attached a small code sample

[osg-users] Performance expectations

2008-11-13 Thread Ed
As noted in past posts, I am working on porting my native GL app to OSG... But before I get to far down this path, I thought it would be a good idea to ask some questions concerning performance. I have noticed in past postings that OSG can handle thousands of objects, millions of polys and

Re: [osg-users] Performance expectations

2008-11-13 Thread Jean-Sébastien Guay
Hi Ed, Am I expecting too much from OSG? Without knowing more about what exactly you wish to render at more than 1000Hz, it's hard to give a definitive answer. I will just say that if it's possible in raw OpenGL, it's possible with OSG. Depending on your scene, you should even get higher

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Ok. That's a fair enough answer. I assumed that if I, with my mediocre skills, could get the results I did, then OSG should be able to beat it, or at least match it. Also, there is much more I need to do on my app, and it will be difficult without using something like OSG. Ed

Re: [osg-users] Performance expectations

2008-11-13 Thread Robert Osfield
Hi Ed, Could you explain why you need 1000 Hz? I don't know of any display systems that work this fast, 120 Hz is typically the high end in refresh rates of monitors/projectors. Robert. On Thu, Nov 13, 2008 at 4:50 PM, Ed [EMAIL PROTECTED] wrote: As noted in past posts, I am working on

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-13 Thread Argentieri, John-P63223
Paul, Sure enough, removing the PolygonOffset attribute and Polygon Offset Fill mode permitted me to write a valid OpenFlight file. Thank you for providing me with enough information to succeed at this task!!! I've caught up on some serious lost sleep! Just so you are aware, I think there are

Re: [osg-users] Performance expectations

2008-11-13 Thread Argentieri, John-P63223
Are you working for those cyborgs with their faster-than-human robot eyes again? Trying to turn GPU's into incendiary agents? But seriously, if it doesn't have to be rendered in real-time, you can use libavcodec to write OSG output to a movie. I'm not sure exactly what frame rates it supports,

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
I can only say that I am writing an app that will interface with a system that requires a frame rate in excess of 1000Hz. Not trying to be difficult, I just can't give any more details for various reasons. Ed Robert Osfield wrote: Hi Ed, Could you explain why you need 1000 Hz? I don't

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Hard real-time is a requirement. Ed Argentieri, John-P63223 wrote: Are you working for those cyborgs with their faster-than-human robot eyes again? Trying to turn GPU's into incendiary agents? But seriously, if it doesn't have to be rendered in real-time, you can use libavcodec to write OSG

Re: [osg-users] shaders in OSG...

2008-11-13 Thread Mike Weiblen
The only way to turn off a glProgram in GL is glUseProgram(0), there is no glEnable/glDisable. In OSG you do that by creating an empty osg::Program, one with no osg::Shaders attached. Just attach that empty osg::Program where you want to revert to fixed-function. Further details in

Re: [osg-users] Performance expectations

2008-11-13 Thread Robert Osfield
Hi Ed, On Thu, Nov 13, 2008 at 5:32 PM, Ed [EMAIL PROTECTED] wrote: I can only say that I am writing an app that will interface with a system that requires a frame rate in excess of 1000Hz. Not trying to be difficult, I just can't give any more details for various reasons. And later: Hard

Re: [osg-users] Performance expectations

2008-11-13 Thread Mike Weiblen
Just as another general datapoint, and not OSG-specific, we also have requirements for rendering framerates in excess of 10's of kilohertz. Likewise, I cant discuss details, other than we do throw a lot of hardware in that direction. -- mew -- Mike Weiblen -- Boulder Colorado USA --

Re: [osg-users] Teaching an intro to graphics course

2008-11-13 Thread Alberto Luaces
Hi, did you miss the osgModeling project from Wang Rui? http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/34981/match=osgmodeling http://code.google.com/p/osgmodeling/ El Sábado 08 Noviembre 2008ES 02:09:42 Simon Hammett escribió: 2008/11/7 [EMAIL PROTECTED] Thanks Simon,

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Oh good... a brother in misery hardware is a big factor in our work as well. Ed Mike Weiblen wrote: Just as another general datapoint, and not OSG-specific, we also have requirements for rendering framerates in excess of 10's of kilohertz. Likewise, I cant discuss details, other than we

Re: [osg-users] Performance expectations

2008-11-13 Thread Jan Ciger
Hi Ed, I can only say that I am writing an app that will interface with a system that requires a frame rate in excess of 1000Hz. Not trying to be difficult, I just can't give any more details for various reasons. Ed If you are using OpenGL for rendering, why do you need to *render* at

Re: [osg-users] Performance expectations

2008-11-13 Thread Jan Ciger
Oh good... a brother in misery hardware is a big factor in our work as well. Ed Mike Weiblen wrote: Just as another general datapoint, and not OSG-specific, we also have requirements for rendering framerates in excess of 10's of kilohertz. Likewise, I cant discuss details, other

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
It appears that I may have given some mis-information or false impressions regarding my question about high frame rates with OSG. To summarize and clarify: I am not asking for help on how to achieve the very high frame rates, although, I appreciate that people have seemed to offer help,

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Not haptic. Ed Jason Daly wrote: Jan Ciger wrote: Guys, just out of sheer curiosity - what kind of HW is needed to generate such framerates? If you cannot talk about specifics, at least a ballpark idea would be cool to know. Sounds like a haptic device to me. Realistic haptics require

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Jan, Do you mean what kind of GPU is need to generate these framerates? Or what kind of HW is requiring that we produce these frame rates? Ed Jan Ciger wrote: Oh good... a brother in misery hardware is a big factor in our work as well. Ed Mike Weiblen wrote: Just as another

Re: [osg-users] Performance expectations

2008-11-13 Thread Jeremy Moles
On Thu, 2008-11-13 at 14:42 -0600, Ed wrote: Not haptic. Ed Well, I personally think you're building a virtual super intelligence singularity, and I would like to be the first to say woot, Linux. :) Jason Daly wrote: Jan Ciger wrote: Guys, just out of sheer curiosity - what kind of HW is

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
Busted. ;) Ed Jeremy Moles wrote: On Thu, 2008-11-13 at 14:42 -0600, Ed wrote: Not haptic. Ed Well, I personally think you're building a virtual super intelligence singularity, and I would like to be the first to say woot, Linux. :) Jason Daly wrote: Jan Ciger wrote:

Re: [osg-users] Performance expectations

2008-11-13 Thread Jean-Sébastien Guay
Hi Ed, Thanks for clarifying, your situation is interesting even though you can't divulge too much (we always like to know the cool new ways OSG is being used!) For example, I need to add a callback to my viewer, or where-ever it is appropriate, that will be called between the final render

Re: [osg-users] Performance expectations

2008-11-13 Thread Jason Daly
Jan Ciger wrote: Guys, just out of sheer curiosity - what kind of HW is needed to generate such framerates? If you cannot talk about specifics, at least a ballpark idea would be cool to know. Sounds like a haptic device to me. Realistic haptics require force computations (and hence,

Re: [osg-users] Performance expectations

2008-11-13 Thread Jan Ciger
Not haptic. Ed I was more wondering about the HW needed to produce the rendering at such framerates, not what you are driving with it - I guess you cannot talk about that part anyway. Regards, Jan signature.asc Description: This is a digitally signed message part.

Re: [osg-users] Performance expectations

2008-11-13 Thread Ed
J-S, I have just read the thread you started on overriding swapBuffersImplementation() and the last post I saw was written 38 weeks, 5 days, 8 hours and 55 minutes ago (Thanks gmane), at which time, it appeared that you had not completely and satisfactorily completed the task. At that

Re: [osg-users] Performance expectations

2008-11-13 Thread Jean-Sébastien Guay
Hi Ed, I have just read the thread you started on overriding swapBuffersImplementation() and the last post I saw was written 38 weeks, 5 days, 8 hours and 55 minutes ago (Thanks gmane), Wow, I'll give you this: you're thorough :-) at which time, it appeared that you had not completely

[osg-users] cannot get floating-point multisampled FBOs

2008-11-13 Thread Marco Jez
I'm trying to add multisampling capabilities to my floating-point FBOs, but I've found what I think is a bug in osgUtil/RenderStage.cpp. Basically, when I specify a number of samples greater than 0, I actually get a non-floating-point framebuffer. See line 380 in RenderStage.cpp: GLenum

Re: [osg-users] Teaching an intro to graphics course

2008-11-13 Thread Wang Rui
Hi Simon, As Alberto Luaces said, there is an external library for OSG to support various polygon technologies, osgModeling ( http://code.google.com/p/osgmodeling/) is completely new work and not familiar to others. But there have been already Bezier, NURBS, extrusions, revolutions (constructed

[osg-users] build osgdem on osx

2008-11-13 Thread Massimo Di Stefano
Hi, i'm tring to install osgdem on osx 10.5 but after alot of worning message :-/ it fails to build with these error : [ 78%] Building CXX object src/osgGIS/CMakeFiles/osgGIS.dir/Utils.o In file included from /GIS/DEP/osgis/src/osgGIS/Common:26, from

[osg-users] osgswig binary release?

2008-11-13 Thread Phan, Linh H
Hi, I'm having a real hard time compiling osgswig (gotten from osgswig svn) for OpenSceneGraph 2.3.4 on Windows using MinGW or cygwin. The README said that it has been tested with OpenSceneGraph 2.3.4. Does anyone have a pre-built Windows binary for osgswig that they can make available? I

[osg-users] Compile error - ConvertUTF on osgDB in Cygwin

2008-11-13 Thread Brian Keener
Just updated from SVN and tried to compile in Cygwin for a periodic compile test and received the following errors. I cleaned out the build directory and reconfigured and still got the same error. Am I missing some library or ??? Thanks bk Linking CXX shared library

Re: [osg-users] build osgdem on osx

2008-11-13 Thread Glenn Waldron
Massimo, It looks like you are trying to compile osgGIS (not osgdem, which is part of a different package called VirtualPlanetBuilder). The warnings indicate that you have an old version and need to upgrade to the latest SVN head. -gw Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :

Re: [osg-users] Performance expectations

2008-11-13 Thread J.P. Delport
Hi, I've been experimenting with rendering for hardware consumption as well, but this was around 200Hz target rate. If I may ask, what GPU's and drivers are you using? I've fiddled with Xenomai Linux kernels and binary NVidia driver, but have had mixed results. The binary driver has some

Re: [osg-users] osgswig binary release?

2008-11-13 Thread Gerwin de Haan
Dear Linh, I'm not sure the osgswig svn still builds on and is tested on osg 2.3.4 (even when using more mainstream linux compilers or MS visual studio). I personally am still stuck on osg 2.4 (linux), other report that osg 2.6 and up works ok with some known limtiations. We as osgswig