Re: [osg-users] polytopeIntersector

2008-01-17 Thread Peter Hrenka
Hi Gianloca,

Gianluca Natale wrote:
 Hi,
 I went deeply in debug into my code, and I discovered that the problem
 is in OSG v.2.2.
 Actually it returns the object with the shortest node path among those
 in the intersection vector.
 Was it a known bug?

No, I do not consider this a bug. As a polytope has no concept
of near or far the order of the result is actually
arbitrary. Of course the method-name getFirstIntersection
is misleading...

To overcome this shortcoming I introduced the concept of
ReferencePlane to the PolytopeIntersector which probably
does what you want but my modifications did not make it
into OSG 2.2.

If you must use 2.2, you could try to take the PolytopeIntersector
from the current OSG dev Release, rename it to MyPolytopeIntersector
and use with 2.2.


 Thanks in advance
 Gianluca

Peter

-- 
creating IT solutions
Peter Hrenkascience + computing ag
Software Solutions  Hagellocher Weg 73
phone +49 7071 9457 263 72070 Tuebingen, Germany
fax   +49 7071 9457 511
[EMAIL PROTECTED]   www.science-computing.de
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] RE : Re: osgvolume not running on Linux

2008-01-17 Thread Franclin Foping
Hello,
 I doubt it is a problem with the my driver because I am using a driver 
supplied by nVIDIA. 
 The osgvolume example runs perfectly on Windows but not on Linux. 
 The osgTexture3D also runs perfectly on Linux so I don't think it has 
something to do with the lack of 3D texture support on Linux like Robert 
suggested.
 Any other advice?
 Regards,
 Franclin.

Mike Weiblen [EMAIL PROTECTED] a écrit : Hi,

turn up the OSG notify level to get more detailed output about what's
failing.  I'd suspect a GPU/driver OpenGL extension issue rather than the
OS.  What graphics h/w are to trying to use?

-- mew


On Sat, January 12, 2008 15:01, Franclin Foping wrote:
 Hello everyone,
  I am currently working on a volume rendering program and I thought I
 could start by the build-in example osgvolume.
  However it doesn't work on Linux not sure why? In fact, when I run it the
 program exits immediately and returns 0, meaning that it terminates
 properly.
  Anyone can help?
  Other examples work perfectly.
  Any documentation about osgvolume? What is it supposed to do?
  Waiting for your reply.
  Franclin.


 -
  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
 Mail ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 
-
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Test (ignore this)

2008-01-17 Thread Jeremy Moles
This is a test to see if the lists are down; a post I made earlier today
never made it through.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenFlight cow for Christmas

2008-01-17 Thread Garry Keltie
Hi Gordon, Paul,

This was a heartening thread as it prompted me to get back and try yet 
again to get reflection mapped objects in Creator appearing that way in OSG.

I understand the modelling side of multitexturing in Creator (I hope) 
but could never see the results in OSG based viewers when loaded as flt 
or saved and loaded as osg/ive formats. The OSGExp project was such a 
watershed in that department.

Having a read of the cow.osg sample data I see that there are 
consistently missing attributes when exporting from openflight. I get 
results similar to what I see in the Creator window when I add to my 
destined environment/reflection map

TextureUnit[n]:

GL_TEXTURE_GEN_S ON
GL_TEXTURE_GEN_T ON

and a:

TexGen {
DataVariance STATIC
mode REFLECTION_MAP  //or SPHERE_MAP
}


For reference, OSGExp, when exporting a reflection mapped object, 
appears to include amongst many other things (perhaps just for good 
measure?):

GL_TEXTURE_GEN_S ON
GL_TEXTURE_GEN_T ON
GL_TEXTURE_GEN_R ON
GL_TEXTURE_GEN_Q ON

TexGen {
mode SPHERE_MAP
}

Would this be an OpenFlight loader issue that is under consideration 
with read/write and OpenFlight? I also notice that when writing osg 
files that my texture attributes (min/mag filters) are largely ignored 
and appear to be respected when writing ive files.

(Using release ver. 2.2.0)

Cheers

