Re: [osg-users] QOSGWidget display problem

2009-12-18 Thread Martin Beckett
I remember Don's point about the background paint attribute being different on windows Qt but i could never get a reliable fix. The dummy QPaintEngine function has fixed the flicker problem for me on Windows (XP, Qt4.6.0, Osg 2.9.6). What further testing do we need for it to be an accepted fix

Re: [osg-users] wxWindows osg viewer question/example

2009-12-18 Thread Charles Cossé
Ahh -- you explored a bit! That's cool, thanks -- yeah, not sure what's going to become of that effort, but someday maybe I'll pick it back up. Also, don't hesitate to ask if you need some explanation of the G4OSG code ... I haven't used it for a while either, but I can probably recall what's goi

Re: [osg-users] [3rdparty] OSG Composer released

2009-12-18 Thread Kim Bale
Thanks Ashraf. Kim. 2009/12/18 Ashraf Sultan : > Hi, > > The free version is still available, it can be downloaded from > http://www.simlab-soft.com/Products_files/OSGComposerLite.exe > > We did hide it as many none OSG users are now using, some of them found the > difference between the two co

Re: [osg-users] [3rdparty] OSG Composer released

2009-12-18 Thread Ashraf Sultan
Hi, The free version is still available, it can be downloaded from http://www.simlab-soft.com/Products_files/OSGComposerLite.exe We did hide it as many none OSG users are now using, some of them found the difference between the two confusing. OSG Composer Lite is very similar in functionality

Re: [osg-users] Benchmarking Software (Linux)

2009-12-18 Thread PCJohn
If you are looking for things like 3D mark 2006, I do not know. But for a very simple benchmark measuring basic OpenGL characteristics like vertices per second throughput and pixels per second (fillrate), you may take a look on lsperf.sourceforge.net . (No binaries yet, sources in svn: |svn co

Re: [osg-users] What are the your favorite free 3d model sites?

2009-12-18 Thread Jim Brooks
>I'm planning to put together a test app and would like to be able to >add some new content to OpenSceneGraph-Data such as a vehicle and house(s). www.flightgear.org www.delta3d.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lis

[osg-users] Benchmarking Software (Linux)

2009-12-18 Thread Jeremy Moles
Is anyone aware of any nice OpenGL benchmarking software for Linux? Do I need to write something like this? (LIKE I HAVE THE TIME!) :) -- Follow us on Twitter! http://twitter.com/emperorlinux EmperorLinux, Inc. http://www.emperorlinux.com 1-888-651-6686 _

Re: [osg-users] wxWindows osg viewer question/example

2009-12-18 Thread ted morris
ps: on a different note, from a traffic person, I like www.betterbusroute.com . t www.mto.umn.edu On Fri, Dec 18, 2009 at 10:56 AM, ted morris wrote: > > Yeah, I found it -- in the examples. just looking in the wrong place. duh! > > thanks very much. > > -t > > > 2009/12/17 Charles Cossé > >>

Re: [osg-users] help with osgCluster...

2009-12-18 Thread Martins Innus
Shayne, We run it under linux and if I remember correctly, it just broadcasts out to the local subnet based on whatever your broadcast mask is set to. If you have multiple network interfaces, I think there is a spot in the socket setup to specify which one you want. I don't have the code i

Re: [osg-users] Precipitation Effect, Snow, bad rendering at slow speed

2009-12-18 Thread Massimo Tarantini
robertosfield wrote: > HI Massimo, > > What exactly do you mean by bad rendering? > Do you have vync on? > > Robert. > Thanks for your answer Sir, and... sorry for my bad English. I have attached 3 Images to show what i mean. In the image moving_slow.jpg the camera is moving slowly towards

[osg-users] VirtualPlanetBuilder on osx 10.6

2009-12-18 Thread Massimo Di Stefano
Hi,on osx 10.6 (cocoa)starting from a installed osg trunk version, i'm now tring to build  :http://www.openscenegraph.org/projects/VirtualPlanetBuilderi downloaded the svn trunk version, then i run ccmake .. inside the build directory :cd VirtualPlanetBuildermkdir buildcd buildccmake .."c" configur

