Re: [osg-users] Uniquely mark a node

2007-08-10 Thread Robert Osfield
Hi Thomas, When you say uniquely mark a node, for what purpose? Do you need to serialize this mark? In general I'd say the Node pointer itself uniquely identifies it. Is this not sufficient? Alternatively you can attach a custom UserData object to the Node via its s/getUserData method. Or as

Re: [osg-users] OpenGL 3 announced

2007-08-10 Thread Robert Osfield
On 8/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > someone wanted to know when will osg support opengl 3? yes i know the specs > aren't even finalized, but i want to give the guy an answer and not let him > pass in a forum with foul arguments against osg, especially not at heise.de. > ;)

[osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Roger James
Robert, I have come across an issue with the current implementation of osgDB::appendPlatformSpecificLibraryFilePaths on Windows platforms. It is common practice on windows to place copies of the supporting dlls that your program loads in the same directory as the executable. The standard

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread KSpam
Roger, I have run into the exact same problem with a customer install. Thanks for submitting your workaround! Justin On Friday 10 August 2007 04:23:41 Roger James wrote: > Robert, > > > > I have come across an issue with the current implementation of > osgDB::appendPlatformSpecificLibraryFileP

Re: [osg-users] CullVisitor

2007-08-10 Thread Robert Osfield
On 8/10/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > One word of caution though, I haven't yet been able to update the > wrappers to honour the changes to the core API I've made so the > wrappers will be broken. I'm currently working on repair a machine > with a broken disk so my usual build e

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Jean-Sébastien Guay
Hello, > My suggestion is, first let the operating system search for the shared > library, only after that OSG should search for it, probably some OSG > specific library search environmental variable, something like > OSG_PLUGIN_PATH. While I have not had problems with the current behaviour as so

Re: [osg-users] osg + tablet pc / umpc

2007-08-10 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Osfield wrote: > Hi Alessandro, > > It all depends upon the availability of hardware accelerated OpenGL. > > Robert. > Also on what kind of hw accelerated OpenGL is available :( These machines are usually designed to have the longest battery

Re: [osg-users] Retrieving image from a compressed texture

2007-08-10 Thread Robert Osfield
Hi Robert, There isn't a means for retrieving the source uncompressed imagery once it has been compressed as its stored directly in the osg::Image in its compressed form. Robert. On 8/10/07, Robert Balfour <[EMAIL PROTECTED]> wrote: > I have loaded a textured .osg model, and then retrieved the i

Re: [osg-users] osg + tablet pc / umpc

2007-08-10 Thread Robert Osfield
Hi Alessandro, It all depends upon the availability of hardware accelerated OpenGL. Robert. On 8/10/07, alessandro terenzi <[EMAIL PROTECTED]> wrote: > Is it possible to build OSG applications targeted for tablet pc or UMPCs > (ultra mobile pc)? > > I'm quite new to those kind of PCs and, as far

[osg-users] osg + tablet pc / umpc

2007-08-10 Thread alessandro terenzi
Is it possible to build OSG applications targeted for tablet pc or UMPCs (ultra mobile pc)? I'm quite new to those kind of PCs and, as far as I know, they use not very common processors and video cards, so I wonder if it is possible to run OSG on those machines and how performances could be... Th

Re: [osg-users] 64 bit warning

2007-08-10 Thread Robert Osfield
Hi Andy, Changing to size_t would probably be O.K. W.r.t compiler with older versions of the OSG, you should really get almost all the same warnings as before if you are using the same compiler, things like TemplateArray haven't changed since a long time before 1.0. Robert. On 8/10/07, Andy Ski

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Robert Osfield
On 8/10/07, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > Hello, > > > My suggestion is, first let the operating system search for the shared > > library, only after that OSG should search for it, probably some OSG > > specific library search environmental variable, something like > > OSG_PLUGIN

[osg-users] getRotate() on non-orthogonal matrix

2007-08-10 Thread Robert Penn Taylor
Does getRotate() on a matrix with scale components return the pure rotation? Is a full decompose() the more reliable (correct?) way to get the rotation out of a non-orthogonal matrix? Is this documented anywhere? As a side issue, why are tricky little functions Matrix::rotate(), Matrix::setRot

Re: [osg-users] CullVisitor

2007-08-10 Thread Robert Osfield
Hi Serge, On 8/10/07, Serge Lages <[EMAIL PROTECTED]> wrote: > The weird thing is that after you've introduced the Renderer class I've > tested it and everything worked well. The problem seems to come from a > recent commit. I've tracked down the problem to the use of the CullVisitor copy constru

Re: [osg-users] 64 bit warning

2007-08-10 Thread Andy Skinner
Although we have an old version of OSG compiled on Solaris, we weren't using it. Our code had a special ifdef for platforms that we didn't have working yet. So I'm adding the Solaris compiler. That's why we have the warnings now. andy -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePathson Windows

2007-08-10 Thread Roger James
I can only approach this from a windows perspective. Other people will need to look at the linux behaviour. I believe that the current behaviour of DynamicLibrary::LoadLibrary is correct. i.e. Search the OSG supplied paths first then use the default OS behaviour. This allows a user to override

Re: [osg-users] Using the osgManipulator Draggers withosgUtil::SceneView

2007-08-10 Thread Joan Slottow
Luc Thank you for answering my question about this on July 27. > Hi Joan, > I'm using osgManipulator with vrjuggler and it works quite well. > You juste have to create a dummy osgGA::GUIActionAdapter en create a > osgGA::GUIEventAdapter that maps VRJuggler events. > I recently introduce t

Re: [osg-users] OSG BOF at SIGGRAPH a success

2007-08-10 Thread Mike Weiblen
No. Even the largest size would fit only a osgHottie. -- mew On 8/10/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > One has to ask... was the OSG Thong worn :-) > > As a general note, today I'll put up a page on the wiki for all the > 2007 BOF presentations. I'll put my two up,

Re: [osg-users] Uniquely mark a node

2007-08-10 Thread Thomas Giricz
Hello, I should have said more precisely, what I want. I'm looking for a way to distinguish between the nodes generated by my application and those loaded from the external user-generated scenegraph. And I'm not sure, if a description is the best way to do this. I think a custom UserData object is

Re: [osg-users] GDAL plugin moved from VirtualPlanetBuilder back into core OpenSceneGraph

2007-08-10 Thread Robert Osfield
Hi J.P, On 8/7/07, J.P. Delport <[EMAIL PROTECTED]> wrote: > on my Debian system gdal.h lives in: > /usr/include/gdal/ I'm using Kubunto right now and used the standard GDAL install which has gdal.h in /usr/include/ and in /use/include. It picks it up from /usr/include and compiles just fine. C

Re: [osg-users] OpenGL 3 announced

2007-08-10 Thread Serge Lages
On 8/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > http://www.opengl.org/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic;f=3;t=015351;p=0 > > > The OpenGL ARB officially announced OpenGL 3 on August 8th 2007 at > > the Siggraph Birds of a Feather (BOF) in San Diego, CA. OpenGL 3 is > > the off

Re: [osg-users] CullVisitor

2007-08-10 Thread Serge Lages
Hi all, On 8/9/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > Hi Adrian, > > On 8/8/07, Adrian Egli <[EMAIL PROTECTED]> wrote: > > The camera's setComputeNearFarMode doesn't affect the wished behaviour: > > > > > > osg::Viewer* m_OSGViewer > > > > > m_OSGViewer->getCamera()->setComput

Re: [osg-users] OSG BOF at SIGGRAPH a success

2007-08-10 Thread Robert Osfield
Hi Mike, One has to ask... was the OSG Thong worn :-) As a general note, today I'll put up a page on the wiki for all the 2007 BOF presentations. I'll put my two up, and one from Jose, others can add their own when possible. Robert. ___ osg-users mail