Garry

 Hi Paul
 
 Depends on what you mean by Sphere mapping :)
 
 OpenFlight and Creator support Spherical, Radial and Environment 
 texture mapping among the normal texture methods in this case I think
  you mean(maybe) what Creator calls Environment mapping
 
 This is done in Creator very easily, through the texture tool box, 
 select geom., select texture, in the case of Environment select the 
 tool and your done and this can be seen in Creator ( Unlike the old 
 days of Multigen II, we used the special 1/2 field to mark 
 group/objects to be mapped nice shine environment, for metal, glass 
 etc ),
 
 These methods when used add an entry to the Texture Mapping Palette 
 with there type set to Spherical, Radial and Environment, so this 
 should not  be too hard to add (hopefully)
 
 
 __ Gordon 
 Tomlinson


 Here's a Christmas gift -- the OSG cow converted to OpenFlight. This
 was created using the new OSG OpenFlight export plugin, which is
 currently in development and should be ready for some beta testing in
 the February/March timeframe.
 
 Caveats:
 
 * To view this in OSG, use the SVN head. (This model requires
 Continuation record support, which wasn't in OSG v2.2.)
 
 * There is no sphere mapping equivalent in OpenFlight (if I'm wrong,
 please correct me) so you really don't want texture mapping. To
 disable texture mapping in osgviewer, hit the 't' key. You should see
 a lit white cow.
 
 Nonetheless, it's the cow converted to OpenFlight! Which is pretty
 cool.
 
 Thanks to Bob Kuehne and Dave Wolfe for their help on this project so
 far (and also to our client funding the project, who wishes to remain
 anonymous).
 
 Paul Martz





-- 
Garry Keltie

garry.@rmit. .au
  keltieedu
VR Centre - Research  Innovation
RMIT University

/ ...  .. - /   .- .--. .--. . -. . -..
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Test

2008-01-17 Thread Gordon Tomlinson
ignored ;) 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, January 17, 2008 1:44 PM
To: OpenSceneGraph Users
Subject: [osg-users] Test

Please ignore
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osg::DatabasePager and paged lod database

2008-01-17 Thread guher b
Hi,

I would like to view a pagedlod database that has one
pagedlod child via osgViewer(both the master file and
the paged lod file's are in osg format).
 I add database pager to osgViewer, yet the paged
database could not be viewed in the viewer.The non
paged lod database (in flt format) can be viewed
without any problems. Has anybody else encountered
this problem? 

I think that the paged lod database I have generated
from openflight database(via a code I have found from
this mailing list, which don't seem to have any flaws
in it) is not valid. However, i can not  see any
problem in the files. And, the viewer can not view the
database. 
The general structure of the paged lod database master
file is, 


Group {
  DataVariance UNSPECIFIED
  name SomeNode
  nodeMask 0x
  cullingActive TRUE
  num_children 1
  Group {
DataVariance UNSPECIFIED
name g0
nodeMask 0x
cullingActive TRUE
num_children 1
Group {
  DataVariance UNSPECIFIED
  name g0
  nodeMask 0x
  cullingActive TRUE
  num_children 1
  Group {
DataVariance UNSPECIFIED
name g1
nodeMask 0x
cullingActive TRUE
num_children 1
PagedLOD {
  DataVariance UNSPECIFIED
  nodeMask 0x
  cullingActive TRUE
  Center 13806.9 24056.3 1079.8
  Radius 964.735
  RangeMode DISTANCE_FROM_EYE_POINT
  RangeList 1 {
0 5000
  }
  NumChildrenThatCannotBeExpired 0
  FileNameList 1 {
flight0_0.osg
  }
  num_children 0
}
  }
}
  }
}

Do you see any problems?

Thanks in advance



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Slow day

2008-01-17 Thread Paul Martz
Just testing, haven't seen any posts in 16 hours.
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com http://www.skew-matrix.com/ 
303 859 9466
 
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] pulsating cull time with lightpoints

2008-01-17 Thread Robert Balfour
I have a model of hundreds of lightpoints on the ground, each lightpoint
with an associated small light model (taxiway lights at an airport).

Looking at this .osg model in osgviewer, the CULL time has a 2Hz pulse,
where it jumps from approx 6ms up to 12ms about twice a second. 
Sometimes it will even get stuck up at 12+ms for a few seconds before
dropping back down to a 2Hz pulse.

What could potentially cause this pulsating cull time?  I have other
sets of lightpoints/model (runway lights) that don't exhibit any
pulsating.

Also, even a 6ms cull time seems a bit expensive (the draw time is a
reasonable 1ms).  Each of the hundreds of lightpoints and models were
positioned with a STATIC matrix transform (which would be flattened and
optimized out on load?), with a top DYNAMIC matrix transform over the
whole group (to position it in real-world airport coordinates). Can this
be re-organized to reduce the cull time? 

Thanks.


Bob.
-- 
Robert E. Balfour, Ph.D.
Exec. V.P.  CTO,  BALFOUR Technologies LLC
960 South Broadway, Suite 108, Hicksville NY 11801
Phone: (516)513-0030  Fax: (516)513-0027  email: [EMAIL PROTECTED]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Peter DeSantis