[osg-users] VirtualPlanetBuilder on osx 10.6

2009-12-18 Thread Massimo Di Stefano
Hi, on osx 10.6 (cocoa) starting from a installed osg trunk version, i'm now tring to build  : http://www.openscenegraph.org/projects/VirtualPlanetBuilder i downloaded the svn trunk version, then i run ccmake .. inside the build directory : cd VirtualPlanetBuilder mkdir build cd build ccmake .

[osg-users] help with osgCluster...

2009-12-18 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
All, I'm looking at the osgCluster example and I have a question on getting in going. I'm assuming you can execute osgCluster on different machines where one is the master and the other is the slave. I can see where I specify the socket # but where do I specify the IP address? Does anyone h

[osg-users] DDS uncompressed RGB(A) / BGR(A)

2009-12-18 Thread Sukender
Hi all, It was discussed a long time ago but I dit not find an answer. Saving to DDS an uncompressed RGB image and then loading from the file works: the loaded image is the same as the original. However, the file is BGR (R and B inverted). I tried three 3rd-party tools (image viewer/converters)

Re: [osg-users] New 3DS reader/writer is ready to test

2009-12-18 Thread Sukender
Hi Nick, You're very optimistic! No, the 3DS writer doesn't export animations. I don't remember about animation support in the reader, but it's "TODO" for the writer. However, I strongly suggest to avois this very old format as much as possible. Actually I guess I won't work on animation suppor

Re: [osg-users] wxWindows osg viewer question/example

2009-12-18 Thread ted morris
Yeah, I found it -- in the examples. just looking in the wrong place. duh! thanks very much. -t 2009/12/17 Charles Cossé > Ted, > The code I directed you to is pure C++, and nothing Python about it. > -C > > > On Thu, Dec 17, 2009 at 12:33 PM, ted morris wrote: > >> >> hi Charles, >> >> thank

Re: [osg-users] Native osgdb_bin format in progress (was: Develop a scalable binary file format for native OSG scenes)

2009-12-18 Thread Robert Osfield
Hi Wang, Wow, that was a quick turn around. I've begun a code review, and so far am impressed as how much code you've been able to share between the binary + ascii implementations. I do wonder about the performance impact on binary reading that there will be due to adding all the if statements t

Re: [osg-users] osgEphemeris

2009-12-18 Thread Trajce Nikolov
here is a crash after release of everything (viewer = 0; viewer is osg::ref_ptr ...) if (needDelete) { if (getDeleteHandler()) deleteUsingDeleteHandler(); else delete this; } in referenced > osg62-osgd.dll!osg::Referenced::unref() Line 183 + 0x1e bytes C++ osg62-osgd.dl

Re: [osg-users] osgEphemeris

2009-12-18 Thread Trajce Nikolov
huh... I would love to. It works now. :-) Did not changes anything. MIght be a sporadic crash But thanks anyway Robert! Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Fri, Dec 18, 2009 at 5:57 PM, Robert Osfield wrote: > Hi Nick, > > On Fri, Dec 18, 2009 at 3:

Re: [osg-users] New 3DS reader/writer is ready to test

2009-12-18 Thread Trajce Nikolov
Hi, does this thing exports animations too? Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Fri, Dec 18, 2009 at 6:18 PM, Sukender wrote: > Hi Miguel, > > > I would like to know why face normals are use despite of vertex > > normals whereas there is "if (_usePerVertex

Re: [osg-users] New 3DS reader/writer is ready to test

2009-12-18 Thread Sukender
Hi Miguel, > I would like to know why face normals are use despite of vertex > normals whereas there is "if (_usePerVertexNormals)" in > ReaderWriter3DS.cpp ? Because I had weird results when testing. But I must admit face normals were enough for me. You're welcome to make more tests and make t

Re: [osg-users] changing a osgWidget::Box position

