Re: [osg-users] Subversion Installation Step-Step manual

2007-10-02 Thread J.P. Delport
Hi, we use ssh tunnels with svnserve for a private repo. It is OK to manage if you don't have too many users. The only port open on the server is then ssh (22). You can use keypairs for auth then. Users must have something to set up the tunnel, ssh (linux), putty (win), ??? mac. jp Adrian Egl

Re: [osg-users] GL compile context problems

2007-10-02 Thread Adrian Egli
C:\Dokumente und Einstellungen\adegli>osgviewer --cc test.ive PixelBufferWin32::makeCurrentImplementation(), failed same behaviour, ATI graphic card 2007/10/2, Glenn Waldron <[EMAIL PROTECTED]>: > > Thanks Robert, I will see what I can discover. > > The Windows error resulting from wglMakeCurrent

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-10-02 Thread Brian Keener
Robert, Under Cygwin I thought we were looking good, ccmake was looking good but the compile errored at 54% as shown here. Were these being masked before by the CMAKE_CXX_FLAGS of -W -Wall that we added or why did these pop up now? [ 53%] Built target osgdb_normals Scanning dependencies of ta

Re: [osg-users] dynamic_cast equivalent in osgDotNet

2007-10-02 Thread Michael Wittman
Hi Christophe, I think Christoffer is trying to do a downcast of OsgGA.GUIActionAdapter to Osg.Viewer, rather than the other way around. Downcasts are supported in osgDotNet, but only along the "leftmost" branch of the inheritance tree of the runtime type. This is a limitation of the single inhe

Re: [osg-users] How to render depth texture

2007-10-02 Thread Mihai Radu
Hi Marcus, Looking again at the shader code you posted, it looks like you are rendering the texture coordinates generated by _texGen, not the actual contents of the shadow map, this may have something to do with the ground artifact that appears. It closely tracks the depth values, that's why you g

[osg-users] ViewerBase.cpp

2007-10-02 Thread Mihai Radu
Compiling in Xp Vs 2005: > error C4716: 'osgViewer::ViewerBase::run' : must return a value It looks like it expects an int for return value. I assume that it returns the same value the program will return when done(), so at line 553 add: return 0; It's surely a small oversight. Mihai Radu __

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-10-02 Thread Mark Lucas
Mac OSX Xcode svn checkout, built with Xcode Development, ran a few of the examples. Now building with Deployment configuration. Seems to be fine. Mark On Oct 2, 2007, at 5:29 PM, Robert Osfield wrote: > Hi All, > > I have checked in a number of potentially breaking changes today. > Almos

[osg-users] Linking Error