Hi , i do heaps of
 stereoscropic stuff with quadro cards.

If you your projector
 takes 2 input sources, you can try connect
 to the two dvi ports on a single quadro card.

then go the driver
 of the quadro card driver section and put
 the qudro into clone mode so that you get
 the same single desktop display on both outputs.
 The go to the advanced properties section
 on the quadro card and enable the stereoscopic
 feature, then select "clone mode stereo"
 as the stereo type.

Then you can run
 any stereoscopic application that uses the
 standard "quad buffer frame sequential" opengl
 sterescopic format and the quadro driver
 will auto convert it to the clone stereo
 mode.

In addition of course
 you could also try putting the quadro card
 into a dual view display mode, ignore everything
 i said above and run you application in a
 "dual screen" stereo format.

I think openscenegraph
 supports both the bove stereo formats i mention.
 Its also usefull to understand exactly the
 format your projector is expecting as well.

Peter




 Hi, our lab get
 a new stereo projector connects to two video
 outputs on one Quadro FX 5500. Does OpenSceneGraph
 support such stereo display? I used to do
 stereo display using two machine and now
 I have no idea how to do it using one single
 video card. Anyinformation will be appreciated.
 Yanling

--- Original
 Message ---

From:"Yanling Liu" [EMAIL PROTECTED]
To:"OpenSceneGraph Users"
 osg-users@lists.openscenegraph.org
Date:Wed, 16 Jan 2008 20:51:02
 -0500
Subject:[osg-users] stereo
 projector support in OpenSceneGraph
Hi, our lab
 get a new stereo projector connects to two
 video outputs on one Quadro FX 5500. Does
 OpenSceneGraph support such stereo display?
 I used to do stereo display using two machine
 and now I have no idea how to do it using
 one single video card. Any information will
 be appreciated. Yanling


___osg-users
 mailing listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgPPU now also on MsWindows

2008-01-17 Thread Jean-Sebastien Guay
Hello Art,

 Thanks to Stephane Lamoliatte for providing a patch to
 make this possible. The osgPPU should now also compile
 and run under Windows. Please test and inform me when
 this is not the case.

Yes, thanks to Stephane! It works great. Looks very well designed as well,
allowing many modern effects to be implemented in a straightforward way. Good
work!

J-S
--
__
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Shadows with OpenProducer - is it possible?

2008-01-17 Thread DKa
Wojtek Lewandowski just pointed out to me that the osg
implementation of the OpenProducer might not work
properly with the shadow implementation of OSG. Is
this correct? Do I have to migrate my application to
the osg viewer?

Thanks,
D.


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RE : Re: osgvolume not running on Linux

2008-01-17 Thread Mike Weiblen


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:osg-users-
 [EMAIL PROTECTED] On Behalf Of Franclin Foping
 Sent: Thursday, January 17, 2008 1:02 PM
 To: OpenSceneGraph Users
 Subject: [osg-users] RE : Re: osgvolume not running on Linux
 
 Hello,
  I doubt it is a problem with the my driver because I am using a driver
 supplied by nVIDIA.

That means nothing.  There may be a required GL extension not implemented (a 
vendor may implement different extensions on different operating systems, 
regardless of the hardware being identical), or simply a bug in the driver.

Asking again: Exactly what graphics h/w are to trying to use (model numbers, 
driver version, Linux distro, etc)?

-- mew


  The osgvolume example runs perfectly on Windows but not on Linux.
  The osgTexture3D also runs perfectly on Linux so I don't think it has
 something to do with the lack of 3D texture support on Linux like
 Robert suggested.
  Any other advice?
  Regards,
  Franclin.
 
 Mike Weiblen [EMAIL PROTECTED] a écrit :
 
   Hi,
 
   turn up the OSG notify level to get more detailed output about
 what's
   failing. I'd suspect a GPU/driver OpenGL extension issue rather
 than the
   OS. What graphics h/w are to trying to use?
 
   -- mew
 
 
   On Sat, January 12, 2008 15:01, Franclin Foping wrote:
Hello everyone,
I am currently working on a volume rendering program and I
 thought I
could start by the build-in example osgvolume.
However it doesn't work on Linux not sure why? In fact, when I
 run it the
program exits immediately and returns 0, meaning that it
 terminates
properly.
Anyone can help?
Other examples work perfectly.
Any documentation about osgvolume? What is it supposed to do?
Waiting for your reply.
Franclin.
   
   
-
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
 vers Yahoo!
