Re: [osg-users] Downloading Binaries

2009-06-08 Thread Mattias Helsing
Hi Christopher, On Mon, Jun 8, 2009 at 2:42 AM, Christopher Wangcwang7...@hotmail.com wrote: Hi,  Sorry, its the binaries from this page. http://www.openscenegraph.org/projects/osg/wiki/Downloads I thought these are for cygwin - •i386 Linux packages built under Ubuntu 9.04, note, these are

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Vincent Bourdier
Hi Robert, ok for KDTree, but the question is : Why an osg2.6.1 file.ive opened by osg2.8.1 using KDtree make a crash ? Sorry I cannot give the file, this is confidential data I'm not allowed to give you. Crash : Unhandled exception at 0x7c812afb in Launcherd.exe: Microsoft C++ exception:

Re: [osg-users] CPU usage

2009-06-08 Thread Florian Winter
Hi, Jean-Sébastien Guay wrote: Hi all, I doubt that's the case if he's just running cow.osg. More likely, VSync is not being properly detected on the ATI system, so the viewer is just running free and not waiting for the frame to be drawn on the screen. I think Jason's guess is right on

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Vincent Bourdier
Update : this sound like a memory problem : when my MV is around 2.0Go, the application crash. I'm not familiar with windows virtual Memory, so i'm not sure of how to increase it. I've trid to set the pagefile to 5Go and the RAM (with a new barett) to 4.0Go (3.2Go for win XP 32bits) but the crash

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Ralph Kern
hi Vincent, Win32 has a 2GB limit on virtual adress space for any single process. Microsoft decided for some reason to half down the available 4GB adress space in 32 Bit. There's some obscure workaround to up this limit to ~3GB, but it is only working on some of the MS operationg systems. See

Re: [osg-users] Texture coords

2009-06-08 Thread Ümit Uzun
Hi Joseba; You should try to use GLSL to accomplish dynamic texture coordinate changing in pretty straightforward way. Regards. 2009/6/8 Joseba Rodriguez jrodrig...@landersimulation.com Hi, Im trying to do some texture animations in different objects (billboards). For this purpose im using

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Vincent Bourdier
Hi Ralf, I'm already using the /3GB option, that's why I don't understand the crash ... Thanks. Regards, Vincent. 2009/6/8 Ralph Kern usene...@rk-se.de hi Vincent, Win32 has a 2GB limit on virtual adress space for any single process. Microsoft decided for some reason to half down the

Re: [osg-users] build errors with 2.8.1

2009-06-08 Thread Robert Osfield
Hi Jason, Your rant shows you didn't grasp the point of my earlier email. A couple of point that must be made clear. All support costs me time and therefore income - I don't get to charge anyone for the time it takes me to do public support, I don't get to charge anyone for making point

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Ralph Kern
Hi Vincent, the problem with the /3GB option is that you also have to setup the /LARGEADRESSAWARE linker flag and check pointer arithmetics in every exe/dll of your app. There are some possible pitfalls on pointer arithmetic because ptrdiff_t is signed 32 bit on Win32. regards Ralph Vincent

Re: [osg-users] Texture coords

2009-06-08 Thread Ulrich Hertlein
Hi Joseba, On 8/6/09 9:42 AM, Joseba Rodriguez wrote: Im trying to do some texture animations in different objects (billboards). For this purpose im using Geometry::setTexCoordArray(unsigned int unit,Array*) in a Update callback. I found out that using this function is quite expensive, making

Re: [osg-users] Texture coords

2009-06-08 Thread Robert Osfield
HI Joseba, I can't see any way that people will be able to point your in the right direction without you being more specific what you are doing with your texture coordinates - for what purpose are you modifying them? Using shaders are typically the best solution for dynamic tex coords but is it

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Vincent Bourdier
Hi Ralf, I'm making a new compil with the /3GB and the /LARGEADRESSAWARE flag ... but do you think I have to compile osg with the same flag ? the crash is in readNodefile ... Thanks for your help. Regards, Vincent. 2009/6/8 Ralph Kern usene...@rk-se.de Hi Vincent, the problem with the

Re: [osg-users] resizedImplementation bug when resizing slave camera