2007-10-02 Thread andrej spilak
At Building my first application with OSG i got " fatal error LNK1104: cannot open file 'osgd.lib' ". I have compiled OSG from source, put the include path, the lib path to the project (VS2005) and have added following Adiitional Dependencies: "osgd.lib; osgViewerd.lib; osgDBd.lib; osgUtild.lib ".

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-10-02 Thread Adrian Egli
c:\dev\openscenegraphsvn\openscenegraph\src\osgviewer\viewerbase.cpp(555) : error C4716: 'osgViewer::ViewerBase::run' : must return a value i just added: "return 0;" int ViewerBase::run() { if (!isRealized()) { realize(); } #if 0 while (!done()) { frame();

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-10-02 Thread Shue, John
On FreeBSD 6.2-STABLE, the latest SVN version of OSG compiles w/o error and "osgviewer cow.osg" runs. No time for more in depth testing at this time. -john -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, October 02, 2007 5:3

Re: [osg-users] Subversion Installation Step-Step manual

2007-10-02 Thread Adrian Egli
Hi Radu, -- Forwarded message -- From: Mihai Radu <[EMAIL PROTECTED]> Date: 02.10.2007 21:30 Subject: Re: [osg-users] Subversion Installation Step-Step manual To: OpenSceneGraph Users Hi Adrian, The best way to run it is under apache and mod_dav. What kind of user security are

Re: [osg-users] osg-users Digest, Vol 4, Issue 3

2007-10-02 Thread Abe Stephens
I've had mixed results with the blender osgexport plugin, it doesn't appear to export animation constraints (i.e. "copy rotation from"). It also seems to forget local coordinate systems occasionally. More importantly I don't think it is being maintained any more. If something like collada i

[osg-users] Please test SVN version of OpenSceneGraph

2007-10-02 Thread Robert Osfield
Hi All, I have checked in a number of potentially breaking changes today. Almost all made to try and fix things that were previous broken, so fingers crossed we'll be a couple steps further ahead then we were for 2.1.13, but only testing will tell how successful this has been. Key changes are:

Re: [osg-users] Cygwin/Ming plugin names

2007-10-02 Thread Robert Osfield
I have pondered on the issue of plugin prefixes for Cygwin and Mingw and have decided to leave prefixes in place to allow for mixing of Cygwin, Mingw and VS builds on one machine without problems. What I have done is to make things a bit explict about the platform and have defined new prefixes:

Re: [osg-users] GL compile context problems

2007-10-02 Thread Glenn Waldron
Thanks Robert, I will see what I can discover. The Windows error resulting from wglMakeCurrent is "The requested resource is in use" (according to GetLastError). I will keep digging on this one.. -gw On 10/2/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > Hi Glenn, > > I have only personally te

Re: [osg-users] GUI Events and Available Tutorial

2007-10-02 Thread Renan Mendes
Thanks a lot, Gareth. Really needed it. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] GL compile context problems

2007-10-02 Thread Robert Osfield
Hi Glenn, I have only personally testing compile contexts under Linux and haven't seen any error like your describe. I've just done check against a paged database using --cc with osgviewer and things are working as they should. Problems you are seeing code by a threading bug in the implementatio

[osg-users] GL compile context problems

2007-10-02 Thread Glenn Waldron
Hi, I'm eager to try out the GL compile context (--cc), but I'm getting odd results. If I run: osgviewerd --cc out.ive Sometimes I get this error, after which the globe displays with no textures: PixelBufferWin32::makeCurrentImplementation(), failed Sometimes I get this error: Warning::

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Abe Stephens
:// >>> www.cs.technion.ac.il/~cs234326/projects/GLSLRayTracer/main.htm >>> >>> <http://www.cs.technion.ac.il/%7Ecs234326/projects/GLSLRayTracer/ >>> main.htm> >>> >>> ___ >>> osg-users mai

Re: [osg-users] Subversion Installation Step-Step manual

2007-10-02 Thread Mihai Radu
Hi Adrian, The best way to run it is under apache and mod_dav. What kind of user security are looking to implement ? Basic Auth or something more involved ? I set-up an environment at work that used apache+mod_dav to serve an svn repository, and I can look again for the how-to's that I found use

Re: [osg-users] Trackball and view question

2007-10-02 Thread Poirier, Guillaume
Hello, I am still stuck on this problem... :( Here is some concrete code so that maybe someone can help me figure it out and for those who understand code better than english :) First we are given a camera position (in world coordinate system) and an orientation. The orientation is the yaw /

[osg-users] Subversion Installation Step-Step manual

2007-10-02 Thread Adrian Egli
hi we got yesterday night an really bad attack on our svn server. it's runs under linux, and i am not a linux expert. so i would like to run svn in an appache, and only if i work with it, the svn server should be executed. is there out an expert who can help me with an step by step manual. i used

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
I made that change and built, and I could run osgversion fine on Mac. I've attached it here, but have not yet run it through all my other platforms. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Skinner Sent: Tuesday, October 02, 2007 1:42 PM

[osg-users] using mesa with the osgProducer::Viewer

2007-10-02 Thread Jonathan Richard
Hi, I try to use a osgProducer::Viewer with mesa3d instead of opengl but I only obtain this message in the console: "Producer::VisualChooser: unable to setup a valid visual with WGL extensions, switching to compatibility mode" "Producer::VisualChooser: the requested visual is not available, trying

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
Sure. Just now I took -losgViewer out of the generated makefile, and I was able to run osgversion. So I'll give your suggestion a try. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, October 02, 2007 1:31 PM To: OpenSc