Mail ___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-
 openscenegraph.org
   
 
 
   ___
   osg-users mailing list
   osg-users@lists.openscenegraph.org
   http://lists.openscenegraph.org/listinfo.cgi/osg-users-
 openscenegraph.org
 
 
 
 
 
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
 http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trues
 witch.com/yahoo-fr/  vers Yahoo! Mail
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RE : Re: osgvolume not running on Linux

2008-01-17 Thread Robert Osfield
On Jan 17, 2008 7:01 PM, Franclin Foping [EMAIL PROTECTED] wrote:
 Hello,
  I doubt it is a problem with the my driver because I am using a driver
 supplied by nVIDIA.
  The osgvolume example runs perfectly on Windows but not on Linux.
  The osgTexture3D also runs perfectly on Linux so I don't think it has
 something to do with the lack of 3D texture support on Linux like Robert
 suggested.
  Any other advice?

Well Linux + osgvolume work just fine under Linux given the right
drivers and hardware.  I osgvolume developed under Linux no less.  I
can't say what might be up with your system, drivers would be the
first item to look at, beyond this you'll just need to step through
with a debugger and up the notification level as Mike suggested.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenFlight cow for Christmas

2008-01-17 Thread Paul Martz
I looked at adding support for the texture Mapping palette in my OpenFlight
exporter, but saw that it is not currently supported in the extant importer.
This is, no doubt, why your reflection-mapped Creator models don't render
correctly in OSG.

I don't have funding to support the Texture Mapping Palette in the importer,
and will need to touch base with my client to see what kind of priority they
have for reflection-mapped models.
   -Paul


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Garry Keltie
 Sent: Wednesday, January 16, 2008 7:24 PM
 To: osg-users@lists.openscenegraph.org
 Subject: Re: [osg-users] OpenFlight cow for Christmas
 
 Hi Gordon, Paul,
 
 This was a heartening thread as it prompted me to get back 
 and try yet again to get reflection mapped objects in Creator 
 appearing that way in OSG.
 
 I understand the modelling side of multitexturing in Creator 
 (I hope) but could never see the results in OSG based viewers 
 when loaded as flt or saved and loaded as osg/ive formats. 
 The OSGExp project was such a watershed in that department.
 
 Having a read of the cow.osg sample data I see that there are 
 consistently missing attributes when exporting from 
 openflight. I get results similar to what I see in the 
 Creator window when I add to my destined environment/reflection map
 
 TextureUnit[n]:
 
 GL_TEXTURE_GEN_S ON
 GL_TEXTURE_GEN_T ON
 
 and a:
 
 TexGen {
 DataVariance STATIC
 mode REFLECTION_MAP  //or SPHERE_MAP }
 
 
 For reference, OSGExp, when exporting a reflection mapped 
 object, appears to include amongst many other things (perhaps 
 just for good
 measure?):
 
 GL_TEXTURE_GEN_S ON
 GL_TEXTURE_GEN_T ON
 GL_TEXTURE_GEN_R ON
 GL_TEXTURE_GEN_Q ON
 
 TexGen {
 mode SPHERE_MAP
 }
 
 Would this be an OpenFlight loader issue that is under 
 consideration with read/write and OpenFlight? I also notice 
 that when writing osg files that my texture attributes 
 (min/mag filters) are largely ignored and appear to be 
 respected when writing ive files.
 
 (Using release ver. 2.2.0)
 
 Cheers
 
 Garry
 
  Hi Paul
  
  Depends on what you mean by Sphere mapping :)
  
  OpenFlight and Creator support Spherical, Radial and Environment 
  texture mapping among the normal texture methods in this 
 case I think  
  you mean(maybe) what Creator calls Environment mapping
  
  This is done in Creator very easily, through the texture tool box, 
  select geom., select texture, in the case of Environment select the 
  tool and your done and this can be seen in Creator ( Unlike the old 
  days of Multigen II, we used the special 1/2 field to mark 
  group/objects to be mapped nice shine environment, for metal, glass 
  etc ),
  
  These methods when used add an entry to the Texture Mapping Palette 
  with there type set to Spherical, Radial and Environment, so this 
  should not  be too hard to add (hopefully)
  
  
  __ Gordon 
  Tomlinson
 
 
  Here's a Christmas gift -- the OSG cow converted to 
 OpenFlight. This 
  was created using the new OSG OpenFlight export plugin, which is 
  currently in development and should be ready for some beta 
 testing in 
  the February/March timeframe.
  
  Caveats:
  
  * To view this in OSG, use the SVN head. (This model requires 
  Continuation record support, which wasn't in OSG v2.2.)
  
  * There is no sphere mapping equivalent in OpenFlight (if 
 I'm wrong, 
  please correct me) so you really don't want texture mapping. To 
  disable texture mapping in osgviewer, hit the 't' key. You 
 should see 
  a lit white cow.
  
  Nonetheless, it's the cow converted to OpenFlight! Which is pretty 
  cool.
  
  Thanks to Bob Kuehne and Dave Wolfe for their help on this 
 project so 
  far (and also to our client funding the project, who 
 wishes to remain 
  anonymous).
  
  Paul Martz
 
 
 
 
 
 --
 Garry Keltie
 
 garry.@rmit. .au
   keltieedu
 VR Centre - Research  Innovation
 RMIT University
 
 / ...  .. - /   .- .--. .--. . -. . -..
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] State of VPB?

