Re: [osg-users] osgNETDemo

2008-03-18 Thread hesicong2006
I wrote the osgCppCLIDemo.rar. I use lastest OSG SVN version, you should try upgrade your OSG. [EMAIL PROTECTED] wrote: Hello All, I have been working with Phil Tessier on some work using OSG in a managed code environment. We tried using OsgDotNet, but we had some problems with that,

Re: [osg-users] SceneView and Multi-camera render to texture

2008-03-18 Thread J.P. Delport
Hi, I'm using PRE_RENDER cameras rendering to FrameBufferObjects with SceneView, in some cases multi-pass as well. I've used a similar setup as per the osgprerender example and did not find a difference between using SceneView versus osgViewer. I'll splat some code into the bottom of the

Re: [osg-users] Dual-screen configuration

2008-03-18 Thread Kallfass, Daniel, SDGE1
Try using the environment variable OSG_SCREEN=0 or using C++: putenv( OSG_SCREEN=0 ); This configures osgviewer to use only your primary screen. Daniel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Han Sent: Monday, March 17,

Re: [osg-users] Problem with LightPoint

2008-03-18 Thread Nilsson Lars
Hi, Here comes the whole modified file. I attach a simple test.osg as well, which can be used in osgviewer to exemplify the problem. Regards, Lars Nilsson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: den 17 mars 2008 17:01 To:

Re: [osg-users] from opengl.org: RenderMonkey, COLLADA, OSG

2008-03-18 Thread Serge Lages
The example provided is very nice, these improvements to the dae plugin definitely needs to be added to the core plugin. On Mon, Mar 17, 2008 at 8:01 PM, Mike Weiblen [EMAIL PROTECTED] wrote: Hi all, didn't notice if anyone had mentioned this, from opengl.org:

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Robert Osfield
HI Wojtek, Excellent detective work. I'll have to raise my hand as the culprit of the change to CullVisitor::apply(Camera), done is response to a discussion between Mathias Froehlich and myself about inheritance of settings. I believe the inheritance of settings is now correct, but obviously in

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Wojciech Lewandowski
Hi Robert, Since I think the actual rules of inheritance of settings are correct, and things worked before because of bug in the inheritance of settings, so its a matter of either changing the defaults in CullSettings so that less of the inherited state comes down into the local Camera, or we

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Robert Osfield
Hi Wojciech, On Tue, Mar 18, 2008 at 12:13 PM, Wojciech Lewandowski [EMAIL PROTECTED] wrote: In other words from now when we want a fixed projection matrix we need to make two calls: camera-setComputeNearFarMode( osg::Camera::DO_NOT_COMPUTE_NEAR_FAR ); camera-setInheritanceMask(

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Wojciech Lewandowski
Hi Robert, In other words from now when we want a fixed projection matrix we need to make two calls: camera-setComputeNearFarMode( osg::Camera::DO_NOT_COMPUTE_NEAR_FAR ); camera-setInheritanceMask( camera-getInheritanceMask() ~osg::Camera::COMPUTE_NEAR_FAR_MODE ); If we don't

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Robert Osfield
On Tue, Mar 18, 2008 at 2:18 PM, Wojciech Lewandowski [EMAIL PROTECTED] wrote: Items like back ground colour is certainly something that can be useful to inherit, but... perhaps if the coder wants this then its fair enough to actually require them to set it. Clearly wel need to have a

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Wojciech Lewandowski
I'm just tying up some other work, once this is done I'll do a quick review of Camera usage. Thanks for explanations, I no longer disturb. Let me know if I could help. Cheers, Wojtek - Original Message - From: Robert Osfield [EMAIL PROTECTED] To: OpenSceneGraph Users

Re: [osg-users] Shadow Map and threading mode

2008-03-18 Thread Jean-Sébastien Guay
Hi Wojtek, I was on vactions. But if you are still interested I did the test you wanted. Of course I am interested. :-) Thanks for testing. Seems like the more recent nVidia drivers give problems when switching threading modes, and older ones are OK. Unfortunately I am on Vista so using old

[osg-users] Placing Text Labels in Geodetic Projection

