Re: [osg-users] Integrationg OpenALpp

2007-12-06 Thread maruti borker
I wanted to do the same ... but the problem is that i have installed OpenSceneGraph 2.0 from a tar ball ... and now when i try to install OSGAL .. .its says that OpenSceneGraph not found :( ... i am working in fedora 7. I was unable to understand so i thought it would be better if i implemented it

Re: [osg-users] Getting the window handle generically.

2007-12-06 Thread Robert Osfield
Hi David, You can get the platform specific window handles by casing the osgViewer::GraphicsWindow to GraphicsWindowWin32/X11/Carbon and then getting the handle from them. The platform specific windowing interfaces to osgViewer can be found in include/osgViewer/api/Win32, include/osgViewer/api/X1

Re: [osg-users] Some OSG examples doesn't work !

2007-12-06 Thread Robert Osfield
Hi Stephane, I haven't seen reports of problems with these examples before. Could you provide a stack trace from the crashes apps? Robert. On Dec 6, 2007 7:03 AM, Stephane Lamoliatte <[EMAIL PROTECTED]> wrote: > Hello, > > osgOccluder and osgTexture2D crash during their execution in debug mode

Re: [osg-users] Some OSG examples doesn't work !

2007-12-06 Thread Robert Osfield
Hi Stephane, The two stack traces aren't similar and nothing obvious jumps out as a possible cause. The only thing I can suggest to try is to run both examples with different threading models to see if there is a pattern. i.e. osgoccluder glider.osg --SingleThreaded Robert. On Dec 6, 2007 9:

[osg-users] osg multithreading doc.

2007-12-06 Thread Johan Johnsson
Hey ! I wonder if there is any documentation regarding the threadingmodes osg uses, is there any design tips how my application synchronizes with the osg threads in the best way? is there something i need to know about the threads while coding?, i need to know as much as possible. So all documenta

Re: [osg-users] Some OSG examples doesn't work !

2007-12-06 Thread Colin Dunlop
Hi Stephane, are you running with any of the bundled OSG distro of 3rd-party libs? Either http://www.mew.cx/osg/ or http://www.openscenegraph.org/downloads/dependencies/ I think these are only built "Release" for WIN32 and your mileage may vary depending on the moon phase as to whether you may

[osg-users] Finding Textures to be drawn

2007-12-06 Thread Michael Platings
Hi Robert, I need to update many textures every frame, but ideally I'd only update those that will actually be drawn. So after I've called SceneView::cull() what's the best way to identify all textures to be drawn? The maximum size at which the textures will be drawn is also important, so how c

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread Emmanuel Roche
Well, nobody has even a simple advise about this ?? Manu. 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > Helle there !! > > I'm currently testing the osg reflection framework, so I got GenWrapper, > an now I'm using it to try to build wrappers for my own libraries... Here is > the situation:

Re: [osg-users] Still on osgintrospection...

2007-12-06 Thread Emmanuel Roche
Nobody has no idea about this either ? I thought the introspection was more famous than that 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > Suppose I have a class MyClass "introspected" > > I also some kind of template class MyTemplace, which can be built > with the type T=MyClass, BUT th

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread David Callu
Hi Manu 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > Helle there !! > > I'm currently testing the osg reflection framework, so I got GenWrapper, > an now I'm using it to try to build wrappers for my own libraries... Here is > the situation: > > I've got a file typedefs.h containing something

Re: [osg-users] Still on osgintrospection...

2007-12-06 Thread David Callu
Hi Manu 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > Suppose I have a class MyClass "introspected" > > I also some kind of template class MyTemplace, which can be built > with the type T=MyClass, BUT this construction is done nowhere in our base > library... I guess if I try to generate wrap

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread Emmanuel Roche
Hi David, What I mean in my ponit 2 is: - Suppose I have a library "lib1" where I define my class "Class1" - Suppose I build a wrapper for this library: "lib1_wrapper" Now, I build another library, "lib2" where I define a templated class "Class2" In this second library, I define the typedef : ty

Re: [osg-users] Creator vs 3D Studo Max

2007-12-06 Thread andreas . ekstrand
Hi, An alternative to Creator is Remo 3D, available from www.remograph.com. Regards /Andreas > Hi, > > I've a flight simulator project running on OSG 2.2 whereby we need to > model a geo-specific airport. > > We will need features like creating the airport lighting system, > geo-specific buildi

Re: [osg-users] osgIntrospection and operators ?

2007-12-06 Thread David Callu
Hi Manu 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > It's me again, sorry to ask so much, but I keep being surprised with this > introspection stuff: > > Correct me if I'm missing something but since the operators of a class are > not reflected (why ?), Well, you right again. Operator are n

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread David Callu
2007/12/6, Emmanuel Roche <[EMAIL PROTECTED]>: > > Hi David, > > What I mean in my ponit 2 is: > > - Suppose I have a library "lib1" where I define my class "Class1" > - Suppose I build a wrapper for this library: "lib1_wrapper" > > Now, I build another library, "lib2" where I define a templated cl

[osg-users] Texture problem

2007-12-06 Thread Davide Vitali
Hi, I have a node with a texture2d applied. I retrive the thexture object, I can for example change the texture image, but if I try to modify ather parameters (for example texture's size, texture coordinates, or the environment mode), I don't see any changes. How is it possible? Thank you Davide _

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread David Callu
oupss don't finish and google send it, arrr Take a look to osg/include/osgIntrospection/Reflector. Some template reflector is define for std::list, std::vector, ... This is the best way a found to generate a reflector for a instantiated template not instantiate in the code to reflect. David

Re: [osg-users] using osgIntrospection for own library

2007-12-06 Thread Emmanuel Roche
okay ! thanks a lot for your explanations !! I'm checking this... Manu. 2007/12/6, David Callu <[EMAIL PROTECTED]>: > > oupss don't finish and google send it, arrr > > Take a look to osg/include/osgIntrospection/Reflector. Some template > reflector is define for std::list, std::vector, ... >

Re: [osg-users] Some OSG examples doesn't work !

2007-12-06 Thread Stephane Lamoliatte
osgtexture2D works well in SingleThreaded mode, but not osgoccluder Robert Osfield a écrit : > Hi Stephane, > > The two stack traces aren't similar and nothing obvious jumps out as a > possible cause. > > The only thing I can suggest to try is to run both examples with > different threading models

Re: [osg-users] How to generate cultures on terrain

2007-12-06 Thread Glenn Waldron
Another related project to check out is osgTDS, which I believe is designed to "cut in" models to a pre-built terrain. I have not tried it myself but here's the link: http://www.andesengineering.com/Projects/TDS/ -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791 On D

Re: [osg-users] Some OSG examples doesn't work !

2007-12-06 Thread Stephane Lamoliatte
I work with http://www.openscenegraph.org/downloads/dependencies/3rdParty_Win32binaries_2005_05_10.zip on visual studio 2005 (vs8). I will try http://www.mew.cx/osg/osg2.2.0_vs80_setup_2007-10-08.exe which is more recent. Thanks -- Stephane Colin Dunlop a écrit : > Hi Stephane, > > are you r

[osg-users] osgText quality

2007-12-06 Thread Himar Carmona
Hi, have anybody any hints about which parameters values give the best quality with osgText? In my app i must show some text (normally 10-20 pixel height), and the quality i have been able to achieve is not good. I noticed also in osgText that some characters are clipped ( most visible for e and

[osg-users] distance to a node tracked by a NodeTracker manipulator

2007-12-06 Thread Stephane DUGUET
Hello all, I attached a node tracker to a node. I'd like to know the easiest wait to increase the distance from the view to a node (ie same effect as RIGHT clik + mouse up). Here is my code... tm1 = new osgGA::NodeTrackerManipulator; tm1->setTrackerMode(trackerMode2);

Re: [osg-users] osgText quality

2007-12-06 Thread J.P. Delport
Hi, I've also had cases with characters clipped, sometimes not even on the same edge. There has been a discussion about this quite some time ago, maybe you can find it if you search for my name, and I remember some other people also proposed solutions. What worked for me was to set the resolut

Re: [osg-users] distance to a node tracked by a NodeTracker manipulator

2007-12-06 Thread Stephane DUGUET
I used tm1->setHomePosition(osg::Vec3d(0.0,-100.0,10.0),//homeEye osg::Vec3d(0.0,0.0,0.0),//homeCenter osg::Vec3d(0.0,0.0,1.0),//homeUp false); // do not auto calculate home is it the best

Re: [osg-users] osgText quality

2007-12-06 Thread Thibault Genessay
Hi FYI I guess JP was talking about this thread http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/9932/focus=9937 Using two equal values for the resolution worked for me too. You have to try various values because some rounding is performed in background and you won't necessarily no

Re: [osg-users] Integrationg OpenALpp

2007-12-06 Thread Tony Horrobin
Hi, I seem to remember something similar myself under Ubuntu. I was using the autotools configure script and it needed PKG_CONFIG_PATH to include the path to the openscenegraph.pc file This resides in packaging/pkgconfig relative to the OpenSceneGraph source root It may require others too, for

Re: [osg-users] Getting the window handle generically.

2007-12-06 Thread David Guthrie
I understand that you can cast to the window type, but I was wondering what one should do if the window is an embedded window? I mean this from a generic coding perspective. --- David Guthrie [EMAIL PROTECTED] Alion Science and Technology BMH Operation - A CMMI Maturity Level 3 Organization

Re: [osg-users] distance to a node tracked by a NodeTracker manipulator

2007-12-06 Thread Robert Osfield
Hi Stephane, The easist route would probably be to extend the public interface of NodeTrackerManipulator to allow setting of the radius etc. Robert. On Dec 6, 2007 2:27 PM, Stephane DUGUET <[EMAIL PROTECTED]> wrote: > > > > > I used > > tm1->setHomePosition(osg::Vec3d(0.0,-100.0,10.0),//homeEye

Re: [osg-users] Getting the window handle generically.

2007-12-06 Thread Robert Osfield
On Dec 6, 2007 2:36 PM, David Guthrie <[EMAIL PROTECTED]> wrote: > I understand that you can cast to the window type, but I was wondering what > one should do if the window is an embedded window? I mean this from a > generic coding perspective. If its an embedded window then osgViewer doesn't kno

Re: [osg-users] Finding Textures to be drawn

2007-12-06 Thread Robert Osfield
HI Michael, This is no trivial tasks. You'll need to grapple with the internals of RenderStage/RenderBin/RenderLeaves that the cull traversal populates and the draw traversals reads. I'm afraid I don't have the time to walk you through all this. There are probably other ways to tackle this task

Re: [osg-users] Win32 crash

2007-12-06 Thread Panagiotis Papadakos
Hi again. Just in case anyone is interested, it seems that I solved it, (at least now I can't reproduce it). My solution uses 4 projects. 3 of them used C++ exceptions and one did not. So I enabled C++ exceptions and for the other one and it seems that now everything is Ok. Panagiotis P

Re: [osg-users] Creator vs 3D Studo Max

2007-12-06 Thread Gordon Tomlinson
Hi Have a look at Remo3D www.remograph.com its nice and much cheaper option to Creator Regards Gordon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Loong Hin Sent: Wednesday, December 05, 2007 8:59 PM To: osg-users@lists.openscenegraph.org Subject:

Re: [osg-users] Creator vs 3D Studo Max

2007-12-06 Thread Gordon Tomlinson
Another option to look at Geo Pro from Carbon Graphics, more expensive than Remo3d though http://www.carbongraphics.com/ Gordon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Loong Hin Sent: Wednesday, December 05, 2007 8:59 PM To: osg-users@lists.op

[osg-users] how to manage different model types

2007-12-06 Thread Stephane DUGUET
Hi all, I have a general question about model orientation. If I get several models from several sources (flt, 3ds etc...). Their original orientation may be different depending on how they have been built. Is there a way to convert them automatically to follow a terrain orientation for ex?

Re: [osg-users] how to manage different model types

2007-12-06 Thread Jeremy Moles
Probably the easiest (and perhaps only sensible) way is to use osgconv to adjust the model transformations before loading them into your app, and not to address the issue at all with any kind of code. Its really up to the asset to encode this information consistently within itself... osgco

Re: [osg-users] how to manage different model types

2007-12-06 Thread KSpam
Stephane, On Thursday 06 December 2007 09:13:08 Stephane DUGUET wrote: > For instance, I'm working today with a plane and a copter. > > If I place these two models at origin one is pointing head to north and > the second is pointing head to east. > > Meaning that the views, position and transforma

Re: [osg-users] osgEphemeris

2007-12-06 Thread Terry Welsh
I believe you're trying to download from the wrong server. Go to www.andesengineering.com to find instructions for downloading osgEphemeris. > Message: 1 > Date: Thu, 6 Dec 2007 06:33:23 +0800 (CST) > From: topsail2007 <[EMAIL PROTECTED]> > Subject: [osg-users] osgEphemeris > To: "OpenSceneGraph

Re: [osg-users] osg-users Digest, Vol 6, Issue 12

2007-12-06 Thread Terry Welsh
> > > I am interested in osgEphemeris,I use the Tortoise CVS to download,but the > error as follow: > CVSROOT=cvs -d :pserver:[EMAIL PROTECTED]:/cvs/osg co osgEphemeris > cvs [checkout aborted]: end of file from server (consult above messages if > any) > Error, CVS

Re: [osg-users] osg-users Digest, Vol 6, Issue 12

2007-12-06 Thread Terry Welsh
> > > I am interested in osgEphemeris,I use the Tortoise CVS to download,but the > error as follow: > CVSROOT=cvs -d :pserver:[EMAIL PROTECTED]:/cvs/osg co osgEphemeris > cvs [checkout aborted]: end of file from server (consult above messages if > any) > Error, CVS

Re: [osg-users] Creator vs 3D Studo Max

2007-12-06 Thread Terry Welsh
(Sorry about my previous messages to the list I seem to have a button pushing problem today.) Creator is just fine for modeling depending on what you're looking for. I use it for modeling aircraft, buildings, and pieces of cities all the time. I believe newer versions of it even do multitexturi

[osg-users] osgDB::Archive - is there a way to set the master filename?

2007-12-06 Thread Glenn Waldron
When generating OSGA archives, I need to write the master file last. However the OSGA plugin seems to automatically choose the first file added as the master. I am able to work around this by first writing an empty group node as " master.ive", and then writing the real master file at the end (with

Re: [osg-users] osgEphemeris

2007-12-06 Thread Gordon Tomlinson
FYI Don's site is currently down -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terry Welsh Sent: Thursday, December 06, 2007 11:59 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] osgEphemeris I believe you're trying to download from

Re: [osg-users] osgText quality (UNCLASSIFIED)

2007-12-06 Thread Buckley, Bob CTR MDA/IC
Classification: UNCLASSIFIED Caveats: NONE I leveraged the Font class and its internal Glyph sets for calling glBitmap. This is how Glut does text, which is nice and crisp. However, it results in purely billboarded text, unless you do the rotations yourself. I would like to have used XFonts but

[osg-users] Documentation Building Problem

2007-12-06 Thread Michele Bosi
Hello to all, I was trying to build the documentation for OSG 2.2 under WinXP using CMake but apparently there is a problem, when I configure the makefiles CMake complains that there isn't the file "[...]/doc/Doxyfiles/doxyfile.cmake", which in fact does not exist. Is that a bug or a "feature"? How

Re: [osg-users] Taking an image of an intermediate node.

2007-12-06 Thread deepti g
Hi Lindmark, I added the camera to the group node and changed the view.Still no luck :( ..Here arethe steps which Iam following: osg::Image* shot = new osg::Image(); // the image object where I want to store my image osg::Camera* camera = new osg::Camera; //the camera shot->al

[osg-users] Two viewer problem

2007-12-06 Thread Sashidhar Guntury
Hi! I have this viewer running and on pressing a button, I need to generate an image of the scene as seen from a different angle and position without using the original viewer or changing the viewer position and orientation. How is it possible? thanks

Re: [osg-users] Integrationg OpenALpp

2007-12-06 Thread maruti borker
Hi, Thanks for the info ... but i am unable to find the pkgconfig of OpenSceneGraph i.e openscenegraph.pc ... i was able to find the .pc of vorbis openal etc etc Thanks in advance On Dec 6, 2007 7:41 PM, Tony Horrobin <[EMAIL PROTECTED]> wrote: > Hi, > > I seem to remember something similar

Re: [osg-users] Integrationg OpenALpp

2007-12-06 Thread maruti borker
I am extremly sorry .. i found the openscenegraph.pc from openscenegraph.net... but now the problem is that its giving many errors containing this :- "undefined reference to OpenThreads " Does OSGAL support OSG2.0 ??? On Dec 7, 2007 12:57 AM, maruti borker <[EMAIL PROTECTED]> wrote: > Hi, >

[osg-users] old win32 3rdParty binaries (WAS: Some OSG examples doesn't work !)

2007-12-06 Thread Mike Weiblen
Hi, Regarding the use of 3rdParty_Win32binaries_2005_05_10.zip with VS8, please note the following from the enclosed README_3rdParty.txt: These binaries were built using Microsoft VisualStudio 2003 v7.1 from the sources listed below, with minor modifications to the makefiles/projectfiles for co

Re: [osg-users] osgText quality (UNCLASSIFIED)

2007-12-06 Thread haithcoc
Is this the Bob Buckley that was famous for the "Buckley Flop" on the Big Piney? Stephen Haithcock General Dynamics Land Systems 38500 Mound Rd. Sterling Heights, MI 48310 MZ 436-40-15 (586) 825-8573 "Buckley, Bob CTR MDA/IC" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/06/2007 12:48 PM

Re: [osg-users] Taking an image of an intermediate node.

2007-12-06 Thread Himar Carmona
Hi, i'm not completely sure, but i think that shot->allocateImage(width, height, 24, GL_RGB, GL_UNSIGNED_BYTE) must be shot->allocateImage(width, height, 1, GL_RGB, GL_UNSIGNED_BYTE)... i.e. Changing the 24 by the 1. The third component is the 3rd dimension of the image. Also, you need not t

[osg-users] ANNOUNCE: new OSG win32 3rdParty binary distribution policy

2007-12-06 Thread Mike Weiblen
Hi, I now maintain my collection of OSG win32 3rdParty binaries using the osgToy Subversion on SourceForge, see: http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/3rdParty/branches/ There is no "trunk", rather are separate branches depending on the version of VisualStudio they're build with. Thos

[osg-users] call for a shader from within .osg/ive file

2007-12-06 Thread Dunhour, Mike (CIV)
Hello After much trial and error got a glsl shader running from within an .osg mesh file by using 'program'. Wondering if it is possible to simply make a call for a shader file (.cg..etc) from within the .osg mesh file, instead of having to place the whole shader code into the file. No sam

Re: [osg-users] call for a shader from within .osg/ive file

2007-12-06 Thread Jeremy Moles
Shader { DataVariance DYNAMIC type FRAGMENT file "frag/awesome.glsl" } On Thu, 2007-12-06 at 13:26 -0800, Dunhour, Mike (CIV) wrote: > > Hello > > After much trial and error got a glsl shader running from within an .osg > mesh file by using 'program'. > > Wondering if it is possib

[osg-users] Using osgSim::OverlayNode

2007-12-06 Thread KSpam
My application utilizes a large terrain database, and it relies heavily on osgSim::OverlayNode. Originally, I used OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY for the overlay technique. With this technique, my application works properly; however, it is very resource intensive, and the overlay s

Re: [osg-users] Integrationg OpenALpp

2007-12-06 Thread santosh
Ya osgAL can build with OSG 2.0. that error you are getting is because in that package file (openscenegraph.pc ) OpenThreads dependancy is mentioned. As Open scene graph build with OpenThreads so edit in the package file. In package file given Requires- OpenThreads delete OpenThreads from packag

[osg-users] OpenFlight Continuation Record support

2007-12-06 Thread Paul Martz
Hi Brede -- I see the current OpenFlight importer doesn't support Continuation Records. I haven't looked at what it would take to add it, but wondered what your thoughts were? Was this left out because it wasn't a requirement, or because it didn't fit into the design? I'm finding I need it for la

Re: [osg-users] OpenFlight Continuation Record support

2007-12-06 Thread Philip Taylor
Continuation records are great when writing out FLT files but a * when reading them back in - I had to abandon upgrading some proprietary FLT reader code because it required a complete rewrite of the FLT file decoder just to support this one new record type. The FLT file record structure requi

Re: [osg-users] osgText quality (UNCLASSIFIED)

2007-12-06 Thread Buckley, Bob CTR MDA/IC
Classification: UNCLASSIFIED Caveats: NONE That was a tremendously "Heroic Dive" as a last ditch effort to save the ship and all the innocent and vulnerable women and children aboard. We were doomed to sinking given the water we were taking on and faced most certain death in Killer Bass in

Re: [osg-users] Using osgSim::OverlayNode

2007-12-06 Thread Jason Beverage
Hi Justin, I've experienced the same problem with the two new overlay modes. I'm not sure what is wrong, but even the examples don't work correctly for me. The only one that is consistent and works correctly is OBJECT_DEPENDENT_WITH_ORTHOGRAPHICS_OVERLAY. Hopefully these issues will be resolved

Re: [osg-users] Two viewer problem

2007-12-06 Thread Daniel Holz
Hi Sashidhar, some weeks ago somebody had the same problem. here his mail and the last response: Hi, try this: in groups.google.com search for this: osg-users ralph kern screenshot in google.com osg-users "Taking a screenshot with" cheers jp maruti bor

Re: [osg-users] Using osgSim::OverlayNode

2007-12-06 Thread J.P. Delport
Hi all, just to add that I also get clipping with the new modes from certain viewing angles. Sometimes the clipped edges rotate as the view moves and some parts jump in and out (dunno if this makes sense). I've thought about trying to debug it, but I have no idea where to start, the shaders lo