2008-01-17 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
I understand that VirtualPlanetBuilder is under construction, but what
is the current state of it in SVN?  I downloaded it yesterday to start
playing with it and I'm wondering which features are ready for testing
and which ones to stay away from?

Specifically, I'm interested in the --buildings command, but so far
can't get it to work with any other data.  Passing in the shapefile
works, but as soon as I add texture or elevation, the buildings go away.

Ken.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgPPU

2008-01-17 Thread Art Tevs
Hi folks,

Current version of the osgPPU library (svn version) do
now use CMake build system to compile. The build
process is now almost exactly the same as for the osg
main core library.

Thanks to Stephane Lamoliatte for providing a patch to
make this possible. The osgPPU should now also compile
and run under Windows. Please test and inform me when
this is not the case.

Best regards,
Art

P.S. Please ignore if this mail will be delivered
twice (because of the down time of the mailinglist)


  Heute schon einen Blick in die Zukunft von E-Mails wagen? 
www.yahoo.de/mail
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Robert Osfield
Hi Yanling,

The OSG supports various stereo modes, there is a page stereo on the
openscenegraph.org wiki with details.

For yourself you'll want to set up the graphics card with either with
two screens and two graphics graphics windows, or two screens using
TwinView so that the two screens are driven by one graphics window,
the later will provide the best perfomance.  The osgViewer library
will automatically detect the set up and set up up a window across all
the screens you have, and if you enable HORIZONTAL_SPLIT stereo mode
then it'll set up the stereo across either both windows or just the
single one.  I have used both set ups before with the OSG so is well
trodden ground.  Try:

   osgviewer cow.osg --stereo HORIZONTAL_SPLIT

Robert.

On Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED] wrote:
 Hi, our lab get a new stereo projector connects to two video outputs on one
 Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to
 do stereo display using two machine and now I have no idea how to do it
 using one single video card. Any information will be appreciated.

 Yanling

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] finding image files and how to correctly exit and osg application

2008-01-17 Thread Peter DeSantis



Hi

i have successfully used cmake to build
 osg 2.2.0 with visual studio 2008.

I have been able to create from scratch
 a new project in anew directory structure
 a test project based on the osgshape example
 and it builds and runs fine in both debug
 and release mode.

MY problem is when i copy the release
 exe to another test machine i also copy the
 runtime dll and the image file that is loaded
 in the shape example to the same directory
 the exe is running from on the new computer.
 The exe runs fine, but does not find the
 image texture file even when its in the current
 directroy and in addition once the exe has
 been run i use the Esc key to exit it and
 then the program and directory become locked
 to some process i can not delete the file
 or directory i have to logout or reboot.

Based on the OSGshape example is there
 a correct way to prevent the exe being locked
 to a process, and how can i make sure the
 image file is always found.

The exe only gets locked when i run
 it independtly, theres no problem when i
 run it from visual studio.


ThanksPeter DeSantis[EMAIL PROTECTED]Jumbo
 Vision International Pty LtdUnit 2 ,1
 Aitken WayKewdale WA 6105AustraliaTel:
 61 8 9353 6200Fax: 61 8 9353 6211

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgHUD / osgText / RFC

2008-01-17 Thread Bradford, Chase
This doesn't really answer your question, but the bad sheering effect
you're getting might be solvable by apply the GL_POLYGON_SMOOTH
attribute to the text object.

Chase

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:osg-users-
 [EMAIL PROTECTED] On Behalf Of Jeremy Moles
 Sent: Thursday, January 17, 2008 7:45 AM
 To: OpenSceneGraph Users
 Subject: [osg-users] osgHUD / osgText / RFC
 
 (This is a separate issue from my blending question which I posted
 earlier this week)
 
 In osgHUD, it is very convenient for me for various reasons to set the
 osgText alignment mode to:
 
   osgText::Text::CENTER_CENTER
 
 ...which allows me to put a bit of text in the center of a quad and
 delegate the responsibility of positioning to my osgHUD::Widget API.
 This is all fine and well, and works exactly as advertised.
 
 However, with regards to quality, there is no guarantee (at least that
I
 can see) that osgText won't set the position internally of the text to
 values that do not map 1:1 to pixels on the screen--that is to say,
