[osg-users] Error while building Virtual Planet Builder

2007-09-21 Thread om
hi, I am using Open Scene Graph version 2.1.11 and I have checked out latest version of Virtual Planet Builder dated 20/09/07. I am getting the following errors while build. /VirtualPlanetBuilder/src/vpb/DatabaseBuilder.cpp: In member function `bool TemplateSerializerC, P::read(osgDB::Input,

Re: [osg-users] Error while building Virtual Planet Builder

2007-09-21 Thread Robert Osfield
Hi Omkaranathan, You'll need to use the SVN version of OSG for the SVN version of VirtualPlanetBuilder (VPB). VPB is undergoing a lot of structural changes right now so is not appropriate to use a base until I've got further through this work. If you want a stable version you'll need to use the

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-21 Thread Alberto Luaces
Hi Robert, thanks for the information about the contexts. Now my task seems to me easier that I thought. I'm subclassing from osgViewer::GraphicsWindow, so I think I'll have to take account for the context IDs and the osg::State, as the osgwxviewer does (though only for one view). Anyways, I

Re: [osg-users] 'loosing' textures? = How to create a proper .osg file with multi-texturing?

2007-09-21 Thread Raymond de Vries
Hi Robert, State the leaks out of one subgraph into the next is typically down to some geometry not having color or normal arrays attached to them when they need it, or in your case it could be that your are enabling the second texture unit for all the scene, but only defining tex coords for

Re: [osg-users] OpenSceneGraph with Qt multiple windowing problem

2007-09-21 Thread Robert Osfield
Hi Alberto, On 9/21/07, Alberto Luaces [EMAIL PROTECTED] wrote: thanks for the information about the contexts. Now my task seems to me easier that I thought. I'm subclassing from osgViewer::GraphicsWindow, so I think I'll have to take account for the context IDs and the osg::State, as the

[osg-users] How to activate precaching of textures on current version?

2007-09-21 Thread Carlos Zoido
Hi all, Could anyone please tell me how can i activate the textures precache in current stable version ? In the past I had this piece of code to do that task, wich piece of code would substitute this one ? for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator

Re: [osg-users] How to activate precaching of textures on current version?

2007-09-21 Thread Robert Osfield
Hi Carlos, The osgViewer automatically pre compiles the subgraph when the windows are created. Is it that you are looking for a compile pass during the running of the app? Robert. On 9/21/07, Carlos Zoido [EMAIL PROTECTED] wrote: Hi all, Could anyone please tell me how can i activate the

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-21 Thread Adrian Egli
Hi Roberts i am working on the texture selection in GLSL, but unfortunately the gl_FragCoord.z is not for all situation between 0 .. 1. I n some cases, if a triangles, has a visible part in the [near,far] range and a hidden part behind the current viewing camera near, the value is from x..1, with

Re: [osg-users] ive format and includeImageFileInIVEFile does itlosereferences to same image?

2007-09-21 Thread Roger James
I now publicly admit that this whole thread had been nonsense. The writer does maintain a map of statesets so duplicating image data is in fact very rare. I still don't understand how a 2.3Mb (uncompressed) dae file plus 0.3Mb of jpeg data ends up as a 20Mbyte ive file! Roger I will

Re: [osg-users] problem with HDR, values clamped?

2007-09-21 Thread Benoit bossavit
ok, now I understand :) thanks for your answer bnua 2007/9/21, Art Tevs [EMAIL PROTECTED]: Hi, Benoit. Yes there is a kind of clamp. 16 Bit float values can only represent values upto 65504. Thus it is a good practice to add something like: color = min(color, 65504); At the end of

Re: [osg-users] ive format and includeImageFileInIVEFile does itlosereferences to same image?

2007-09-21 Thread Serge Lages
If you don't specify it, you image data will be written uncompressed, and it can explain the size of the ive file. To have your images written in a compressed format add to your option string : compressImageData JPEG_QUALITY 90 (for rgba images you have similar options with the PNG plugin) On

[osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Serge Lages
Hi, I have just updated and tried to build but I am having this error on the osgViewer plugin : Compiling... ReaderWriterOsgViewer.cpp CompositeViewer.cpp Viewer.cpp View.cpp Generating Code... Linking... Viewer.obj : error LNK2001: unresolved external symbol public: virtual class osg::Object *

Re: [osg-users] ive format and includeImageFileInIVEFile doesitlosereferences to same image?

2007-09-21 Thread Roger James
Serge, I was running osgconv with includeImageFileInIVEFile set, so it should have been streming the jpegs into the ive file. If I run osgconv with no options the file is not much bigger (about 23MByte). Roger _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [osg-users] BUG?: mouse coordinate changes after window move

2007-09-21 Thread Leif Delgass
On 9/21/07, Robert Osfield [EMAIL PROTECTED] wrote: HI Lief, Thanks for the looking into this. I'm open to your suggest for a virtual fullscreen method. Possible this could be wrapped up into the setWindowRectangleImplementation which is automatically detects that the dimensions are

[osg-users] using Mesa instead of opengl

2007-09-21 Thread Jonathan Richard
Hi, did someone try to run open scene graph with Mesa instead of opengl? Is it working? Or is it possible to use 16 bits color channel with opengl instead of 8 bits color channel? Thanks Jo ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] using Mesa instead of opengl

2007-09-21 Thread Andy Skinner
We have used Mesa with OSG, and it seems to have worked for us. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Richard Sent: Friday, September 21, 2007 10:42 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] using Mesa instead

[osg-users] osgdb_dae - Collada runtime database

2007-09-21 Thread Mattias Linde
Hi Robert, When a Collada file is read in and parsed (with osgdb_dae plugin) the contents is stored in a runtime database. The data is accessed through a DAE interface which have load and save functionality and methods to access the object model. Since we are working with both Collada for

Re: [osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Robert Osfield
HI Serge, Sorry about this error. I've been checking in a set of changes to osgViewer and the osgViewer plugin for the support the reading of viewer configuration files. There has been a series of check-ins, so there is chance that the error you've seen is now fixed. Could you do another svn

Re: [osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Jean-Sébastien Guay
Hello Serge, Should it be possible to tell CMake to continue to install even if it didn't find one of the plugins ? I agree, this would be very useful. Sometimes a given (optional) plugin does not compile or link, and then in INSTALL target tries to copy everything in the right place and

Re: [osg-users] osgdb_dae - Collada runtime database

2007-09-21 Thread Robert Osfield
Hi Mattias, I'm not particularly up to speed on the Collada plugin (I'm not the author of it) so only can speak at very high level w.r.t OSG integration. If you want extra information into a plugin one uses the Options object, potentially you could use this to pass back extra plugin related data

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-21 Thread Robert Osfield
Hi Adrian, On 9/21/07, Adrian Egli [EMAIL PROTECTED] wrote: No problem, i played arround and got new variant of shading. the latest version is using antialised shadow mapping, of course it needs some calculation's for doing this, but the result looks much nicer. latest pssm code will be

Re: [osg-users] BUG?: mouse coordinate changes after window move

2007-09-21 Thread Robert Osfield
On 9/21/07, Robert Osfield [EMAIL PROTECTED] wrote: setWindowRectangle(x,y,width,height,enableDecoration); Would this help things? I forget to see enableDecroation above would be a bool. Robert. ___ osg-users mailing list

Re: [osg-users] BUG?: mouse coordinate changes after window move

2007-09-21 Thread Robert Osfield
Hi Lief, On 9/21/07, Leif Delgass [EMAIL PROTECTED] wrote: I just tried the approach of setting the fullscreen state in setWindowRectangleImplementation, and this works without changing the GraphicsWindow base class. The only issue is: it has the side effect that changing the window size to

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-21 Thread Adrian Egli
Thanks Paul, fixed in my private working directory. /adegli 2007/9/21, Paul Melis [EMAIL PROTECTED]: Adrian Egli wrote: For those you are interest in see how the latest version looks like... There is a slight compile issue with gcc: ShadowPSSM.cpp: In member function 'virtual void

Re: [osg-users] debug plugin library names under linux

2007-09-21 Thread Andy Skinner
I'm running into another problem now. On Windows, I wasn't able to use the osg plugin. The library was osgplugins-2.1.22/osgdb_osgd.dll. I renamed it to osgdb_osg.dll, and it worked. So it seems to have not found the plugin with the 'd' in it. Is there a bug with how we find the plugin

Re: [osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Serge Lages
On 9/21/07, Robert Osfield [EMAIL PROTECTED] wrote: HI Serge, Sorry about this error. I've been checking in a set of changes to osgViewer and the osgViewer plugin for the support the reading of viewer configuration files. There has been a series of check-ins, so there is chance that the

Re: [osg-users] debug plugin library names under linux

2007-09-21 Thread Serge Lages
On 9/21/07, Andy Skinner [EMAIL PROTECTED] wrote: I'm running into another problem now. On Windows, I wasn't able to use the osg plugin. The library was osgplugins-2.1.22/osgdb_osgd.dll. I renamed it to osgdb_osg.dll, and it worked. So it seems to have not found the plugin with the 'd'

Re: [osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Serge Lages
On 9/21/07, Serge Lages [EMAIL PROTECTED] wrote: On 9/21/07, Robert Osfield [EMAIL PROTECTED] wrote: HI Serge, Sorry about this error. I've been checking in a set of changes to osgViewer and the osgViewer plugin for the support the reading of viewer configuration files. There has

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-21 Thread Adrian Egli
Hi Robert, I will posting it to the OSG submission ( [EMAIL PROTECTED]) as soon as i have rebuild it myself (SVN version of OSG). there is a little issue i have to / like to fix before sunday. I tested it on ATI and NVidea the polygonOffset is quite different for ATI : Factor = -0.02f, Unit

[osg-users] OSGEXP

2007-09-21 Thread Bill Castello
I'm unable to use the installer for this because it doesn't locate my copy of 3DS Max. Shouldn't it give me an option to manually locate Max if it can't find it? Possible that because I'm using the evaluation version that the installer isn't seeing it where it expects to? -bc

[osg-users] ScalarBar Text Properties (UNCLASSIFIED)

2007-09-21 Thread Craig, Joel S. (SED/TMI)
Classification: UNCLASSIFIED Caveats: NONE Greetings, We use a ScalarBar in our app (OSG 2.0, x86-dual core, Red Hat). When it is created, we get the warning that the file fonts/arial.ttf cannot be found. We have our fonts files in a different location (under a configuration directory,

Re: [osg-users] SVN osgViewer plugin build error

2007-09-21 Thread Robert Osfield
On 9/21/07, Serge Lages [EMAIL PROTECTED] wrote: Just updated but it fails again to build. but you should resolve it easily : \openscenegraph\src\osgviewer\compositeviewer.cpp(122) : error C4716: 'osgViewer::CompositeViewer::readConfiguration' : must return a value Now fixed and checked in.

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-09-21 Thread Robert Osfield
On 9/21/07, Adrian Egli [EMAIL PROTECTED] wrote: Hi Robert, I will posting it to the OSG submission ([EMAIL PROTECTED] ) as soon as i have rebuild it myself (SVN version of OSG). there is a little issue i have to / like to fix before sunday. I tested it on ATI and NVidea the polygonOffset

Re: [osg-users] texturing osgSim::SphereSegment

2007-09-21 Thread Robert Osfield
Hi Sylvain, osgSim::SphereSegment is very specialist class that has been designed not to be used with texturing, and its complex shape preclude any easy tex coord mapping for them Is there a reason why you aren't just rolling your own osg::Geometry? This is exactly how I'd set up a sphere