Re: [osg-users] CMake build target INSTALL

2007-09-06 Thread Hartmut Seichter
Ok, the problem seems that Cmake detects a Coin3D 2.4.5 installation only halfway correctly. It is missing the libs and thus I suppose the values from the cache don't make it into the target for the .iv plugin (include directory etc pp). When running the INSTALL target the cmake script craps o

[osg-users] AnimationPathCallback?

2007-09-06 Thread Paul Martz
Has anyone successfully tied an AnimationPathCallback as an update callback to a Camera? If so, is there code available that I could take a look at? Thanks, Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com 303 859 9466 _

[osg-users] CMake build target INSTALL

2007-09-06 Thread Hartmut Seichter
Hi there, two things as of SVN rev 7366 using the INSTALL target in combination with Visual Studio 2003: - osgdb_freetype is not being copied (anyway the plugins folder is not as crowded, I have a hunch that more is missing) - applications like osgversion etc are not copied I did clean cache

Re: [osg-users] osgViewer + Fox Toolkit example

2007-09-06 Thread Markus Hein
Hi Tomas, Markus Hein wrote: Also tested rendering multiple viewer windows of the same scene. It works with some small hacks. regards, Markus Tomas Hnilica schrieb: could you please describe your test of multiple viewer windows? When I add another FOX_OSG_MDIView to the MDICllient,

[osg-users] Possible with BlendFunc?

2007-09-06 Thread Bradford, Chase
Hi Everyone, I'm trying to control transparency of a subgraph from a high level, and I though BlendFunc with BlendColor would be a good way to go. Setting up the two with constant color = (1, 1, 1, opacity_scale) and BlendFunc = (GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA) allows me to

Re: [osg-users] Getting active light

2007-09-06 Thread Ivan Bolčina
Thanks. Just for info, how are lights inherited in osg node tree? 2007/9/6, Robert Osfield <[EMAIL PROTECTED]>: > > On 9/6/07, Ivan Bolčina <[EMAIL PROTECTED]> wrote: > > I have added CameraNode to scene. I want to remove default light from > this > > ode and set a new one. > > Just add a LightSou

Re: [osg-users] Computing Image Co-ordinates

2007-09-06 Thread Harash Sharma
Hi Robert, A sincere thanks to you and Zach for your support. I will try putting in the modelMatrix tomorrow morning. I think I may have escaped any problems since the node in question is directly the child of the root. I am on the completion stage of my OSG based project.

Re: [osg-users] Particle Sorting

2007-09-06 Thread Robert Osfield
Hi Guys, I've haven't dived into the thread so far as I don't really have much wisdom to add. Particles aren't sorted due to the large cost involved in doing the sort. Having all particles from different particle systems would add further high level management complexities to the CPU overhead i

Re: [osg-users] Large Screen Capture - render to texture?

2007-09-06 Thread Robert Osfield
Hi Mark, If you screen resolution is 1280x1024 then OpenGL just manages a window that is that size, do a read pixels of an image larger than this will at best just result in black pixels, but the result will actually be undefined. If you want to create a screenshot at a higher res than the on scr

Re: [osg-users] Link error

2007-09-06 Thread David Callu
ok 2007/9/6, Robert Osfield <[EMAIL PROTECTED]>: > > On 9/6/07, David Callu <[EMAIL PROTECTED]> wrote: > > Hi Anders, Hi Robert, > > > >I introduce the getOsgVertion in osgIntrospection and forgotten to > link > > with osg, Sorry for that. > >But osgIntrospection is totally independant to

[osg-users] Large Screen Capture - render to texture?

2007-09-06 Thread russelmg
I need to get a large screen shot (preferably 2352x1796) of my scene. I followed the basic screengrab code: osg::ref_ptr image = new osg::Image; image->readPixels(x,y,width,height, GL_RGB,GL_UNSIGNED_BYTE); osgDB::writeImageFile(*image,_filename); But it didn't work like I wanted it to. By pas

Re: [osg-users] RTT CompositeViewer

2007-09-06 Thread Robert Osfield
Hi John, RTT Camera's are set up so they all manage their own texture/FBO/Pbuffer they are rendering into. Having multiple RTT Cameras all share the same texture that they are rendering to is rather off the designed usages for RTT Camera, although the osgdistortion examples code path for doing 6

Re: [osg-users] HTML support

2007-09-06 Thread deepti g
Are there any other libraries like llmozlib ... which will help in displaying html in an application ... something which is more OSG friendly :) ? On 8/21/07, Serge Lages <[EMAIL PROTECTED]> wrote: > > On 8/21/07, maruti borker <[EMAIL PROTECTED]> wrote: > > > > I am not able to find that mailing