2009-12-18 Thread Jeremy Moles
On Fri, 2009-12-18 at 11:08 +, David Martín wrote: > Hi, > > i´ve got an osgWidget::Box and some osgWidget::Label as it´s children > > i can set the initial box position with setPosition(x, y, z) with no > problems, but if i want to change the position later in time, the same method > does

Re: [osg-users] osgEphemeris

2009-12-18 Thread Robert Osfield
Hi Nick, On Fri, Dec 18, 2009 at 3:55 PM, Trajce Nikolov wrote: > I made it work somewhat in release mode. Debug still crashes osg ... Any > ideas? Hows about posting your stack trace. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.

Re: [osg-users] Precipitation Effect, Snow, bad rendering at slow speed

2009-12-18 Thread Robert Osfield
HI Massimo, What exactly do you mean by bad rendering? Do you have vync on? Robert. On Fri, Dec 18, 2009 at 1:58 PM, Massimo Tarantini wrote: > Hi all, > > i have added some snow to my scene (it's Christmas time!), after looking the > example osgprecipitation. > It renders very well when the

Re: [osg-users] osgEphemeris

2009-12-18 Thread Trajce Nikolov
I made it work somewhat in release mode. Debug still crashes osg ... Any ideas? Nick http://www.linkedin.com/in/tnick On Thu, Dec 17, 2009 at 9:49 PM, Trajce Nikolov wrote: > thanks Paul! > > Nick > > http://www.linkedin.com/in/tnick > Sent from Ünalan, İstanbul, Turkey > > On Thu, Dec 17, 2009

Re: [osg-users] New 3DS reader/writer is ready to test

2009-12-18 Thread Miguel Lokida
Hello, I would like to know why face normals are use despite of vertex normals whereas there is "if (_usePerVertexNormals)" in ReaderWriter3DS.cpp ? Thank you -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21662#21662 __

[osg-users] Precipitation Effect, Snow, bad rendering at slow speed

2009-12-18 Thread Massimo Tarantini
Hi all, i have added some snow to my scene (it's Christmas time!), after looking the example osgprecipitation. It renders very well when the scene is static, and quite well when moving fast, but very bad when moving slow. Code: osg::ref_ptr precipitationEffect = new osgParticle::Precipitatio

Re: [osg-users] Drawing shapefiles on a sphere

2009-12-18 Thread Glenn Waldron
Eddy, OverlayNode won't work on a whole globe. Try looking at osgEarth ( http://osgearth.org) and the feature-stencil function ( http://wush.net/trac/osgearth/wiki/TileSourcePluginModelFeatureStencil). Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 On Fri, Dec 18,

Re: [osg-users] [3rdparty] OSG Composer released

2009-12-18 Thread James Bradbury
Hi, Yeah i have had a look at it, but i would like to move the model using a big text file of data as the position values will be taken from real life sensor data Thank you! Cheers, James -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21657#21

[osg-users] changing a osgWidget::Box position

2009-12-18 Thread David Martín
Hi, i´ve got an osgWidget::Box and some osgWidget::Label as it´s children i can set the initial box position with setPosition(x, y, z) with no problems, but if i want to change the position later in time, the same method does not work do i need to call some other method in order to move the bo

Re: [osg-users] Win32 disable close button

2009-12-18 Thread Trajce Nikolov
u r welcome Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Fri, Dec 18, 2009 at 12:24 PM, J.P. Delport wrote: > Hi Nick, > > thanks a lot. > > rgds > jp > > Trajce Nikolov wrote: > >> This should disable it: >> >> osgViewer::ViewerBase::Windows wins; >> viewer->getWind

Re: [osg-users] Win32 disable close button

2009-12-18 Thread J.P. Delport
Hi Nick, thanks a lot. rgds jp Trajce Nikolov wrote: This should disable it: osgViewer::ViewerBase::Windows wins; viewer->getWindows(wins); osgViewer::GraphicsHandleWin32* hwnd = dynamic_cast(wins[0]); HMENU hMenu = ::GetSystemMenu(hwnd->getHWND(), FALSE); ::EnableMenuItem(hMenu, SC_CLOSE,

Re: [osg-users] Drawing shapefiles on a sphere

2009-12-18 Thread Trajce Nikolov
have a look at osgsimulation example. It uses osgSim::OverlayNode Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Thu, Dec 17, 2009 at 5:29 AM, Eddy Lee wrote: > Hi, > > I am able to read ESRI shapefiles as nodes. I would like to draw these > shapes onto a sphere. Can y

Re: [osg-users] Win32 disable close button

2009-12-18 Thread Trajce Nikolov
This should disable it: osgViewer::ViewerBase::Windows wins; viewer->getWindows(wins); osgViewer::GraphicsHandleWin32* hwnd = dynamic_cast(wins[0]); HMENU hMenu = ::GetSystemMenu(hwnd->getHWND(), FALSE); ::EnableMenuItem(hMenu, SC_CLOSE, MF_BYCOMMAND | (MF_DISABLED | MF_GRAYED)); Nick http://w

Re: [osg-users] osgCal2 flipped textures

2009-12-18 Thread Trajce Nikolov
Thanks dimi! Nick http://www.linkedin.com/in/tnick Sent from Istanbul, 34, Turkey On Fri, Dec 18, 2009 at 10:45 AM, dimi christop wrote: > Use > CalLoader::setLoadingMode (LOADER_INVERT_V_COORD); > > > -- > *From:* Trajce Nikolov > *To:* OpenSceneGraph Users > *Sen

Re: [osg-users] Win32 disable close button

2009-12-18 Thread J.P. Delport
Hi, Trajce Nikolov wrote: Get a handle of the window and set the style. If you are one windows, refer to title... I might help you with some code. refer to first question... Help appreciated, I'm a Windows agnostic. jp Nick http://www.linkedin.com/in/tnick On Fri, Dec 18, 2009 at 10

[osg-users] Drawing shapefiles on a sphere

2009-12-18 Thread Eddy Lee
Hi, I am able to read ESRI shapefiles as nodes. I would like to draw these shapes onto a sphere. Can you advise on how to proceed with it? These shape files are shapes of countries. My intention is to draw these shapes onto a ellipsoid globe model. Thank you! Cheers, Eddy -- R

Re: [osg-users] 2.9.6 version

2009-12-18 Thread Robert Osfield
On Thu, Dec 17, 2009 at 10:34 PM, Danny Lesnik wrote: > Hi, > > I saw the following announcement in OSG 2.9.6: > > >>  Http support in present3D to allow online presentations to by >> browsed directly. >> > > > Could any body explain what this option will do? Try: present3D http://www.openscene

Re: [osg-users] theading mode question

2009-12-18 Thread Robert Osfield
Hi Alex, The SingleThreaded and CullDrawThreadPerContext threading models both run the update and cull-draw pairs in series, they never overlap. It's only in DrawThreadPerContext and CullThreadPerCameraDrawThreadPerContext that the update and the cull draw will ever overlap, and then only if the d

Re: [osg-users] osgCal2 flipped textures

2009-12-18 Thread dimi christop
Use CalLoader::setLoadingMode (LOADER_INVERT_V_COORD); From: Trajce Nikolov To: OpenSceneGraph Users Sent: Tue, December 15, 2009 7:48:19 PM Subject: [osg-users] osgCal2 flipped textures Hi, I am having a model exported from 3d studio and I see the textu

Re: [osg-users] Win32 disable close button

2009-12-18 Thread Trajce Nikolov
Get a handle of the window and set the style. If you are one windows, I might help you with some code. Nick http://www.linkedin.com/in/tnick On Fri, Dec 18, 2009 at 10:05 AM, J.P. Delport wrote: > Hi all, > > anyone have some code for disabling the close button on the OSG created > window? AFA

[osg-users] Win32 disable close button

2009-12-18 Thread J.P. Delport
Hi all, anyone have some code for disabling the close button on the OSG created window? AFAICS from the code one either gets all decorations or none and the window close event is not easy to skip (there are viewer functions for skipping escape and quit events, but not close). Would an additi