Re: [osg-users] Creating custom wrappers for osgIntrospection

2008-08-22 Thread Maciej Krol
Hi Mike, http://osgscenemaker.googlepages.com http://orihalcon.jp/orihalconfw Regards, Maciej 2008/8/22 Mike Wozniewski [EMAIL PROTECTED] Actually, nevermind about genwrapper. I've managed to use the latest svn version to create custom wrappers for my classes (yay). Now what I would like

[osg-users] present3d + compositeViewer

2008-08-22 Thread Dieter Pfeffer
Hi I would like to combine my application (using osgcompositeviewer with multiple views) and present3d, so that I can switch between the two parts by pressing a key. Any hints what the best way is to combine these ? Thanks Dieter Unclassified Mail Disclaimer: If you are not the

[osg-users] osgText - size is half of font resolution

2008-08-22 Thread sherman wilcox
Can someone explain why the code below consistently produces text that is half the height specified? If I render this text, take a screenshot and measure the height of the text ABC in a paint program it will measure up as approximately 64 pixels tall for a character size / resolution of 128. I

[osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ralf Stokholm
Hi List Im working on a flightsimulator and have a wery high resolution orthophoto based terrain. One of my cameras is a targetingpod(TGP) camera with a very high zoom factor, to compensate for this I set the cameras lodscale to fit. This all works fine but the range based loading of lods could

Re: [osg-users] Performance of osgdem generated databases using --terrain

2008-08-22 Thread Robert Osfield
Hi Jason, Good to hear you've tracked down the problem. W.r.t the crash, I think we need to start drawing up extension disable lists for different hardware/drivers profiles, and have some formal system for it so we can better cope with hardware claming to support extensions/OGL features but

Re: [osg-users] Generate MipMap bug

2008-08-22 Thread Robert Osfield
HI Mark, Could you send the whole test example and whole changed file as copying and pasting from emails leads to various errors. Cheers, Robert. On Thu, Aug 21, 2008 at 8:00 PM, Mark Sciabica [EMAIL PROTECTED] wrote: Hi All, I'm in the process of upgrading 2.2 -2.6 and came across a bug in

Re: [osg-users] Drawing disappears after being minimized and then restored

2008-08-22 Thread Robert Osfield
Hi Li, Does this only happen in your C# app, or does this happen with OSG examples like osgviewer as well? Robert. On Thu, Aug 21, 2008 at 11:19 PM, Ke Li [EMAIL PROTECTED] wrote: HI all, When I minimize and then restore a Windows form rendering OSG contents, the drawing disappears. I

Re: [osg-users] Efficient live camera rendering on textureRectangle using callback?

2008-08-22 Thread Robert Osfield
Hi Fabian, It would be cleaner to use a StateAttribute (Texture is subclassed from StateAttribute) callback rather than a Drawable callback. The image dirty is also redundent as the setImage will automatically do this for you. Other than this the approach you are taking is OK. The OSG will

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ulrich Hertlein
Ralf Stokholm wrote: One of my cameras is a targetingpod(TGP) camera with a very high zoom factor, to compensate for this I set the cameras lodscale to fit. This all works fine but the range based loading of lods could be optimised for the Targeting pod camera by basing it on the frustrum. The

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Robert Osfield
Hi Ralf, You can use LODScale to scale the LOD ranges to fit case where you want to zoom in. This can be done without modifying the scene graph at - just by setting the osg::Camera in question i.e mycamera-setLODScale(0.25); Robert. On Fri, Aug 22, 2008 at 8:52 AM, Ralf Stokholm [EMAIL

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ralf Stokholm
Hi Ulrich Havent tried that, is this a camera setting or will it affect my pilot view camera as well? Brgs. Ralf Stokholm 2008/8/22 Ulrich Hertlein [EMAIL PROTECTED] Ralf Stokholm wrote: One of my cameras is a targetingpod(TGP) camera with a very high zoom factor, to compensate for this

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ralf Stokholm
Hi Robert Im using the setLodScale and that works fine solved the huge problems i had before. But based on my current understanding the range based lod scale is less than optimal for a camera with a large zoom that will only change its transformation in the world slowly. It will page in an

Re: [osg-users] present3d + compositeViewer

2008-08-22 Thread Dieter Pfeffer
Hi Robert thanks for the hints - - to use it as a single view within a viewer - does this mean that I can change in the present3d sources from viewer to view and use addView (present3d_view) in my application? Dieter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Hi all, I am experiencing very frequent segfaults in OSG'S rendering thread when working with osgText::Text objects. The problem always appears in State::applyTextureAttributes(), but at different positions in there. Most of the time in StateAttribute::getTypeMemberPair(), though, an

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ulrich Hertlein
Ralf Stokholm wrote: Havent tried that, is this a camera setting or will it affect my pilot view camera as well? Can't say for sure but it should since the screen area of the LOD (bounding sphere I assume) changes with the projection matrix. /ulrich

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Ulrich Hertlein
Ulrich Hertlein wrote: Ralf Stokholm wrote: Havent tried that, is this a camera setting or will it affect my pilot view camera as well? Can't say for sure but it should since the screen area of the LOD (bounding sphere I assume) changes with the projection matrix. Sorry, I meant it

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Alexander Löffler wrote: I am experiencing very frequent segfaults in OSG'S rendering thread when working with osgText::Text objects. The problem always appears in State::applyTextureAttributes(), but at different positions in there. Most of the time in StateAttribute::getTypeMemberPair(),

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread David Spilling
Alex, There was a whole load of message traffic on this topic a while ago. From what I remember, the upshot was that the freetype library wasn't thread safe. I don't know whether it all got finally resolved or not; my advice would be to check the archives. David

Re: [osg-users] present3d + compositeViewer

2008-08-22 Thread Robert Osfield
Hi Dieter, On Fri, Aug 22, 2008 at 9:40 AM, Dieter Pfeffer [EMAIL PROTECTED] wrote: - to use it as a single view within a viewer - does this mean that I can change in the present3d sources from viewer to view and use addView (present3d_view) in my application? Well you could try modifying

Re: [osg-users] Challenge for DatabasePager and cameras with high zoom

2008-08-22 Thread Robert Osfield
Hi Ralf, Only tiles that are required for the view frustum are paged in, so you shouldn't have any problems with too many tiles being loaded at high resolution. Robert. On Fri, Aug 22, 2008 at 9:30 AM, Ralf Stokholm [EMAIL PROTECTED] wrote: Hi Robert Im using the setLodScale and that works

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Robert Osfield
Hi Alexander, Are you dynamically modifying the text? If so then just set the DataVariance of the Text objects to DYNAMIC. Explanation : When running in DrawThreadPerContext, and CullThreadPerCameraDrawThreadPerContext the update,cull of the next frame is allowed to overlap with rendering of

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Hi David, David Spilling wrote: There was a whole load of message traffic on this topic a while ago. From what I remember, the upshot was that the freetype library wasn't thread safe. I don't know whether it all got finally resolved or not; my advice would be to check the archives. thanks for

Re: [osg-users] Segfaults in osg::State::applyTextureAttributes when working with osgText::Text

2008-08-22 Thread Alexander Löffler
Hi Robert, Robert Osfield wrote: Hi Alexander, Are you dynamically modifying the text? If so then just set the DataVariance of the Text objects to DYNAMIC. Explanation : When running in DrawThreadPerContext, and CullThreadPerCameraDrawThreadPerContext the update,cull of the next frame is

Re: [osg-users] FLT writer and PositionAttitudeTransform

2008-08-22 Thread Paul Martz
There is shared code for all the Transforms that depends on a Matrix representation, and it appears that the code for converting the PositionAttitudeTransform to a Matrix is bogus. I'm working on a fix and should post it shortly. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [osg-users] Generate MipMap bug

2008-08-22 Thread Mark Sciabica
Hi Robert, I attached the modified Texture2D.cpp as well as the sample program illustrating the bug. Regards, Mark Robert Osfield wrote: HI Mark, Could you send the whole test example and whole changed file as copying and pasting from emails leads to various errors. Cheers, Robert. On

[osg-users] Add a PNG FIle to a terrain model in osgviewer

2008-08-22 Thread dzff fxdgjfrj
Hi, I have a terrain model built with VPB and I need to modify the osgviewer to add PNG files with transparecy. Can you give me any ideas. Thanks, Oscar Romero _ ¡El Mundo Messenger te espera! Entra ya en I love Messenger y

[osg-users] How to Monitor VideoMemory usage

2008-08-22 Thread Bob Balfour
I've used RivaTuner to monitor video memory usage on WinXP, but it doesn't do it on Vista (it says due to Vista's virtualization of video memory?). Does anyone know of a way to monitor video memory usage on WinVista? I have a very choppy scene (using quad-core HP, 2 Nvidia GTX8800, Vista,

Re: [osg-users] How to Monitor VideoMemory usage

2008-08-22 Thread Jason Daly
Bob Balfour wrote: I've used RivaTuner to monitor video memory usage on WinXP, but it doesn't do it on Vista (it says due to Vista's virtualization of video memory?). Does anyone know of a way to monitor video memory usage on WinVista? I have a very choppy scene (using quad-core HP, 2 Nvidia

[osg-users] Write Heightfield File

2008-08-22 Thread Luc Heischbourg
Hi @all, I have tried to save an osg::Heightfield into a file, but it has not succeeded. Have used the function osgDB::writeHeightFieldFile(*hf, C:\ \heightfield.osg)).. is the extension wrong or should I install further plugins (gdal plugin)? sincerely yours, Luc

[osg-users] Tracking 2.6 branch changes

2008-08-22 Thread Paul Martz
I just committed what appears to be the first change to the 2.6 branch post-release (see [osg-submissions] Fix for PAT in FLT export). Robert, how do you update the changeLog, are you just pulling it from svn periodically or do you have some kind of automatic mechanism in place? My concern here

Re: [osg-users] Tracking 2.6 branch changes

2008-08-22 Thread Paul Melis
Paul Martz wrote: I just committed what appears to be the first change to the 2.6 branch post-release (see [osg-submissions] Fix for PAT in FLT export). Robert, how do you update the changeLog, are you just pulling it from svn periodically or do you have some kind of automatic mechanism in

Re: [osg-users] ODE Trimesh with OSG ?

2008-08-22 Thread Carlos Sanches
I said terrain but I want to load a object from 3DMAX and do collision if trimesh in ODE. First ,I m trying to understand how to transform my object that I read like a .ive file in a osg::TriMesh . May you explain me ? On Mon, Aug 18, 2008 at 4:06 AM, Mattias Helsing [EMAIL PROTECTED]wrote:

[osg-users] help

2008-08-22 Thread Oscar De Leon
I'm trying to set a camera that follows a node with a Cameraview node, but I've some troubles. In a request I've sended before I used slave cameras and I tried to manually position of cameras using setViewMatrix and set perspective matrix but it didn't work because the master camera of

[osg-users] Real-time BVH

2008-08-22 Thread Brad Eric Hollister
Does OSG contain a dynamic bounding volume hierarchy? If not, is it possible to contribute one that I have implemented for Performer?___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] How to hide a RTT camera's clear color

2008-08-22 Thread Eduardo Alberto Hernández Muñoz
Hi all, I have a RTT camera for cube mapped reflections; it now works well, except that I want to show only the reflected objects, not the clear color, when applied to an object; I have tried using the clear color's alpha with TexEnv, TexEnvCombine and AlphaFunc but I never got the result I