the
 position isn't necessarily pixel aligned. I looked at the code for
 osgText::computePositions() a bit, but figured I'd ask here first in
 case I'm missing something obvious.
 
 My question then is: is there a way to coerce osgText to use
 CENTER_CENTER alignment but enforce that the text itself is never
 positioned (at least as far as the X and Y planes are concerned) with
a
 value that isn't pixel aligned?
 
 Attached are two screenshots of the osghudmenu example I'm working
on
 (which is in SVN if anyone would like to see it!) at the moment. The
 first screenshot uses CENTER_CENTER and the second uses LEFT_BOTTOM.
Of
 course, when I use LEFT_BOTTOM I have to position the text manually
 myself (which isn't hard, but certainly creates more code). In both
 cases I enforce that the X and Y values to pass to -setPosition() are
 floor()'d, but that doesn't mean that osgText itself won't add 0.5f or
 so to the position, especially in CENTER_CENTER mode. To the
discerning
 eye, you'll see a MAJOR difference...
 
 Hope I'm making sense. :)
 
 P. S. Anyone who has any advice on my question from earlier this week
 gets a cookie or something. :)
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Jeremy Moles
On a separate but related note: I've got some 3D classed from the
Beowulf movie. :)

Can I make the cow pop out at me somehow?

On Thu, 2008-01-17 at 09:20 +, Robert Osfield wrote:
 Hi Yanling,
 
 The OSG supports various stereo modes, there is a page stereo on the
 openscenegraph.org wiki with details.
 
 For yourself you'll want to set up the graphics card with either with
 two screens and two graphics graphics windows, or two screens using
 TwinView so that the two screens are driven by one graphics window,
 the later will provide the best perfomance.  The osgViewer library
 will automatically detect the set up and set up up a window across all
 the screens you have, and if you enable HORIZONTAL_SPLIT stereo mode
 then it'll set up the stereo across either both windows or just the
 single one.  I have used both set ups before with the OSG so is well
 trodden ground.  Try:
 
osgviewer cow.osg --stereo HORIZONTAL_SPLIT
 
 Robert.
 
 On Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED] wrote:
  Hi, our lab get a new stereo projector connects to two video outputs on one
  Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to
  do stereo display using two machine and now I have no idea how to do it
  using one single video card. Any information will be appreciated.
 
  Yanling
 
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Fábio Mierlo
Yes.

osgviewer --help |grep stereo -A 3

;-)

On Jan 16, 2008 11:51 PM, Yanling Liu [EMAIL PROTECTED] wrote:
 Hi, our lab get a new stereo projector connects to two video outputs on one
 Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to
 do stereo display using two machine and now I have no idea how to do it
 using one single video card. Any information will be appreciated.

 Yanling

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Jeremy Moles
On Thu, 2008-01-17 at 16:47 -0500, Jeremy Moles wrote:
 On a separate but related note: I've got some 3D classed from the
 Beowulf movie. :)

 Can I make the cow pop out at me somehow?

Bah, never mind--Wikipedia says Beowulf used a unique kind of stereo
that only works on a special screen. :)

 On Thu, 2008-01-17 at 09:20 +, Robert Osfield wrote:
  Hi Yanling,
  
  The OSG supports various stereo modes, there is a page stereo on the
  openscenegraph.org wiki with details.
  
  For yourself you'll want to set up the graphics card with either with
  two screens and two graphics graphics windows, or two screens using
  TwinView so that the two screens are driven by one graphics window,
  the later will provide the best perfomance.  The osgViewer library
  will automatically detect the set up and set up up a window across all
  the screens you have, and if you enable HORIZONTAL_SPLIT stereo mode
  then it'll set up the stereo across either both windows or just the
  single one.  I have used both set ups before with the OSG so is well
  trodden ground.  Try:
  
 osgviewer cow.osg --stereo HORIZONTAL_SPLIT
  
  Robert.
  
  On Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED] wrote:
   Hi, our lab get a new stereo projector connects to two video outputs on 
   one
   Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to
   do stereo display using two machine and now I have no idea how to do it
   using one single video card. Any information will be appreciated.
  
   Yanling
  
   ___
   osg-users mailing list
   osg-users@lists.openscenegraph.org
   http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
  
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Bob Huebert