2009-06-08 Thread Alexandre Amalric
Hi Robert, thank you for have interest for my previous post, I'll try the latest svn version as soon as possible. 2009/5/21 Robert Osfield robert.osfi...@gmail.com HI Alexandre, I've now had a chance to have a look at the reproducing the problems using your modified example and data. The

Re: [osg-users] KD tree, OSG 2.6.1, OSG 2.81 and osgExp

2009-06-08 Thread Vincent Bourdier
\o/ That works ! it uses more than 2.4Gb of memory but it finish with the KDTree. Sorry for the panic, it not an OSG bug. Thanks for your help Ralf and Robert. Regards, Vincent. 2009/6/8 Vincent Bourdier vincent.bourd...@gmail.com Hi Ralf, I'm making a new compil with the /3GB and

Re: [osg-users] Texture coords

2009-06-08 Thread Joseba Rodriguez
Hi all, Sorry for not providing much information about the interest of changing text coords. Im working on animating avatar impostors for which im using a billboard with a texture (sprite) of an avatar. With OSG its easy to implement a special kind of billboard for managing sprite animations

Re: [osg-users] Downloading Binaries

2009-06-08 Thread Alberto Luaces
Hi, Mattias is right, building OSG in Cygwin is easy. I'm doing it nearly all days, so if you have any problem, feel free to ask on the list. Regards, Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Texture coords

2009-06-08 Thread Garrett Potts
Hello All: I am not sure but it seems you could create a single texture with different positions of the Avatar. For sprite animation you can setup a normalized 0..1 tex coordinate then set the Texture Matrix to turn that into a window within that texture to use. The texture matrix is

Re: [osg-users] Texture coords

2009-06-08 Thread Garrett Potts
Hello: Oops, just saw a post on this previously from Ulrich suggesting the use of a texture matrix. Sorry for the repeat. Take care Garrett Potts On Jun 8, 2009, at 7:51 AM, Garrett Potts wrote: Hello All: I am not sure but it seems you could create a single texture with different

Re: [osg-users] CPU usage

2009-06-08 Thread Cory Riddell
Hi Robert, On Fri, Jun 5, 2009 at 8:21 PM, Cory Riddellc...@codeware.com wrote: Does anybody see less than 100% CPU utilization when running osgviewer cow.osg on an ATI card? I had just been accepting that as normal. 100% CPU is not normal at all. Yikes! I think

Re: [osg-users] CPU usage

2009-06-08 Thread Cory Riddell
I had my cpu monitor open while running osgviewer. I just noticed that after closing the cpu monitor, my vsync'd framerate immediately jumped to 60 (the monitor native rate). So, it seems that Heisenberg has struck again. I can't measure the thing with out radically changing it. Or perhaps

Re: [osg-users] CPU usage

2009-06-08 Thread Ismail Pazarbasi
On Mon, Jun 8, 2009 at 3:59 PM, Cory Riddellc...@codeware.com wrote: Hi Robert, On Fri, Jun 5, 2009 at 8:21 PM, Cory Riddellc...@codeware.com wrote: Does anybody see less than 100% CPU utilization when running osgviewer cow.osg on an ATI card? I had just been accepting that as normal.

Re: [osg-users] CPU usage

2009-06-08 Thread Robert Osfield
Hi Cory, In general I'd recommend doing all benchmarking with a system as near to final delivery as possible, so no external tools, definitely no debug build, run with vsync on etc. The OSG itself has some performance stats that you can use, for instance osgviewer has the StatsHandler added to

Re: [osg-users] osgManipulator.AntiSquish

2009-06-08 Thread René Molenaar
I reconfirm this same issue in 2.8.1 The solution is simple (AntiSquish.cpp line 149) : // Position if (_usePosition) unsquished.postMult(_position); else unsquished.postMult(_pivot); should be // Position if (_usePosition)

Re: [osg-users] [3rdparty] how do you 'make'

2009-06-08 Thread Paul Martz
'make' is a Unix command. As far as I know, there is no required way to organize your computer. Here's an article I wrote on setting up a Windows box to be an OSG dev platform, but it doesn't go into detail on the non-standard dependencies. I imagine you can put them anywhere you wish, then