Re: [osg-users] stateSet texture attribute override

2007-10-02 Thread Riccardo Corsi
Hi Cedric, I believe the override keyword works in the other way: when you use it, you override the attributes of objects that are below in the graph hierarchy, for instance in the following scheme: Switcher: StateSet - tex0 - tex1 override Geode geom1 stateset - tex0 stateset - tex1 geom2 stat

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Robert Osfield
Hi Andy, Could you try setting the TARGET_COMMON_LIBRARIES locally in the osgversion/CMakeList.txt and just put in OpenThreads and core osg and see how you get on. Robert. On 10/2/07, Andy Skinner <[EMAIL PROTECTED]> wrote: > I don't mind trying to find that. In applications/CMakeLists.txt ther

Re: [osg-users] Call for feedback : OSX Xcode build

2007-10-02 Thread Robert Osfield
Hi Mark, Thanks for the feedback. The #include has now been removed from checked into SVN. So far this changes seems to have fixed the build. Robert. On 10/2/07, Mark Lucas <[EMAIL PROTECTED]> wrote: > > Just downloaded osg 2.1.13 and tried the build under Xcode (OSX 10.4.10 - > Xcode 2.4) >

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
I don't mind trying to find that. In applications/CMakeLists.txt there is a list of common libraries that includes osgViewer. SET(TARGET_COMMON_LIBRARIES OpenThreads osg osgDB osgUtil osgGA osgViewer osgText ) Is there a way to get osgViewe

Re: [osg-users] TexMat and Multitexturing

2007-10-02 Thread Christophe Medard
Right, I didn't see the TexMat could be specified texture unit by texture unit, through Osg.StateSet.setTextureAttributeAndModes(). Until now, I did : geode.getOrCreateStateSet().setAttributeAndModes(currentTexMatrix, (uint)Osg.StateAttribute.Values.ON); but geode.getOrCreateStateSet().setText

Re: [osg-users] stateSet texture attribute override

2007-10-02 Thread Cedric Pinson
I thouth the keywords OVERRIDE should be use when you want to override the Attribute. So i would do something like that: Switcher: StateSet - tex0 - tex1 Geode geom1 stateset - tex0 override stateset - tex1 override geom2 stateset - tex0 override

Re: [osg-users] Call for feedback : OSX Xcode build

2007-10-02 Thread Mark Lucas
Just downloaded osg 2.1.13 and tried the build under Xcode (OSX 10.4.10 - Xcode 2.4) AllStandard targets, Development build went fine until target osgdb_hdr where it failed to find a system malloc.h /Users/Shared/Development/OpenSceneGraph-2.1.13/Xcode/ OpenSceneGraph/../../src/osgPlugins

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
Your change built for me on Solaris, with Sun compiler. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, October 02, 2007 11:04 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Call for feedback : glu.h does itcontain

[osg-users] stateSet texture attribute override

2007-10-02 Thread Riccardo Corsi
Hi all, I'm after overriding some texture attributes in a hierarchy, following the osgmultitexture example, from within a "MyTextureSwitcher" node derived from osg::Group. I basically want to load a new texture on layer 1 and try to mix/blend it with the other existing texture on the underlyin

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Robert Osfield
HI Andy, My guess is that osgversion is by default linking to osgViewer which isn't required. W.r.t 64bit OSX, we'll have to cross this bridge when we get to - and members of the OSX OSG community will have to cross it. Frankly I think Apple are serious for playing stunts like dropping C API