2008-03-18 Thread Jason Beverage
Hi all, I've written a 2D viewer that displays geospatial imagery in an orthographic projection using a WGS-1984 geodetic projection so the units are in degrees. I am placing text labels with their character size specified in SCREEN_COORDS. When I zoom in very close, the quality of the text

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Robert Osfield
On Tue, Mar 18, 2008 at 3:45 PM, Wojciech Lewandowski [EMAIL PROTECTED] wrote: I'm just tying up some other work, once this is done I'll do a quick review of Camera usage. Thanks for explanations, I no longer disturb. Let me know if I could help. You've already been a great help,

Re: [osg-users] Earth Model with height relief (BlueMarble)

2008-03-18 Thread Robert Osfield
Hi Umit, Try add a -d in from of the DEM file. i.e osgdem -s build.source --whole-globe -d topo.tif For -l 4 you'll find that you want see an terrain. I'd also recommend using --terrain as the build is well over a hundred times faster. Robert. On Tue, Mar 18, 2008 at 4:11 PM, ümit uzun

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Mathias Fröhlich
Hi, On Tuesday 18 March 2008 17:27, Robert Osfield wrote: You've already been a great help, pinpointing the problem was the hardest part of this jigsaw :-) I've been reviewing the inheritance mask, it covers a wide range of features, including items like lighting, cull masks etc, the types

Re: [osg-users] Earth Model with height relief (BlueMarble)

2008-03-18 Thread Jason Beverage
Hi Robert, I totally agree with dropping support for non-geospecific data in osgdem/VPB if it makes life easier on you and keeps the code simpler. The suite of GDAL tools is easy to use and users should be using them to process the geospatial data instead of expecting OpenSceneGraph to do the

Re: [osg-users] Earth Model with height relief (BlueMarble)

2008-03-18 Thread ümit uzun
Hi Robert, I am so sorry for writing wrong command. Actually I used to -d parameter in ; //run the build.source osgdem -s build.source --whole-globe -d topo.tif -v 1000.0 -l 4 command.But I forgot typing this detail. I think my topo.tif hasn't georeference information in it. How can I get

Re: [osg-users] Placing Text Labels in Geodetic Projection

2008-03-18 Thread Jason Beverage
Hi Robert, I've been using the 2.x branch in personal projects and test projects and have kept up to date with the SVN version for the most part (it's tough with so much going on so fast!) and I'm REALLY happy with the way 2.x has progressed. It's much easier to use and feels *right* to me in

Re: [osg-users] Placing Text Labels in Geodetic Projection

2008-03-18 Thread Robert Osfield
On Tue, Mar 18, 2008 at 4:42 PM, Jason Beverage [EMAIL PROTECTED] wrote: Overall though, does the approach I'm suggesting with using the UpdateCallback and the Hud Camera to get around my intersection problems sound reasonable or am I overcomplicating things? It sounds like overcomplicating to

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Robert Osfield
On Tue, Mar 18, 2008 at 4:55 PM, Mathias Fröhlich [EMAIL PROTECTED] wrote: Move the inheritance mask from CullSettings to the camera. As you can see from your own suggestions abive the other users of the inheritance mask and CullSettings will just need a copy from its 'parent' settings.

[osg-users] How to make multiple linear projection

2008-03-18 Thread Mickaël
Hi, I'm new in OpenSceneGraph and i wanna display multiple linear projection. I've looked at the example /osgdistortion --dome/, who's very interesting, but i didn't understand how to use it for my problem. My problem, is to display 3 linear projection on the screen of one scene |1|2|3| and to

Re: [osg-users] More than one viewer

2008-03-18 Thread nicolas peña
Ok, just change that line for: viewer-setThreadingModel(osgViewer::Viewer::ThreadPerContext); This is what I meant in the first place. Hope it works. 2008/3/18, Wiedemann, Rudolf, OPS3 [EMAIL PROTECTED]: Hi Nicolas, I'm using the svn version of OSG (revision 7946). When I add

[osg-users] A question about zooming with orthographic projection