Re: [osg-users] osgManipulator.AntiSquish

2009-06-08 Thread Robert Osfield
HI Rene, Could you post the whole modified file, thanks, Robert. 2009/6/8 René Molenaar megamillerz...@gmail.com: I reconfirm this same issue in 2.8.1 The solution is simple (AntiSquish.cpp line 149) :     // Position     if (_usePosition)    

Re: [osg-users] osgManipulator.AntiSquish

2009-06-08 Thread René Molenaar
Sure, here is the complete modified file osgManipulator/AntiSquish.cpp from OpenSceneGraph-2.8.1 The bug is as described above: The dragger's corner tabs are no longer in the corners. this fix places the cornertabs back in the corners. (the manipulator does not make sense otherwise). Grtz,

Re: [osg-users] build errors with 2.8.1

2009-06-08 Thread Jason Daly
Robert Osfield wrote: Hi Jason, Your rant shows you didn't grasp the point of my earlier email. And your responses show that you didn't grasp the point of mine. You seem to still be under the impression that I expect you to continue supporting CMake 2.4.5, no matter what. Let me be

Re: [osg-users] build errors with 2.8.1

2009-06-08 Thread Robert Osfield
Hi Jason, On Mon, Jun 8, 2009 at 4:35 PM, Jason Dalyjd...@ist.ucf.edu wrote: And your responses show that you didn't grasp the point of mine. Um it was mostly a rant... You seem to still be under the impression that I expect you to continue supporting CMake 2.4.5, no matter what.  Let me

Re: [osg-users] build errors with 2.8.1

2009-06-08 Thread Jason Daly
Robert Osfield wrote: Um it was mostly a rant... Then you didn't read it. There were quite a few intelligent points. Sure the first part was a rant (I'd call it a counter-rant to yours), but the rest were well-formed ideas. I have already said that if CMake 2.4.5 is possible

[osg-users] ReaderWriter options for paged data

2009-06-08 Thread Max Bandazian
Hi, I have some paged data with DDS textures, which require the ReaderWriter's dds_flip option to be off, and some other data also with DDS textures that require dds_flip to be on. Here's the problem: The data can be loaded in any order, and if I e.g. - set dds_flip off - load the paged file - set

Re: [osg-users] ReaderWriter options for paged data

2009-06-08 Thread Thrall, Bryan
Max Bandazian wrote on Monday, June 08, 2009 12:09 PM: Hi, I have some paged data with DDS textures, which require the ReaderWriter's dds_flip option to be off, and some other data also with DDS textures that require dds_flip to be on. Here's the problem: The data can be loaded in any

Re: [osg-users] Downloading Binaries

2009-06-08 Thread Christopher Wang
Hi, Thanks guys, I actually have. I've been working with C# from the last 2+ years, so I guess I'm pretty rusty with C++. I did my configure with OSG, ran fine. When I do my make I get OpenGL errors. Any ideas on how to setup my linking on it? Some of the may pages of errors:

Re: [osg-users] ReaderWriter options for paged data

2009-06-08 Thread Max Bandazian
That looks like exactly what I need; unfortunately my project isn't up to 2.8.1 yet, so I don't have that method. There's no way to plug in my own PagedLOD class, is there? On Mon, Jun 8, 2009 at 1:15 PM, Thrall, Bryan bryan.thr...@flightsafety.com wrote: Max Bandazian wrote on Monday, June

[osg-users] [forum] Ray tracing

2009-06-08 Thread Roland Leitner
Hi osg community, my problem is as follows: I will generate a time of flight camera with many rays in osg. Each ray measures the distance between the camera origin point and the terrain in the camera coordinate frame. Camera point and camera coordinate frame are moving with time. I have tried it

Re: [osg-users] How to apply LISPSM shadows to a scene with different shaders - Part 3

2009-06-08 Thread Michael Guerrero
Sorry, that link just isn't working at all for me. Could you give me a different one or someone relay that information here? Thanks for your help, Michael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13710#13710

[osg-users] ImageStream with different sized images

