Re: [osg-users] What are txf and tpf files ?

2009-07-29 Thread Mach Bhai
I tried changing both LOD and Eye point but it didn't work. As an after thought i opened task manager to monitor the memory consumption of osgviewer and then loaded the txp file. There was no increase in memory consumption which was a bit disappointing. Then i opened another simpler txp and

Re: [osg-users] Callback for actors being culled?

2009-07-29 Thread Martin Scheffler
By digging some more I found an old forum message that answers my question, so please disregard my request. http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg16202.html Cheers, Martin -- Read this topic online here:

Re: [osg-users] svn error during checkout

2009-07-29 Thread Jose Luis Hidalgo
Hi S., Months? are you having problems with svn for months? That changes everything, I'm still having troubles to find out what could be happening, it's a weird error that could be from Apache, Apr, Subversion... and there is no much info in the logs. But I'm working on it. JL. On Wed, Jul

Re: [osg-users] problems with svn repository

2009-07-29 Thread Ulrich Hertlein
On 28/07/09 8:37 PM, Paul Martz wrote: Hi JL-- This problem is not limited to TortoiseSVN on Windows. I see the same thing when I try to svn checkout on OS X. I didn't have any problems with OS X (update) or Linux (checkout) today or over the last few days. /ulrich

Re: [osg-users] svn error during checkout

2009-07-29 Thread Marcus Fritzsch
Hello, I am having thit same error when trying to use OSG svn through a corporate proxy. Just 2 cents of info. cheers, Marcus On Wed, Jul 29, 2009 at 10:08 AM, Jose Luis Hidalgojoseluis.hida...@gmail.com wrote: Hi S.,   Months? are you having problems with svn for months? That changes

Re: [osg-users] svn error during checkout

2009-07-29 Thread Jose Luis Hidalgo
Hi All, Could you try again? I've changed some apache timeouts (there were too short), and now I can make checkouts with no dropped connections. TortoiseSVN makes long pauses during the communication with the server, that's why we have more troubles with it than with other svn clients. I hope

[osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hello, I'm new to OSG and WPF (though I've read quite a view tutorials the past 2 weeks) so I hope I don't ask too many stupid questions :) Task I have to program something very similar to a CAD-program. The program should be able to load files (stl-files) and you should be able to manipulate

Re: [osg-users] Serializing / Deserializing an osg::Node to memory pointer

2009-07-29 Thread Andrew Thompson
Hi there, I finally got around to implementing this functionality (!!) - it works great with osg as the target format, but with ive the getReaderWriteForExtension call returns null. I assume I am missing an environment variable or something and the OSG cannot find the correct plugin? For

[osg-users] create a image

2009-07-29 Thread Martin Großer
Hello, I would like create a Image. I read the mail osg Image data in the archive of the mailing list. And I try it: const long size = width*height*3; unsigned char* data = (unsigned char*)calloc(size, sizeof(unsigned char)); for(long i=0; i size ; i+= 3) { data[i] = 1;//red

Re: [osg-users] create a image

2009-07-29 Thread David Spilling
Martin, I think you want this: data[i] = 255;//red David ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] create a image

2009-07-29 Thread Martin Großer
Year! That is right. I feel awful about this mistake. First I try GL_FLOAT and I forget to change the value from 1 to 255. Thanks for your help. Martin Am 29.07.2009 11:39, schrieb David Spilling: Martin, I think you want this: data[i] = 255;//red David

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-07-29 Thread Peter Clemenko III
I have the latest binary of Cmake, and this is a larger version of the image) [Image: http://i16.photobucket.com/albums/b15/Th3Flyboy/issue.jpg ] as far as the dependencies goes, it doesn't even get me that far to ask for that Peter -- Read this topic online here:

[osg-users] osg::View::computeIntersections and Shaders

2009-07-29 Thread Harold Comere
Hi all, I will time to explain my problem clearly this time :) I use osg::View::computeIntersections to get the picked node. When a node is picket, i apply a shader effect. The select effect is done by a class SelectEffect wich inherate of osgFX::Effect. To apply the select effect i insert a