Re: [osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Stephan Maximilian Huber
Andy Skinner schrieb: > Where would static initialization be bringing in > osgViewer::OSXCarbonWindowingSystemInterface, when all we're doing is > getting version numbers? just remove osgViewer from the linking-step. There's no need for it. If a user is logged in at the remote mac then you don't s

Re: [osg-users] window border

2007-10-02 Thread Robert Osfield
HI Caludio, If you want fine grained control over window set up you'll need to specify the window traits yourself. See the osgwindow example. Robert. On 10/2/07, Claudio Arduino <[EMAIL PROTECTED]> wrote: > hi! > this is my code: > > osg::ref_ptr v=new osg::viewer(); > > > v.setUpViewInWindow(5

Re: [osg-users] window border

2007-10-02 Thread maruti borker
you mean to say borders which come by default in the desktop enviornment you are working in ??? On 10/2/07, Claudio Arduino <[EMAIL PROTECTED]> wrote: > > hi! > this is my code: > > osg::ref_ptr v=new osg::viewer(); > > v.setUpViewInWindow(515,0,512,512,0); > > viewer.frame(); > > > > the window t

[osg-users] window border

2007-10-02 Thread Claudio Arduino
hi! this is my code: osg::ref_ptr v=new osg::viewer(); v.setUpViewInWindow(515,0,512,512,0); viewer.frame(); the window that wil be created has the borders, is it possible to create a window without borders? thanks! ___ osg-users mailing list osg-u

[osg-users] running osgversion on Mac, not on console, was RE: Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
No, it was definitely not pre 2.x. I'd say within the last month. (The longest time ago would have been 2.1.5, but I probably built it more recently.) But no matter where/when it came in, maybe we can do something about it. Here's a bit more from our Mac guy: I set a br

Re: [osg-users] GUI Events and Available Tutorial

2007-10-02 Thread Roberts, Gareth
There is source code for OSG2 versions of Tutorials 2 to 13 on the NPS website. -Original Message- From: David Callu [mailto:[EMAIL PROTECTED] Sent: 02 October 2007 07:29 To: OpenSceneGraph Users Subject: Re: [osg-users] GUI Events and Available Tutorial *** WARNING *** This mail has

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Robert Osfield
More platform feedback please, still not heard back from OSX XCode build, Solaris, HP-UX, AIX. Cygwin,Mingw and IRIX. I'l leave it a couple more hours then if no dissenting voices are heard check in this change. Robert. ___ osg-users mailing list osg-us

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Robert Osfield
Hi Andy, On 10/2/07, Andy Skinner <[EMAIL PROTECTED]> wrote: > Building with CMake. > > osgversion worked for me not that long ago. I've built a lot as I've > tried different versions, gotten everything working on all our > platforms, etc. Could this have been pre 2.x and CMake? > Hmmm, I wonde

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Jean-Sébastien Guay
Hello Adrian, > as starting point we should think about only static scenes, not morphable > objects. Yes, of course that would be a good start. Unfortunately I didn't have time to implement a kd-tree over OSG. We'll see what the future brings... Many thing will change once I hand in my thesi

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Adrian Egli
Hi Sébastien, as starting point we should think about only static scenes, not morphable objects. And for speed up line intersection tests we may can append a kd-tree or at least a spatial datastructure. i am sure that then your ray tracer would be faster than 20k. Event for motion model using inte

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
Building with CMake. osgversion worked for me not that long ago. I've built a lot as I've tried different versions, gotten everything working on all our platforms, etc. Hmmm, I wonder whether any of our settings changed that might affect this. At the worst I could skip using osgversion. I use

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Robert Osfield
On 10/2/07, Andy Skinner <[EMAIL PROTECTED]> wrote: > Your suggested typedef built for me (2.1.12 + this change) on Windows > and Mac. This is building with CMake on the Mac or XCode? > I'm still having a problem running osgversion on Mac when I'm not on the > console. osgversion hasn't really

Re: [osg-users] osgversion on Mac, not logged in to console

2007-10-02 Thread Andy Skinner
Here's what our Mac guy said about this: It appears that osgversion is linked in such a way that it initializes Cocoa or the Window Server (Carbon with UI Events) even to return version number, and it's complaining that it doesn't have a console for the UI session when it's run.

Re: [osg-users] Cygwin/Ming plugin names

2007-10-02 Thread Andreas Goebel
Robert Osfield schrieb: > Hi Norman, > > I have just spotted in src/osgPlugins/CMakeLists.txt: > > IF(NOT MINGW) > SET(CMAKE_SHARED_MODULE_PREFIX "") > ENDIF(NOT MINGW) > > Which suggests that everything except Mingw has "" prefix. Personally > I would have thought we could just have Mingw wor

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Jean-Sébastien Guay
Hello Adrian, > I am not yet sure how we should change the osg internal data structure, at > the moment we store vertices in simple arrays. I feel like to remap them > into an kd-tree. then the whole scenegraph is organised in a spatial data > structure. I agree, something like that would be grea

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
Your suggested typedef built for me (2.1.12 + this change) on Windows and Mac. I'm still having a problem running osgversion on Mac when I'm not on the console. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Skinner Sent: Tuesday, October 02,

Re: [osg-users] Tutorials

2007-10-02 Thread Paul Speed
Paul Speed wrote: > > Robert Osfield wrote: >> On 8/27/07, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: P.S. It seems to me to not have received the original Robert message, It is not the first ime I got a reply to a message I' ve never received. has it occured to anyone e

Re: [osg-users] Cygwin/Ming plugin names

2007-10-02 Thread Robert Osfield
Hi Norman, I have just spotted in src/osgPlugins/CMakeLists.txt: IF(NOT MINGW) SET(CMAKE_SHARED_MODULE_PREFIX "") ENDIF(NOT MINGW) Which suggests that everything except Mingw has "" prefix. Personally I would have thought we could just have Mingw work with "" as well. Mingw and Cygwin user

Re: [osg-users] Cygwin/Ming plugin names

2007-10-02 Thread Robert Osfield
Hi Norman, Thanks for looking this up. I don't believe it is the same as before as the plugins are compiled as SHARED_MODULE so I'm guess that both cywin and mingw would be lib prefix, i.e. libosgdb_osg.dll. This would mean that Cygwin has changed. Robert. On 10/2/07, Norman Vine <[EMAIL PROTE

Re: [osg-users] Cygwin/Ming plugin names

2007-10-02 Thread Norman Vine
Robert Osfield writes: > > Hi Cygwin/ming users, > > One open end on the Cygwin/Mingw I haved yet seen explain with enough > clarity is the situation with build and runtime load of plugins under > Cygwin and Mingw. Does this currently work under Cmake build? If not > what issues do you see? >

[osg-users] osgversion on Mac, not logged in to console

2007-10-02 Thread Andy Skinner
I'm having a problem that I don't think I did before. I telnet to an OSX machine, and I'm not logged in to its console. I try to run osgversion, and it says: == kCGErrorRangeCheck : Window Server communications from outside of session allowed for root and console user only Init_Processes(

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Jean-Sébastien Guay
Hello Tobias, > Does anybody has developed a raytracer based on OSG or OpenGL which is free > to use on other applications? It is important for me that no changes are > necessary to the OSG-framework like the raytracer of Amit Ben-David, who > modified the osg:Vec3f class. I need it for my thesis

Re: [osg-users] Call for feedback : glu.h does itcontain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
I'm still building on OSG, but using your typedef got past Tessellator.cpp and worked. andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Skinner Sent: Tuesday, October 02, 2007 8:51 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Call for fee

Re: [osg-users] Call for feedback : glu.h does it contain_GLUfuncptr?

2007-10-02 Thread Andy Skinner
No, only OSX is failing. I was giving you a variety of inputs from different machines. (You were asking for what different systems had, not just for things that didn't work, right?) Oh, I see, I mentioned the failing line. I just meant to show what the line that fails to build on Mac looks like

Re: [osg-users] OSG blocking on application exit.

2007-10-02 Thread Robert Osfield
On 10/2/07, Chris Denham <[EMAIL PROTECTED]> wrote: > Hi Robert, > Yes, the problem I was having with osgviewerMFC seems to have been fixed in > 2.1.13. :-) > Interestingly, I noticed that a call to mViewer->stopThreading() was added > to a destructor in the new example code, which I thought might

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Adrian Egli
Hi Paul, i know from this data structures. or we can have a look at http://ompf.org or arauna project http://rt07.raytracing.nl presentation (Real-time Ray Tracing through the Eyes of a Game Developer) /adegli 2007/10/2, Paul Melis <[EMAIL PROTECTED]>: > > On 10/2/07, *Adrian Egli* <[EMAIL P

Re: [osg-users] OSG blocking on application exit.

2007-10-02 Thread Robert Osfield
On 10/2/07, Neil Hughes <[EMAIL PROTECTED]> wrote: > The only light I can shed on this is that there has been issues with the > various threading models that OSG claims to support. Recent conversation > (today's correspondance is a good example) indicates that all is not great > in multithreaded/mu

Re: [osg-users] OSG blocking on application exit.

2007-10-02 Thread Chris Denham
Hi Robert, Yes, the problem I was having with osgviewerMFC seems to have been fixed in 2.1.13. :-) Interestingly, I noticed that a call to mViewer->stopThreading() was added to a destructor in the new example code, which I thought might be the "magic bullet". But commenting that out seems to have n

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Paul Melis
On 10/2/07, *Adrian Egli* <[EMAIL PROTECTED] > wrote: > Greate would be to get a RayTracer attached to the OSG scene. With > option to trace or not. Normally OSG won't trace, but if we like > to get high quality screens, we can just turn on the tracing. But >

Re: [osg-users] Independent prerender step

2007-10-02 Thread David Spilling
I do exactly that, using a camera which does the following: 1) Sets DO_NOT_COMPUTE_NEAR_FAR so that the skydome doesn't influence the auto-z calculation; otherwise large skydome radii will skew the rest of the scenes znear/zfar 2) Forces the projection matrix so that the skydome radius is within w

Re: [osg-users] dynamic_cast equivalent in osgDotNet

2007-10-02 Thread Christophe Medard
That's just because what you do is strange : OsgGA.GUIActionAdapter isn' a child class of OsgViewer.Viewer. OsgViewer.View aa; OsgViewer.Viewer viewer = aa as OsgViewer.Viewer; as a valid example perfectly works. Not only does the 'as' cast your aa OsgViewer.View reference to an OsgViewer.View

Re: [osg-users] dynamic_cast equivalent in osgDotNet

2007-10-02 Thread Christoffer Markusson
Hi Christophe, That gives error message "Cannot convert type 'OsgGA.GUIActionAdapter' to 'OsgViewer.Viewer' via a built-in conversion". Doing a direct cast, "viewer = (OsgViewer.Viewer)aa", also gives a error message when compiling in Visual Studio 2005. Christoffer >Christophe Medard christop

[osg-users] Independent prerender step

2007-10-02 Thread Kallfass, Daniel, SDGE1
Hello, What is the correct way to create an independent prerender step in OSG? I'd like to paint a skydome (from osgEphemeris) to the framebuffer which doesn't affect the near/far clipping plane computation, the z-buffer, scene lighting etc. I've tried around using osg::Camera with PRE_RENDER as

Re: [osg-users] dynamic_cast equivalent in osgDotNet

2007-10-02 Thread Christophe Medard
It's basically the 'as' C# cast operator. osgGA::GUIActionAdapter& aa; osgViewer::Viewer* viewer = dynamic_cast( &aa ); in C++ becomes : OsgGA.GUIActionAdapter aa; OsgViewer.Viewer viewer = aa as OsgViewer.Viewer; - Original Message - From: "Christoffer Markusson" <[EMAIL PROTECTED]> T

Re: [osg-users] OSG blocking on application exit.

2007-10-02 Thread Neil Hughes
Nice one. The only light I can shed on this is that there has been issues with the various threading models that OSG claims to support. Recent conversation (today's correspondance is a good example) indicates that all is not great in multithreaded/multicamera world! As far as we are concerned f

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Adrian Egli
Hi Tobias, exactly, OSG is develeped w.r.t high performance surface rendering (OpenGL). /adegli 2007/10/2, Tobias Münch <[EMAIL PROTECTED]>: > > Hello Adrian > > If I get you right, you think that the OSG data representation is not > optimized for use within a raytracer application. So it will

[osg-users] Windows definition of OSG_SOCKET_LIBS

2007-10-02 Thread Robert Osfield
Hi All, In tracking down compile problems under various platforms I can across one email suggest using linking against wsock rather than wsock.lib under Cygwin to allow the .net plugin to compile against libwsock.a, so something along those lines. No patch to the OSG has been forth coming in this

[osg-users] dynamic_cast equivalent in osgDotNet

2007-10-02 Thread Christoffer Markusson
Hi, What is the equivalence in C# using the osgDotNet wrappers to do the following? osgGA::GUIActionAdapter& aa osgViewer::Viewer* viewer = dynamic_cast( &aa ); Christoffer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.open

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Tobias Münch
Hello Adrian If I get you right, you think that the OSG data representation is not optimized for use within a raytracer application. So it will be possible to code a raytracer with OSG but results won't be very efficient and powerful? regards, Tobias On 10/2/07, Adrian Egli <[EMAIL PROTECTED]> w

Re: [osg-users] Call for feedback : glu.h does it contain _GLUfuncptr?

2007-10-02 Thread Robert Osfield
Hi All, Thanks for all the feedback, it looks to me like we might be able to get away with just defining in include/osg/GLU: typedef void (APIENTRY *GLU_TESS_CALLBACK)(); This compiles under Kubunto for me at least, and I'd expect most unix platforms to work just fine too, and "probably" unde

Re: [osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Adrian Egli
Hi Tobias, Greate would be to get a RayTracer attached to the OSG scene. With option to trace or not. Normally OSG won't trace, but if we like to get high quality screens, we can just turn on the tracing. But i was thinking about this still more then once. What we should get or what i like to inte

Re: [osg-users] Call for feedback : glu.h does it contain _GLUfuncptr?

2007-10-02 Thread Robert Osfield
Hi Andy, Exactly what platforms are succeeding and which ones are failing? >From your below text it seems line OSX, Solaris and Linux are failing... The error on the OSX looks like CMake is picking up on the GLX version of GLU rather than the Apple framework as the relevant code does work just fi

[osg-users] Searcing for raytracer implementation based on OSG

2007-10-02 Thread Tobias Münch
Hello to all OSG developers. Does anybody has developed a raytracer based on OSG or OpenGL which is free to use on other applications? It is important for me that no changes are necessary to the OSG-framework like the raytracer of Amit Ben-David, who modified the osg:Vec3f class. I need it for my

Re: [osg-users] DatabasePager - Display list compilation

2007-10-02 Thread Robert Osfield
Hi Lionel, You have complete control over the number of objects to compile so feel free to up this to something suitable for your scene. Secondly there is time limit applied as well as the maximum number of items in which case it'll limit things even if the number of object count is set too high.

[osg-users] osg NodeKit splashscreen

2007-10-02 Thread Cedric Pinson
I saw a post about osgGauge, and i thought my little nodekit could help some people who wants a splashscreen with a progress bar ready to use. It's a small nodekit but if it can help. You can find the mercurial repository here or if you only want to see result http://www.plopbyte.net/splashscre

Re: [osg-users] OSG blocking on application exit.

2007-10-02 Thread Robert Osfield
HI Chris, Could you try the SVN or 2.1.13 version to see if the issues you see with osgviewerMFC are fixed as there have been a number of fixes to it since 2.0. Robert. On 10/2/07, Chris Denham <[EMAIL PROTECTED]> wrote: > Hi OSGers, > I'm a bit of a newbie to OSG, but I've been developing an ap

[osg-users] Textured buildings turn white

2007-10-02 Thread Robert Balfour
I am rendering a lot of detailed textured buildings in a dense urban scene. Most of the time, it looks great. There is a low LOD with just colored building faces, and when you get closer to a building the textured faces switch in. But occasionally a condition arises where, when you zoom in close

[osg-users] DatabasePager - Display list compilation

2007-10-02 Thread Lionel Lagarde
Hi, When the database pager is requested to compile the paged drawables, (in the DatabasePager::compileGLObjects method) it calls the compileGLObjects method of the drawable contained in the DataToCompile map. This method delete the display list of the drawable if it already exists. In the case

Re: [osg-users] Cannot compile osgconv with vrml support

2007-10-02 Thread aredmer
Hello, I am not a very good programmer. I am a designer. I need osgconv.exe to convert vrml files to osg format. I had already tried the posted instructions to compile it by myself, but it did not work. I do not remember what error messages remained. Is that really necessary ? It would be really

[osg-users] OSG blocking on application exit.

2007-10-02 Thread Chris Denham
Hi OSGers, I'm a bit of a newbie to OSG, but I've been developing an application based on the osgviewerMFC example in OSG2.0 (built using VS2005). The problem that I discovered with my application (and the unmodified example) is that once I have loaded in a model (e.g. cow.osg or glider.osg) the pr

Re: [osg-users] PSSM: Latest Version : Please Test and Debug

2007-10-02 Thread Paul Melis
Adrian Egli wrote: > For those you are interest in see how the latest version looks like... There is a slight compile issue with gcc: ShadowPSSM.cpp: In member function 'virtual void osgShadow::ShadowPSSM::init()': ShadowPSSM.cpp:196: error: 'class osg::Texture2D::FilterMode' is not a class or

[osg-users] debug libraries in windows

2007-10-02 Thread Andy Skinner
I've lost track--should windows debug libraries have d appended, like osg22-osgd.dll? What about lib files? Somewhere as I went from OSG 1.2 to 2.*, we lost some of our text objects (we're using our own class). (Not all, oddly.) It looks like they might be culled out, and I thought the problem

Re: [osg-users] Serialize mutex in DatabsePager

2007-10-02 Thread Robert Osfield
Hi Garret, Feel free to do the appropriate mods to DatabasePager and post them to osg-submissions. It should be safer to allow multiple threaded reads these days. Robert. On 9/19/07, Garrett Potts <[EMAIL PROTECTED]> wrote: > Hello All: > > Was wondering what people thought about maybe moving t

Re: [osg-users] osgDotNet and Windows Forms

2007-10-02 Thread Christoffer Markusson
Hi Jason, Thanks for your help! I've used your code to create a controller in Visual Studio. But when I try to use the controller in a project it dosen't render anything. Could you please give me an example of how you use your controller? Christoffer >2007/9/19, Jason Beverage <[EMAIL PROTECTE

Re: [osg-users] GUI Events and Available Tutorial

2007-10-02 Thread Robert Osfield
Hi Renan, The tutorials have now be moved directly into the OSG wiki and the majority have been updated to be relevant to 2.x. http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials And as David mentioned, there are the OSG examples themselves. Robert. On 10/2/07, Renan Mendes <[

Re: [osg-users] Use of osgDotNet Wrappers

2007-10-02 Thread Christophe Medard
We are, for a use from C# projects. The fact is that some accessor functions are lacking of some important classes (example Osg.NodeCallback.operator()()). The solution adopted for instance - which isn't satisfying for will raise problem when the osg API evolves - is to patch manually the header

Re: [osg-users] Compiling VRML 2.0 Plugin (Visual Studio 8)

2007-10-02 Thread Kim C Bale
Thanks for your prompt reply, I'll have another go at it. Regards, Kim. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: 01 October 2007 21:53 To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Compiling VRML 2.0 P

Re: [osg-users] Call for feedback : glu.h does it contain _GLUfuncptr?

2007-10-02 Thread Alberto Luaces
Cygwin (win32 headers located at usr/include/w32api/GL, not X11 ones): typedef void (APIENTRY *_GLUfuncptr)(); GLAPI void APIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which, _GLUfuncptr CallBackFunc); where gl.h:#define GLAPI __stdcall and gl.h:#define APIENTRY __stdcall ___

Re: [osg-users] DatabasePager and Producer::Viewer

2007-10-02 Thread Robert Osfield
Hi Stephan, You can check how many items the DatabasePager has left to merge via the following methods - when the sum of the two goes to 0 its complete. /** Report how many items are in the _fileRequestList queue */ unsigned int getFileRequestListSize() const { return _fileReques