2009-06-08 Thread Jason Beverage
Hi everyone, I'm thinking about how to implement an ImageStream that could display different images based on the status of the image. For example, displaying a Buffering image when data is being downloaded from Internet. I'm using the setImage() function to alter the data of the underlying

Re: [osg-users] ReaderWriter options for paged data

2009-06-08 Thread Jason Daly
Max Bandazian wrote: That looks like exactly what I need; unfortunately my project isn't up to 2.8.1 yet, so I don't have that method. There's no way to plug in my own PagedLOD class, is there? I'm not sure if this will work, but you might look into a ReadFileCallback (look in

Re: [osg-users] Downloading Binaries

2009-06-08 Thread Alberto Luaces
Hi Christopher, I would like to ask you first for your building environment (OSG version, compiler version, operating system, etc) Regards, Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Transparency on geode and shared stateSet

2009-06-08 Thread Andrew Cunningham
I am struggling with the same/similar issue. I want to set the transparency level dynamically ( the user has a slider) of a group in my scene. My understanding is that apart from setting the state GL_BLEND etc it is required to traverse/visit all of the nodes of the sub-graph setting the

Re: [osg-users] Downloading Binaries

2009-06-08 Thread Christopher Wang
Hi, Good question, I have windows XP. I'm using CYGWIN 1.5.25 GCC 3.4.4 and LibGlut 2.4.0 ... Thank you! Cheers, Christopher -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13720#13720 ___

Re: [osg-users] Transparency on geode and shared stateSet

2009-06-08 Thread Jason Daly
Andrew Cunningham wrote: I am struggling with the same/similar issue. I want to set the transparency level dynamically ( the user has a slider) of a group in my scene. My understanding is that apart from setting the state GL_BLEND etc it is required to traverse/visit all of the nodes of the

[osg-users] multiple render targets / cameras

2009-06-08 Thread Bob Youmans
Hi, thanks to the gurus for all the excellent guidance you provide to us lesser mortals.. I can likely mush my way through this but I wanted to ask the opinions of the osg gurus on my design approach before getting mired down in a less desirable approach. We have a geometry graph that we

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Jason Daly
Bob Youmans wrote: My questions are currently: 1.What’s the best way to connect the two cameras so they’re the same position orientation, only rendering to different targets (e.g., update the matrix of one with the other using an update traversal, put both under a transform node in

[osg-users] building 2.8.1 with dcmtk

2009-06-08 Thread John Kelso
On Sat, 6 Jun 2009, Robert Osfield wrote: Hi John, Try removing your OpenSceneGraph/CMakeCache.text file and the re-run ./configure to see if that kicks CMake into properly checking all the dependencies. Also try disabling the aggressive warnings to see if that prevents gcc spitting out

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Bob Youmans
Hi, about the view and slave cameras, i got it, thanks. one is the lo-res view for the GUI and the other is the hi-res (prerender) view for the memory bitmap. does it matter for the master/slave status for prerender vs the displayed camera. Also, how does one turn these on/off? is that easy

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Bob Youmans
Hi, regarding matrixmanipulators, almost all the example have TrackBallManipulator as the view's manipulator, separater from the cameras. So, if i have an update callback on a camera to set its (and its slave) position and orientation, how does that interact with a trackballmanipulator. can

Re: [osg-users] How to apply LISPSM shadows to a scene withdifferent shaders - Part 3

2009-06-08 Thread Wojciech Lewandowski
Michael, Sorry I am not sure whats going on but it looks like forum/osgmail server abbreviates this link somehow. I checked what I sent and it looks like part of link is missing. I attach this link as text file. I hope it will work now. If text attachment gets mangled: Address is

Re: [osg-users] Downloading Binaries

2009-06-08 Thread Christopher Wang
Hi, Side note, these are the steps I am to build it. How to build under Unices (MinGW and Cygwin users: see Windows) With CMake you can build the OSG libraries and executables in the source directory and have the files placed in the lib and bin directories, or you can build out of

[osg-users] ArgumentParser issues on Windows?

2009-06-08 Thread Butler, Lee Mr CIV USA USAMC
The following code works on Linux/Mac but not Windows. Is there something I should realize about ArgumentParser and ApplicationUsage? Maybe it's some Windows/VS2008 thing I've missed? - #include osg/ArgumentParser #include string int main(int argc, char *

[osg-users] Cygwin Compile Question OSG 2.8.1

2009-06-08 Thread Christopher Wang
Hi, I hope nobody minds me spawing another thread on this question, but I think I've moved onto a new question. I am trying to Compile OSG and I'm getting some OpenGL issues. My system: CYGWIN 1.5.25 GCC 3.4.4 LibGlut 2.4.0 some of the many pages of errors

Re: [osg-users] Transparency on geode and shared stateSet

2009-06-08 Thread Andrew Cunningham
Adjusting the material color alpha will work for some geometries but I have other geometries where each vertex has a BIND_PER_VERTEX color ( think of a contour plot of a value), so I would still need to adjust the alpha of each vertex color. -- Read this topic online here:

[osg-users] 2.8.1 Image::readPixels and packing.

2009-06-08 Thread Andrew Cunningham
Image::readPixels() resets the packing of it's Image to 1. It should either take a packing parameter or respect the existing packing by passing _packing to allocateImage -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13732#13732

[osg-users] Layer Opacity using TexEnvCombine

2009-06-08 Thread Jason Beverage
Hi all, I'm trying to figure out a way to modify layer opacity using TexEnvCombine that takes into account the underlying alpha channel of a texture. The osgFX::MultiTextureControl does very close to what I'm looking to do, but doesn't take into account the fact that the underlying texture may

Re: [osg-users] Transparency on geode and shared stateSet

2009-06-08 Thread Jason Daly
Andrew Cunningham wrote: Adjusting the material color alpha will work for some geometries but I have other geometries where each vertex has a BIND_PER_VERTEX color ( think of a contour plot of a value), so I would still need to adjust the alpha of each vertex color. Actually you don't

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Jason Daly
Bob Youmans wrote: Hi, about the view and slave cameras, i got it, thanks. one is the lo-res view for the GUI and the other is the hi-res (prerender) view for the memory bitmap. does it matter for the master/slave status for prerender vs the displayed camera. I don't believe it will

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Jason Daly
Bob Youmans wrote: Hi, regarding matrixmanipulators, almost all the example have TrackBallManipulator as the view's manipulator, separater from the cameras. So, if i have an update callback on a camera to set its (and its slave) position and orientation, how does that interact with a

Re: [osg-users] Cygwin Compile Question OSG 2.8.1

2009-06-08 Thread Jason Daly
Christopher Wang wrote: Hi, I hope nobody minds me spawing another thread on this question, but I think I've moved onto a new question. I am trying to Compile OSG and I'm getting some OpenGL issues. My system: CYGWIN 1.5.25 GCC 3.4.4 LibGlut 2.4.0 some of the many pages of errors

Re: [osg-users] Layer Opacity using TexEnvCombine

2009-06-08 Thread Jason Daly
Jason Beverage wrote: Hi all, I'm trying to figure out a way to modify layer opacity using TexEnvCombine that takes into account the underlying alpha channel of a texture. Do you mean if unit 1's texture has transparency, you want that to show through to unit 0's texture? The

Re: [osg-users] Cygwin Compile Question OSG 2.8.1

2009-06-08 Thread Christopher Wang
Hi, I did, I installed free glut. I got a small opengl program compiling. Perhaps something is missing from the configure script? ... Thank you! Cheers, Christopher -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13739#13739

Re: [osg-users] Cygwin Compile Question OSG 2.8.1

2009-06-08 Thread Philip Lowman
On Mon, Jun 8, 2009 at 8:54 PM, Christopher Wang cwang7...@hotmail.comwrote: Hi, I did, I installed free glut. I got a small opengl program compiling. Perhaps something is missing from the configure script? ... I don't really use Cygwin much but I do have it installed here. Could you try

Re: [osg-users] multiple render targets / cameras

2009-06-08 Thread Mike Wozniewski
It's probably osgViewer::CompositeViewer that you want, not osgViewer::Viewer. There's an example in the source. That way you create two different osgViewer::Views, and each can have it's own manipulator. The control is up to you, but if you want automated rotations and panning, I usually use