Re: [osg-users] osgText color

2007-09-06 Thread Robert Osfield
HI Cedric, osgText::Text has its own colour Vec4 for performance and easy of use reason. There are some types of usage when this can be inconvenient, but for the most users it doesn't exactly what they need. This isn't something that is bug, its very much a designed feature. Now for the small

Re: [osg-users] Computing Image Co-ordinates

2007-09-06 Thread Robert Osfield
Hi Harash, Like Zach I've found it difficult working out what you are trying to do. W.r.t compute world coordinates in window coordinates (I presume this is what you mean by image coordinates) is to do: Vec3d windowCoord = objectCoord * (modellMatrix * viewMatrix * projectionMatrix

[osg-users] DDS Writer - Format Bug

2007-09-06 Thread David Spilling
Dear All, Does anybody use the DDS plugin to read and write DDS files? I am a bit confused with regards to RGB vs. BGR; even looking at the DDS plugin code, I'm still not sure: 1) Does the DDS file format _demand_ that the byte order is BGRA? As far as I can tell, it doesn't, because you specify

Re: [osg-users] Getting active light

2007-09-06 Thread Robert Osfield
On 9/6/07, Ivan Bolčina <[EMAIL PROTECTED]> wrote: > I have added CameraNode to scene. I want to remove default light from this > ode and set a new one. Just add a LightSource to its subgraph, as per the osglight example. ___ osg-users mailing list osg-u

Re: [osg-users] Link error

2007-09-06 Thread Robert Osfield
On 9/6/07, David Callu <[EMAIL PROTECTED]> wrote: > Hi Anders, Hi Robert, > >I introduce the getOsgVertion in osgIntrospection and forgotten to link > with osg, Sorry for that. >But osgIntrospection is totally independant to osg. Could be interesting > to reimplement the >getOsgVersion

[osg-users] RTT CompositeViewer

2007-09-06 Thread John Donovan
Hi all, I'm using OSG 2.0.0 and I have a osgViewer::CompositeViewer which is made up of several cameras looking at the scene from different points of view, and all rendering into a regular GraphicsContext. How can I set up my scene to render this composite view into a single texture? I have some co

Re: [osg-users] osgViewer + Fox Toolkit example

