Re: [osg-users] Problem with 2D scene

2008-11-16 Thread Robert Osfield
Hi Frank, Good detective work. I hadn't thought about this tiny little "optimization" in the updateCalculatedNearFar. This optimization only makes sense of perspective projections, and if fact could probably be safely removed completely for all types of projection matrices. Could you comment ou

Re: [osg-users] Compile error - ConvertUTF on osgDB in Cygwin

2008-11-16 Thread Robert Osfield
Hi Brian, On Sat, Nov 15, 2008 at 12:15 AM, Brian Keener <[EMAIL PROTECTED]> wrote: > I placed your attachment in place of the include file and then moved > Alberto's ConvertUTF.cpp out of the way and retrieved the current > version from SVN. Compiles just fine. > > Anything I can run/test to ver

Re: [osg-users] Bug with argument parser?

2008-11-16 Thread alessandro terenzi
Thanks Robert, I'll have a look. By the way, do you think that it will require just a little time to add that support to osg 2.2.0? Unfortunately I must still use osg 2.2.0 for a project, so I must consider adding that support by myself, if it is feasible. Regards. Alessandro On Sun, Nov 16, 2008

Re: [osg-users] PNG and Collada

2008-11-16 Thread alessandro terenzi
As a temporary workaround, I'm trying to fix my .dae models by modifying their scenegraphs in the following way: I created a node visitor that looks for Geodes whose blending in turned ON, then for such geodes I change the the blending function in the way I wrote in my previous mail and also chan

Re: [osg-users] Bug with argument parser?

2008-11-16 Thread Robert Osfield
Hi Alessandro, I could be you are falling foul of lack of wide character filenames under Windows. Support for this has only just been added in the last week to of the OSG svn/trunk. Robert. On Sat, Nov 15, 2008 at 7:38 PM, alessandro terenzi <[EMAIL PROTECTED]> wrote: > Using osg2.2.0 I notice

Re: [osg-users] CompositeViewer with one Window

2008-11-16 Thread Robert Osfield
Hi Tommy, Sharing a single window between multiple views is demonstated in the osgcompositeviewer example - you simply assign the same GraphicsWindow to the Camera's in each of the Views. You change views you can stop the viewer threads and then add/remove views you need then restart the threadi

Re: [osg-users] Bug with argument parser?

2008-11-16 Thread Robert Osfield
Hi Allessandro, It should be possible to port the work for adding wide character filename support under WIndows but... it's a huge submission and wouldn't be something that I would recommend. It'll require lots of changes to core osgDB as well as almost all of the plugins. Once you've applied th

[osg-users] osg_gen

2008-11-16 Thread Adaya Lorenzo
Hello. I have tried to compile Virtual Planet Builder v0.9.9 using OSG 2.7.4 and I have a dependence 'osg_gen' but I do not find it in any place. Specifically when I use cmake with vpb, it searches osg_gen_include_dir but I do not find the file. Thanks for answering -- Adaya Lorenzo _

Re: [osg-users] VNC client done in 3D

2008-11-16 Thread Rahul Jain
Hi all, Have any body tested it on Windows. I am having trouble compiling it using cygbin. Rahul Robert Osfield wrote: > Hi J-S. > > On Mon, Nov 3, 2008 at 6:08 PM, Jean-Sébastien Guay > <[EMAIL PROTECTED]> wrote: > >> Hi Robert, >> >> >>> osgvnc --host 10.0.0.1 --host 10.0.0.2 >>>

Re: [osg-users] osg_gen

2008-11-16 Thread Robert Osfield
HI Adaya, Do you do an out of source build on the OSG? Have you installed the OSG? How did you tell VPB about the placement of the OSG? In theory it should pick up on the include directories automatically, but perhaps you usage combination has not been handled by the VirtualPlanetBuilder/CMakeM

Re: [osg-users] Bug with argument parser?

2008-11-16 Thread alessandro terenzi
Ok. Thank you for your suggestions. I'll consider to port from OSG-2.2 to OSG-2.7. Best Regards. Alessandro On Sun, Nov 16, 2008 at 1:13 PM, Robert Osfield <[EMAIL PROTECTED]>wrote: > Hi Allessandro, > > It should be possible to port the work for adding wide character > filename support under WIn

Re: [osg-users] osgPPU vs RTT

2008-11-16 Thread Art Tevs
Hi, as I was able to see the MPV and CIGI projects are something like "rendering over the netwrok" - interface thing. I wasn't able to find info how the RTT is handled there. Also it seems that is is using an almost outdated osg version, since osgUtil::SceneView is already deprecated since osg

Re: [osg-users] osgswig compiled (on intrepid, OSG 2.4.0) but examples segfault

2008-11-16 Thread Hartmut Seichter
I haven't updated to intrepid and actually I am not sure if osgSWIG should compile against OSG 2.4.0 you can check with gdb where exactly it crashes. A wild guess of mine is that like so often the actual OSG libraries are not in your LD_LIBRARY_PATH or the sys.path of your Python interpreter.

Re: [osg-users] osgswig compiled (on intrepid, OSG 2.4.0) but examples segfault

2008-11-16 Thread Gerwin de Haan
Patrick and Hartmut, Just finished a fresh install of ubuntu Intrepid Ibex 8.10 on my home machine. With this setup, I was able to replicate these errors. Hope to try a manual build of osg 2.4 soon, did you try that? regards, Gerwin ps. follow this issue here: http://code.google.com/p/osgswig/issu

Re: [osg-users] CompositeViewer with one Window

2008-11-16 Thread Tommy Persson
OK, I think I undertand it better now conceptually. What confused me was that two different cameras draw on the same area if both were enabled. I only thought one camera could be enbled at the time for the same area. Just a quick question (I will test more systematically tomorrow). I tried to use

Re: [osg-users] osgswig binary release?

2008-11-16 Thread Hartmut Seichter
Hi Linh, osgSWIG is fully and utterly broken at the moment for Windows - the head of the SVN also will only work with the OSG 2.6.x versions. I am currently hiring somebody to do the lengthy work of splitting and rebuilding the CMake build system so that it scales better with new APIs etc pp.

[osg-users] How to define my own geometry in osgswig?

2008-11-16 Thread Phan, Linh H
Hi, I was wondering if it's possible to draw my own geometry in osgswig, eg something like: import osg, osgViewer class MyCube(osg.Drawable): def __init__(self): osg.Drawable.__init__(self); # AttributeError: No constructor defined def drawImplementation(self, state):