On Thu, 17 Jan 2008, Jeremy Moles wrote:

 On Thu, 2008-01-17 at 16:47 -0500, Jeremy Moles wrote:
 On a separate but related note: I've got some 3D classed from the
 Beowulf movie. :)

 Can I make the cow pop out at me somehow?

 Bah, never mind--Wikipedia says Beowulf used a unique kind of stereo
 that only works on a special screen. :)

This is a z-screen which applies polarization filtering on a stereoscopic 
image (frame) pair. The z-screen portion is easily replicated on a 
computer display with osg. Now if we only had a stereoscopic movieplayer 
plugin for osg... :}  -bob


 On Thu, 2008-01-17 at 09:20 +, Robert Osfield wrote:
 Hi Yanling,

 The OSG supports various stereo modes, there is a page stereo on the
 openscenegraph.org wiki with details.

 For yourself you'll want to set up the graphics card with either with
 two screens and two graphics graphics windows, or two screens using
 TwinView so that the two screens are driven by one graphics window,
 the later will provide the best perfomance.  The osgViewer library
 will automatically detect the set up and set up up a window across all
 the screens you have, and if you enable HORIZONTAL_SPLIT stereo mode
 then it'll set up the stereo across either both windows or just the
 single one.  I have used both set ups before with the OSG so is well
 trodden ground.  Try:

osgviewer cow.osg --stereo HORIZONTAL_SPLIT

 Robert.

 On Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED] wrote:
 Hi, our lab get a new stereo projector connects to two video outputs on one
 Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to
 do stereo display using two machine and now I have no idea how to do it
 using one single video card. Any information will be appreciated.

 Yanling

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Shadows with OpenProducer - is it possible?

2008-01-17 Thread Wojciech Lewandowski
I haven't suggested that it won't work with osgProducer. I said that your
poroblem ie ShadowMap init not being called by Update Traversal may be
caused by some differences beetween osgViewer and osgProducer viewers. I
would not go that far to say that osgProducer is to blame. But osgShadow
example uses osgViewer::Viewer. Can you replace your problem using this
example as foundation ? If yes, send me this modified code and will che
whats going on. On the other hand I won't be able to help with
osgProducer::Viewer as I don't have it installed and dropped my Producer
experiences into oblivion.

Cheers,
Wojtek

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of DKa
Sent: Thursday, January 17, 2008 2:18 PM
To: OpenSceneGraph Users
Subject: [osg-users] Shadows with OpenProducer - is it possible?


Wojtek Lewandowski just pointed out to me that the osg
implementation of the OpenProducer might not work
properly with the shadow implementation of OSG. Is
this correct? Do I have to migrate my application to
the osg viewer?

Thanks,
D.


  __
__
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] stereo projector support in OpenSceneGraph

2008-01-17 Thread Peter DeSantis



The technology used
 by the cinema to show beowolf can vary.
 The latest is the infitec based interfernce
 filters that dolby is using in the stereo
 cinemas that they are producing.

there is a good
 cheap stereo media player based on media
 player classic for windows that works very
 very well and supports just about every stereo
 mode under the sun

Peter

 On Thu, 17
 Jan 2008, Jeremy Moles wrote:
 On Thu, 2008-01-17 at 16:47 -0500, Jeremy
 Moles wrote: On a separate but
 related note: I've got some 3D classed from
 the Beowulf movie. :)
 Can I make the cow pop out at me somehow?
 Bah, never mind--Wikipedia says Beowulf used
 a unique kind of stereo that only
 works on a special screen. :)This
 is a z-screen which applies polarization
 filtering on a stereoscopic image (frame)
 pair. The z-screen portion is easily replicated
 on a computer display with osg. Now if
 we only had a stereoscopic movieplayer plugin
 for osg... :} -bob
 On Thu, 2008-01-17 at 09:20 +, Robert
 Osfield wrote: Hi Yanling,
 The OSG supports various stereo modes, there
 is a page stereo on the openscenegraph.org
 wiki with details.
 For yourself you'll want to set up the graphics
 card with either with two
 screens and two graphics graphics windows,
 or two screens using TwinView
 so that the two screens are driven by one
 graphics window, the later
 will provide the best perfomance. The
 osgViewer library will automatically
 detect the set up and set up up a window
 across all the screens you
 have, and if you enable HORIZONTAL_SPLIT
 stereo mode then it'll set
 up the stereo across either both windows
 or just the single one. I
 have used both set ups before with the OSG
 so is well trodden ground.
 Try:
 osgviewer cow.osg --stereo
 HORIZONTAL_SPLIT
 Robert. On
 Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED]
 wrote: Hi, our lab get
 a new stereo projector connects to two video
 outputs on one Quadro
 FX 5500. Does OpenSceneGraph support such
 stereo display? I used to
 do stereo display using two machine and now
 I have no idea how to do it
 using one single video card. Any information
 will be appreciated.
 Yanling
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 ___
 osg-users mailing list osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 ___
 osg-users mailing list osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 ___
 osg-users mailing list osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org___osg-users
 mailing listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--- Original
 Message ---