2007-09-06 Thread Tomas Hnilica
Hello Marcus, could you please describe your test of multiple viewer windows? When I add another FOX_OSG_MDIView to the MDICllient, both scenes are drawn to the newly created window and the first one is not actualised, mouse actions are token from both windows correctly. (I think this would be

[osg-users] ANN: osgGIS

2007-09-06 Thread Glenn Waldron
The osgGIS project (http://osggis.org) is now online! This is a library that aims to facilitate the integration of GIS vector data into OSG apps, and to be a nice complement to VPB/osgdem. The project is just in its early stages so don't expect the world just yet ;) There is no public SVN access

[osg-users] osgText color

2007-09-06 Thread Cedric Pinson
Hi Robert, I would like what do you think about osgText color behaviour. here the structure: Geode osgText::Text Geometry The geode has a StateSet with a Material (to set the color of the geometry), but the color by default in osgText override the color defined in the M

Re: [osg-users] How to select or pick an object in OSG?

2007-09-06 Thread Alberto Luaces
El Jueves 06 Septiembre 2007 16:05, hesicong2006 escribió: > Hi, > I'm new to OSG and now I 'm trying to do picking (or say selecting) in > OSG. I create a scene by 3DSMAX. It contains a teapot, a box. And then > it is exported by OSGExp to IVE format. > I loaded this scene in my program. I create

Re: [osg-users] Computing Image Co-ordinates

2007-09-06 Thread Zach Deedler
Hello Harash, It is difficult for me to understand what you are trying to do. If you are trying to convert something from 3D coordinates to 2D window coordinates then you want to use this function: sceneView()->projectObjectIntoWindow( position, windowPosition ); _ From: [EMAIL P

Re: [osg-users] Computing Image Co-ordinates

2007-09-06 Thread Harash Sharma
Hi Thanks to all. I now know the problem was probably too simplistic for anyone to waste their precious time. I was able to figure out the way to compute the image co-ordinates from world object co-ordinates. I am writing here the method in case some newbie like me needs it. If the Wo

[osg-users] OGR plugin for OSG

2007-09-06 Thread Christoph Ehrler
Thanks for all suggestions. Actuallly the plugin is found and it's in the right place. The "only" problem is the opening/loading of the plugin dll fails... Maybe I have to change the INSTALL project created by cmake to put the dll in the right directory by "building" the project because just copyi

[osg-users] How to select or pick an object in OSG?

2007-09-06 Thread hesicong2006
Hi, I'm new to OSG and now I 'm trying to do picking (or say selecting) in OSG. I create a scene by 3DSMAX. It contains a teapot, a box. And then it is exported by OSGExp to IVE format. I loaded this scene in my program. I create an PickHandler just like the osgPick does. The core pick functio

[osg-users] Getting active light

2007-09-06 Thread Ivan Bolčina
I have added CameraNode to scene. I want to remove default light from this ode and set a new one. Thanks! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osg::Image::scaleImage in a windowless app

2007-09-06 Thread Jean-Sébastien Guay
Hello Paul, > I don't know perl well but I do know Java very > well and sometimes I just fire up beanshell(*) and don't even bother to > compile anything. It was just too hard to walk on by. Thanks for the pointer to Beanshell, it might be a nice alternative to perl since that language can be

Re: [osg-users] couple more problems in OSG_MSVC_VERSIONED_DLL RE: OpenSceneGraph-2.1.9 dev version released

2007-09-06 Thread Andy Skinner
Luigi, the two issues I mentioned are: * I get two empty sub-directories created in Windows build: lib/osgPlugins-2.1.9, and lib/release. There are no files in them, but they get created. This isn't a big deal for me, it just looks like something that needs to be cleaned up. * The OpenThreads dll

Re: [osg-users] Polygon sorting

2007-09-06 Thread Michele Bosi
Thanks guys, I am still trying to find a way to sort real polygons since performance in my case are not the main concern. Theoretically it shouldn't be difficult at all (to do it for one single geometry) I just need an hook that tells me "hey your geometry is going to be drawn using this matrices/c

Re: [osg-users] Polygon sorting

2007-09-06 Thread Joachim E. Vollrath
Hello, I don't know anything about the data you want to visualize, but in case of isosurfaces of a scalar field you could get correct sorting via GPU Raycasting (a.k.a. volume rendering) if you manage to fit the scalar field into a 3D Texture on the graphics card. Regards, Joachim Michele Bo

Re: [osg-users] Link error

2007-09-06 Thread David Callu
Hi Anders, Hi Robert, I introduce the getOsgVertion in osgIntrospection and forgotten to link with osg, Sorry for that. But osgIntrospection is totally independant to osg. Could be interesting to reimplement the getOsgVersion function in osgIntrospection to keep this independence. Thoug

Re: [osg-users] Light point depth

2007-09-06 Thread Ivan Bolčina
Hi Simon, Could you explain how you implemented your lights on space ship like in * pic22312.jpg*? I too am developing a space ship application ( a home made game in my case) and need same stuff (lights on ship, lens flare, and engine exoust). If you can share some code that would be great! Bye,

Re: [osg-users] Fwd: OGR plugin for OSG

2007-09-06 Thread Robert Osfield
On 9/5/07, Antoine Hue <[EMAIL PROTECTED]> wrote: > Christoph Ehrler wrote: > > OK it's me again... > > > > I started development on the plugin but ran into the following problem: > > When OSG tries to use the generated osgdb_ogr.dll it fails to open it > > (DynamicLibrary::failed loading...). When

Re: [osg-users] How to set up matrices

2007-09-06 Thread Robert Osfield
Have a look at the osghud and osglauncher examples. On 9/5/07, Ivan Bolčina <[EMAIL PROTECTED]> wrote: > Hi. > > I have an object that I want to render using orthogonal projection matrix > onto texture. > > How do I set up projection and view so that the object would fit inside an > rectangle in t

Re: [osg-users] Link error

2007-09-06 Thread Robert Osfield
Hi Anders, Thanks for the note, now add the osg lib and checked into SVN. On 9/6/07, Anders Backman <[EMAIL PROTECTED]> wrote: > Current svn doesnt build due to that osgIntrospection is missing a reference > to osgGetVersion() defined in osg.lib. > > Either something has changed in osgIntrospecti

Re: [osg-users] Line disappearing

2007-09-06 Thread J.P. Delport
Hi, I had a similar problem some time ago, a quad strip would disappear if the initial point was outside the camera FOV. Try ->dirtyBound() on the geometry node you add data to. jp [EMAIL PROTECTED] wrote: > > > I have set up a earth globe view where I have a trajectory line that > "trails

[osg-users] Link error

2007-09-06 Thread Anders Backman
Current svn doesnt build due to that osgIntrospection is missing a reference to osgGetVersion() defined in osg.lib. Either something has changed in osgIntrospection causing this, or a setting in the CMakeLists.txt has disappeared. Therefore the CMakeLists.txt for osgIntrospection should have the