Re: [osg-users] how to set frustum on camera slaves

2007-08-10 Thread Robert Osfield
Hi Johan, The slaves can either be relative to the master camera with the local slave projection and view offsets post mulitply this to give you the final view and projection matrix of the slave, or independent of the master camera when the slave camera defines both the view and projection matrix

Re: [osg-users] CullVisitor

2007-08-10 Thread Robert Osfield
On 8/10/07, Serge Lages <[EMAIL PROTECTED]> wrote: > Just to say that I have updated this morning and got this problem too. > viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); > Has no effect. :/ Frustratingly I did actual have this working well before 2.0, so

[osg-users] OpenGL 3 announced

2007-08-10 Thread [EMAIL PROTECTED]
http://www.opengl.org/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic;f=3;t=015351;p=0 > The OpenGL ARB officially announced OpenGL 3 on August 8th 2007 at > the Siggraph Birds of a Feather (BOF) in San Diego, CA. OpenGL 3 is > the official name for what has previously been called OpenGL Longs > Peak. Op

Re: [osg-users] CullVisitor

2007-08-10 Thread Serge Lages
On 8/10/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > On 8/10/07, Serge Lages <[EMAIL PROTECTED]> wrote: > > Just to say that I have updated this morning and got this problem too. > > > viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); > > Has no effect. :/

[osg-users] Uniquely mark a node