[osg-users] Optimizer changes LOD rangemode

2009-07-29 Thread Fabien Dachicourt
Hi All, Using osg 2.8, it seems that the optimizer option COMBINE_ADJACENT_LODS doesn't take care of LOD rangemode. LOD children with rangemode PIXEL_SIZE_ON_SCREEN are merged in a LOD with rangemode DISTANCE_FROM_EYE_POINT. Regards, -- Fabien

Re: [osg-users] create a image

2009-07-29 Thread Mourad Boufarguine
Martin, And for the second question, yes, you can use 16 bits per channel. GL_UNSIGNED_BYTE means 8 bits per channel, so GL_UNSIGNED_SHORT is for 16 bits. Mourad 2009/7/29 Martin Großer grosser.mar...@gmx.de Year! That is right. I feel awful about this mistake. First I try GL_FLOAT and I

Re: [osg-users] create a image

2009-07-29 Thread Martin Großer
Hello Mourad, ok, I can change it to GL_UNSIGNED_SHORT and I can change the internal pixel format to GL_RGB16, but the data value is a pointer to a unsigned char. Unsigned char is also 8 bit and not 16 bit? Here the changed version: const long size = width*height*3; unsigned char* data =

Re: [osg-users] Serializing / Deserializing an osg::Node to memory pointer