From:Bob Huebert [EMAIL PROTECTED]
To:[EMAIL PROTECTED],
 OpenSceneGraph Users osg-users@lists.openscenegraph.org
Date:Thu, 17 Jan 2008 14:22:33
 -0900 (AKST)
Subject:Re: [osg-users]
 stereo projector support in OpenSceneGraph

On Thu, 17 Jan 2008, Jeremy Moles
 wrote: On Thu, 2008-01-17 at
 16:47 -0500, Jeremy Moles wrote:
 On a separate but related note: I've got
 some 3D classed from the Beowulf
 movie. :) Can I make
 the cow pop out at me somehow?
 Bah, never mind--Wikipedia says Beowulf used
 a unique kind of stereo that only
 works on a special screen. :)This
 is a z-screen which applies polarization
 filtering on a stereoscopic image (frame)
 pair. The z-screen portion is easily replicated
 on a computer display with osg. Now if
 we only had a stereoscopic movieplayer plugin
 for osg... :} -bob
 On Thu, 2008-01-17 at 09:20 +, Robert
 Osfield wrote: Hi Yanling,
 The OSG supports various stereo modes, there
 is a page stereo on the openscenegraph.org
 wiki with details.
 For yourself you'll want to set up the graphics
 card with either with two
 screens and two graphics graphics windows,
 or two screens using TwinView
 so that the two screens are driven by one
 graphics window, the later
 will provide the best perfomance. The
 osgViewer library will automatically
 detect the set up and set up up a window
 across all the screens you
 have, and if you enable HORIZONTAL_SPLIT
 stereo mode then it'll set
 up the stereo across either both windows
 or just the single one. I
 have used both set ups before with the OSG
 so is well trodden ground.
 Try:
 osgviewer cow.osg --stereo
 HORIZONTAL_SPLIT
 Robert. On
 Jan 17, 2008 1:51 AM, Yanling Liu [EMAIL PROTECTED]
 wrote: Hi, our lab get
 a new stereo projector connects to two video
 outputs on one Quadro
 FX 5500. Does OpenSceneGraph support such
 stereo display? I used to
 do stereo display 

Re: [osg-users] osgViewer::Viewer vs osgViewer::CompositeViewer

2008-01-17 Thread Jean-Sebastien Guay
Hello all,

 I was wondering if someone could give me some sample use cases for both
 osgViewer::Viewer and osgViewer::CompositeViewer, at a high level.

Let me ask the question differently.

We have an application which needs to be able to work on multiple screens, and
also eventually on a hemispherical projector setup (3 projectors). It will only
need to be able to view a single scene graph, but we need to be able to
customize each screen's point of view. Also, we need to be able to see some
text and overlays on one screen and not the other(s).

From what I can see, osgViewer::Viewer with multiple slave cameras can do this.
The other option would be osgViewer::CompositeViewer with multiple views onto
the same scene graph. What are the pros and cons of each scenario?

I find the convenience of osgViewer::View::setUpViewAcrossAllScrens() is hard to
beat for simplicity of setup, and that uses one view with multiple slave
cameras.

I imagine that CompositeViewer is more flexible, but if we don't need this
flexibility and it adds unnecessary complexity, maybe it isn't worth it.

To sum it up, I just need some info about the tradeoffs involved to be able to
choose the most appropriate for the situation. In the past, I've never needed
anything other than the stock osgViewer::Viewer with the default settings and
call viewer.run(), but for these projects we have more complicated
requirements...

Thanks in advance,

J-S
--
__
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Chinese OSG website~~~~~

2008-01-17 Thread FlySky
 
 
 
 
Hi Robert and all osg-users:
 
 Thanks for all friends' support,robert and the others.Our website in 
Chinese will finish as soon as possible and we will provide much useful and 
important information for many osg-users,include OpenSceneGraph 
,OSGGIS,OSGNV,DELTA3D and so on .I hope that you can pay attention to our 
website in off hours.
 
   We need your support! Thank you! Best wishes!
 

  FlySky___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] plugin for .gdf

2008-01-17 Thread wanyama harold
Hi guys,Iam trying to find/create a plugin for a .gdf 
file.iam running openscene graph in suse linux.if not
i would like to load an image of a network(any
network) that is supported by openscene graph. any
assistance rendered would be highly appreciated.
Wanyama Harold.


  __
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org