2008-03-18 Thread Ke Li
Dear all, In the following post, Robert said that orthographic projection should be avoided. http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/7660/focus=7664 But I know that some OpenGL applications do use orthographic projection with zooming functionality. So I'm a little

Re: [osg-users] A question about zooming with orthographic projection

2008-03-18 Thread Daniel Moos
Hi Ke Li You can implement a zooming functionality with the camera function setProjectionMatrixAsOrtho(...) We also use a orthographic projection in 3d. And we implement our zoom with this nice function. I hope this will help... Have a nice evening! Daniel Moos Am 18.03.2008 um 19:55

Re: [osg-users] osgNETDemo

2008-03-18 Thread rpingry
AHA!!! I found out that the problems I was having are only on the RELEASE versions. When I link to the debug versions of the OSG libraries, all seems to work well. Anyone know why? -- Rick On 3/18/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just used the latest stable build, OSG

Re: [osg-users] Earth Model with height relief (BlueMarble)

2008-03-18 Thread ümit uzun
Hi Norman, I haven't heard about gdal vrt yet, So I search it and try to understand. I try your advice and It works as you said :) Thanks so much your awesome help. And I want to ask you another question. I have a satellite data which I download from

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Wojciech Lewandowski
Thanks for the changes, W.r.t. question you asked earlier I would vote for option #3. Ie: CullSettings::setComputeNearFarMode( mode, bool disableInheritance=true); CullSettings::setCullMask( mode, bool disableInheritance=true); et cetera. I remember I had once a problem with not working

[osg-users] osgviewer panel with buttons

2008-03-18 Thread Leontyev, Sergey
Hello, I am playing around with osgWidget which is pretty cool... What I am trying to do is a panel with buttons, maybe you can point me to the right direction J I tried BOX as panel and LABELS as buttons , but I guess BOX just groups the widgets and is only as big as widgets it

Re: [osg-users] Problem with using IntersectionVisitor to obtain the viewing matrices

2008-03-18 Thread Ke Li
Hi Robert, Please don't bother about my email below. I think I've found the mistake in my code. Thanks, and regards, Ke Li From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Tue, 18 Mar 2008 11:44:10 -0700Subject: Re: [osg-users] Problem with using IntersectionVisitor to obtain the viewing

Re: [osg-users] osgShadow example and gerneral question

2008-03-18 Thread Mark Sciabica
I think #3 is a good option, but I would like to suggest using an interface similar to that used for state attributes. I.e. use an enumeration for the possible values instead of a bool, even if only two values are needed initially. Having a more uniform interface for handling inheritance in the

Re: [osg-users] Debug JPEG plugin issues

2008-03-18 Thread Paul Martz
Hi Mike -- FYI, I recently discovered the same issue with FreeType235_d.lib. The OSG freetype plugin won't load when linked with this library, but works fine when linked with freetype235.lib. Thanks, -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [osg-users] A question about zooming with orthographicprojection

2008-03-18 Thread Paul Martz
Agreed; this works. In perspective, you zoom bu changing the field of view; in ortho you can achieve the same zoom effect by altering the left/right/bottom/top to display a larger/smaller view volume. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Moos

[osg-users] hello,I have a problem.

2008-03-18 Thread Niuheming
Hi, I want to write a class from osg::Drawable::UpdateCallback to update a Geometry call named geom,but there is no update happen.I dot't know what's wrong.Does someone knows?Thanks in advance!NiuHeming class niuhm : public osg::Drawable::UpdateCallback{public: niuhm(const

Re: [osg-users] osg-conv collada

2008-03-18 Thread skunkwerk
could someone please tell me how to create the collada db so osgconv can load collada files? i can't find any documentation on this. thanks On Mon, Mar 17, 2008 at 10:14 AM, skunkwerk [EMAIL PROTECTED] wrote: hi Robert, i can install the collada dom, but how do I build the osg plugin for

Re: [osg-users] osg-conv collada

2008-03-18 Thread Jason Daly
skunkwerk wrote: could someone please tell me how to create the collada db so osgconv can load collada files? i can't find any documentation on this. If you installed the COLLADA DOM, you should just need to make sure CMake can find it (run ccmake . again and specify the path, if necessary)