2009-07-29 Thread Andrew Thompson
To clarify this problem, I have checked my environment variables and added the plugins directory to PATH, I also was missing zlib1.dll which I have copied to the bin directory. Now when I go to the command prompt and type osgconv --format ive it comes back with a ReaderWriter for the IVE

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hi, seems like the 5 posts above should be in a new topic ^^; Addition to my post: I got the osgNETDemo running, but still its WindowsForms and not WPF, so I'd still be happy about any advise /help someone could give me :) -- Read this topic online here:

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Can T. Oguz
Hi Martin, You can capsulate the OSG-stuff in an ActiveX component also. Even though I don't like COM technology, it may be useful in some cases. Please be careful about singletons and module globals. Can 2009/7/29 Martin Fleck eladamri...@hotmail.com Hello, I'm new to OSG and WPF (though

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Andrew Burnett-Thompson
Hi Martin, From memory (I've worked with WPF before), each WPF control has at its root an HWND handle, which is what the osgDotNet demo uses to bind the open scene graph to the Windows forms control. So I think if you substitute the HWND handle with the WPF HWND the osgDotNet stuff should work.

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Sergey Kurdakov
Hi All. the following link might be of some help http://www.codeproject.com/KB/WPF/WPFOpenGL.aspx Regards Sergey ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] MDI application with osgViewer::Viewer on dual monitors

2009-07-29 Thread Jean-Sébastien Guay
Hi Jeff, I can't help you with your C++/CLI MDI issues, but this one I can answer. On another topic, I recently downloaded some OSG2.8.1 dlls and the dll names are all prefixed with osg55-. What's that all about? This was done around OSG 2.2-time, in order to avoid DLL hell. It effectively

Re: [osg-users] [3rdparty] osgOcean 1.0 (LGPL) Released

2009-07-29 Thread Jean-Sébastien Guay
Hi Peter, as far as the dependencies goes, it doesn't even get me that far to ask for that Don't show the advanced options, that's just noise and doesn't relate to your current problem. If you just check what values it gives for the OSG libraries, and if they're not right fix them

Re: [osg-users] create a image

2009-07-29 Thread Jean-Sébastien Guay
Hello Martin, This is totally unrelated to your question: Please don't reply to an existing message when you want to start a new thread of discussion. Please start a new message instead. If you don't want to type the mailing list address (as I suspect that's the main reason people keep doing

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Martin Fleck
Hello everyone, thank you for your replies :) @Sergey: Thank you but I've tried exactly that, but the problem is that I want to integrate the window in the WPF-application and not open another window :( @Andrew: If I'm not wrong WPF uses only one HWND for the whole application. I guess that is

Re: [osg-users] OSG and WPF Questions

2009-07-29 Thread Can T. Oguz
Hi Again, Please check out osgActiveX. You'll see that viewer is capsulated as an MFC ActiveX control. Regards, Can 2009/7/29 Martin Fleck eladamri...@hotmail.com Hello everyone, thank you for your replies :) @Sergey: Thank you but I've tried exactly that, but the problem is that I want

Re: [osg-users] svn error during checkout

2009-07-29 Thread S Andreason
Hi Jose, Months? are you having problems with svn for months? Yes, in differing messages. That changes everything, I'm still having troubles to find out what could be happening, it's a weird error that could be from Apache, Apr, Subversion... and there is no much info in the logs. But I'm

Re: [osg-users] create a image

2009-07-29 Thread Mourad Boufarguine
Rather I would do this : const long size = width*height*3; unsigned short* data = (unsigned short*)calloc(size, sizeof(unsigned short)); for(long i=0; i size ; i+= 3) { data[i] = 65535;//red data[i+1] = 0;//green data[i+2] = 0;//blue } // image

Re: [osg-users] svn error during checkout

2009-07-29 Thread S Andreason
Jose Luis Hidalgo wrote: Could you try again? I've changed some apache timeouts (there were too short), and now I can make checkouts with no dropped connections. It goes longer until the error, 45 seconds, 100 seconds the last time I stared at it counting... This time as I write this,

[osg-users] create a image

2009-07-29 Thread Martin Großer
Hello, I have make a new message, because I replied another message and it was not so good. I hope this is ok. Ok, back to my problem. Mourad thanks for your help. I try it and it seems that I lose the half image information. When I have a image 12 x 12 I get a image 6x6. I think the

Re: [osg-users] create a image

2009-07-29 Thread Jason Daly
Martin Großer wrote: Hello, I have make a new message, because I replied another message and it was not so good. I hope this is ok. Ok, back to my problem. Mourad thanks for your help. I try it and it seems that I lose the half image information. When I have a image 12 x 12 I get a image

[osg-users] Simple way to determine if a point is inside a geometry

2009-07-29 Thread Andrew Thompson
Hi there, Given a single object in my scene graph defined by the hierachy PositionAttitudeTransform (x1) | Geode (x1) | Geometry (x1) | Drawables (x Many) Is there a simple way to determine if a point location is inside the geometry, taking into account transforms applied by the PAT?

[osg-users] Deadlock when loading osg.dll, singletons are evil

2009-07-29 Thread Tanguy Fautre
Hi, We've encountered several times a random deadlock that would happen when starting our application. After some playing around, we've identified the problem to be quite a subtle one. Here is what's happening. When osg.dll (in our case the full name is osg59-osgd.dll) gets loaded, it

Re: [osg-users] [vpb] Can I use VPB/OSG to smooth the edges of different res images??

2009-07-29 Thread Chris 'Xenon' Hanson
Colin Knowles wrote: Hi, I have a large hi res globe which I've built showing 250 odd kms of river with 30cm resolution terrain and 20cm imagery - I've been asked to mod the texture so that it shows an increase in the level of the river. For small areas I typically create a contour polygon

Re: [osg-users] Deadlock when loading osg.dll, singletons are evil

2009-07-29 Thread Jean-Sébastien Guay
Hi Tanguy, We've encountered several times a random deadlock that would happen when starting our application. After some playing around, we've identified the problem to be quite a subtle one. What you're describing makes sense in some way, but I have two questions: 1. Why have there not been

Re: [osg-users] svn error during checkout

2009-07-29 Thread S Andreason
Could you try again? I've changed some apache timeouts (there were too short), and now I can make checkouts with no dropped connections. It goes longer until the error, 45 seconds, 100 seconds the last time I stared at it counting... This time as I write this, it has gone, oops, there

Re: [osg-users] Deadlock when loading osg.dll, singletons are evil

2009-07-29 Thread Tanguy Fautre
Hi J-S, Your questions are quite legitimate. I'll try to answer them to my best knowledge. 1. The DllMain problem is quite well documented (cf. the MSDN links from my previous post). The thing is that an illegal use of DllMain is quite similar to a race condition. Most of the time,

Re: [osg-users] [vpb] Can I use VPB/OSG to smooth the edges of different res images??

2009-07-29 Thread Colin Knowles
Hi Chris, Thanks for the offer , currently I use global mapper to crunch raster everything - and love it. But I dont have the $$ right now to buy the latest 64 bit version they have released (spent a small fortune on a new I7 to build globes quickly instead) I'll keep hunting around. Cheers,

Re: [osg-users] Simple way to determine if a point is inside a geometry

2009-07-29 Thread Tomlinson, Gordon
One way might be something along the lines of 1) use the boudingspehere of PAT to see if you point is with in the bounding sphere if its not then stop/bail ( you will have to transform the sphere by the pat transforms etc) 2) Iterate over each drawables boundling box ( transfromed by applying

Re: [osg-users] Deadlock when loading osg.dll, singletons are evil

2009-07-29 Thread Thrall, Bryan
Tanguy Fautre wrote on Wednesday, July 29, 2009 12:37 PM: The DllMain problem is quite well documented (cf. the MSDN links from my previous post). The thing is that an illegal use of DllMain is quite similar to a race condition. Most of the time, everything just seems to work. Our application

[osg-users] A noob question: Can OSG do this?

2009-07-29 Thread Michael Angelkovich
Hello, I've made an OpenGL application of considerable size and now I am exploring possibilities to display its results on a stereoscopic wall. Particularly, I will be let to try this on a VR system that is in possession of Technical University Sofia, in Bulgaria. As the machine they use a

Re: [osg-users] [osgPlugins] Collada plugin texture problem

2009-07-29 Thread Michele Olsen
Hello, I am having a similar problem of the textures not appearing when I upgraded to osg 2.8.2. I tried looking at the files but I was unable to find the line you said to modify. I used the Collada Next Gen exporter in 3D Studio Max 2008 to export my models. The specific line I get when

[osg-users] Draw time vs. GPU time Stats question

2009-07-29 Thread Pecoraro, Alexander N
Is it fair to say that the Draw time in the OSG stats measures the time needed to sort and call the display lists of the Geometry nodes obtained by the Cull stage and make the other frame rendering related OpenGL calls? And GPU time is the time that the GPU spends rendering the geometry

Re: [osg-users] A noob question: Can OSG do this?

2009-07-29 Thread Jason Daly
Michael Angelkovich wrote: Hello, I've made an OpenGL application of considerable size and now I am exploring possibilities to display its results on a stereoscopic wall. Particularly, I will be let to try this on a VR system that is in possession of Technical University Sofia, in Bulgaria.

Re: [osg-users] svn error during checkout

2009-07-29 Thread Jose Luis Hidalgo
Hi, Just out of curiosity, have you tried another SVN client... ?I will try to look futher on the timeout thing that looks like the one to blame... but tomorrow. JL. On Wed, Jul 29, 2009 at 7:29 PM, S Andreasonsandrea...@gmail.com wrote:   Could you try again? I've changed some apache

[osg-users] OSG and WPF Questions

2009-07-29 Thread Sergey Kurdakov
Hi Martin. but the problem is that I want to integrate the window in the WPF-application and not open another window :( take a closer look at OpenGLUserControl.h - it is a control with HWND for WPF. Regards Sergey ___ osg-users mailing list