2007-08-10 Thread Thomas Giricz
Hello, my application loads a user-generated scenegraph but also creates its own nodes. I want to identify the self-generated nodes uniquely. I thought of using a description, but this is never necessarily unique, because the user might accidently create just the same description string in one of

Re: [osg-users] osg + tablet pc / umpc

2007-08-10 Thread alessandro terenzi
Actually, the kind of application I'm interested in, is exactly a mobile augmented reality system so, could you please tell me what tablet pc your master students used? Thank you. Best regards. Alessandro On 8/10/07, Jan Ciger <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > H

[osg-users] Retrieving image from a compressed texture

2007-08-10 Thread Robert Balfour
I have loaded a textured .osg model, and then retrieved the image [getImage()] associated with each texture. This worked fine. The I used osgconv to convert the .osg to an .ive, using --compressed-dxt3 to compress the textures. Now when I load the .ive and retrieve the image associated with each

[osg-users] 64 bit warning

2007-08-10 Thread Andy Skinner
We're getting warnings on solaris 64 about truncations for methods that return something like vector::size() (which is size_t) using type unsigned int. For example, TemplateArray::getNumElements(): unsigned int getNumElements() const { return this->size(); } For regular methods, we may

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Robert Osfield
On 8/10/07, Orhun Birsoy <[EMAIL PROTECTED]> wrote: > > No I disagree, if you are setting OSG paths explictly its because you > > have something specific in mind - these should come before the OS > > directories otherwise you'd never be able to have a localised OSG > > install. > > > > But dependin

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Orhun Birsoy
> No I disagree, if you are setting OSG paths explictly its because you > have something specific in mind - these should come before the OS > directories otherwise you'd never be able to have a localised OSG > install. > But depending on LD_LIBRARY_PATH to do that is not the way to do it. This art

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Orhun Birsoy
Thanks for bringing this up. It almost the same under linux as well. It adds the paths in LD_LIBRARY_PATH to the filename and even worse it also adds "./" to the filename. Especially the last one causes the rpath linker option not to work, which is IMO the correct way to specify shared library sear

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePathson Windows

2007-08-10 Thread Jean-Sébastien Guay
Hello Roger, Thinking about this again, I wonder if we're looking at this correctly. What DLLs will OSG try to load using LoadLibrary? Normally, only plugins will need to be loaded that way, because the "normal" OSG libraries (osg.dll, osgViewer.dll, etc.) will not be loaded dynamically, b

Re: [osg-users] osgDB::appendPlatformSpecificLibraryFilePaths on Windows

2007-08-10 Thread Orhun Birsoy
> > I think you're heading off on a bit too much of one variable war path. > The OSG doesn't just depend upon LD_LIBRARY_PATH, oggDB::Registry > sets up platform specific paths which include LD_LIBRARY_PATH, these > are the defaults. OK. I didn't know there was a variable war path as well :). I'

Re: [osg-users] osg + tablet pc / umpc

2007-08-10 Thread Stefan Kombrink
Hi, I am running OSG on a Samsung Q1 (Intel 945M) on occasion. It is pretty limited with regards to number of vertices processed per sec, but I don't use textures/transparency for instance and this might gain some performance. Osgviewer performs well on the sample datasets, however (not for 3d te

[osg-users] osgplanets modification Question

2007-08-10 Thread Cysneros, Nelson SPAWAR
On the osgplanet example, if I wanted to view any selected planet and have it be my center of focus, while still being part of the overall simulation, what would be the best way to do this? 1. Attach a camera to every planet, and when selected pass the camera to the main view. osg

[osg-users] How to set cursor in OSG?

2007-08-10 Thread guiyesi
Hello ,I'm a new in osg. LastWeek,I see some works of VR .I find that many of them have a beautifulcursor.I want to Load a cursor from file("arrow.ani") in a very simple program just like:#include #include int main(){ osg::ref_ptr viewer = new osgProducer::Viewer() ;viewer->setUpViewe

Re: [osg-users] OpenGL 3 announced

2007-08-10 Thread Gordon Tomlinson
Hi Y'all Having attended the SIGGRAPH OpenGL Bof the first thing you have to realize about OpenGL 3.0 is that it is NOT an extension to 2.x it's a very new beast with some cross over but the changes to OGL3.0 are very very intrusive to the way OSG or any Scenegraph works or even OpenGL program, a

Re: [osg-users] Changing the loaded osg file with user interaction

2007-08-10 Thread maruti borker
I was not able to edit the mesh data.. can u give some more refernces ?? On 8/8/07, Alberto Luaces <[EMAIL PROTECTED]> wrote: > > El Martes 07 Agosto 2007, maruti borker escribió: > > HI everyone > > I am a n00b in OSG and i am using OSG 2.0 in linux . > I > > wam developing a s