Re: [osg-users] Scribe outline only

2008-06-10 Thread Ulrich Hertlein
Mike Greene wrote: Trying to modify the osgscribe example. I want to display the scribe lines, without the underlying model beneath it. ... loadedModel-setNodeMask(0), nothing appears. Intuitively, I would have thought this would show the scribe lines only. How do I achieve this effect? The

Re: [osg-users] Manually setting osgManipulator transformations

2008-06-10 Thread Julian Looser
Hi Guy, Thanks for your response. I think we are thinking of different manipulators. I'm talking about the classes in the osgManipulator namespace. Were you referring to camera manipulators like the trackball? osgManipulator already provides GUI objects for doing the transformations (just

Re: [osg-users] Manually setting osgManipulator transformations

2008-06-10 Thread Can T. Oguz
I think you need to use PositionAttitudeTransform (OSGQSG.pdf page 49) but there's a big chance that I misunderstand the case. 2008/6/10 Julian Looser [EMAIL PROTECTED]: Hi Guy, Thanks for your response. I think we are thinking of different manipulators. I'm talking about the classes in the

Re: [osg-users] Manually setting osgManipulator transformations

2008-06-10 Thread Guy
Ok, sorry. I've no other idea. Guy. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Julian Looser Sent: Tuesday, June 10, 2008 8:37 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Manually setting osgManipulator transformations Hi Guy, Thanks for

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Alberto Luaces
I somehow managed to decode the file. I hope it is the whole file. # This is the CMakeCache file. # For build in directory: /usr/develop/obj/osg # It was generated by CMake: /usr/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of

[osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread David De Weerdt
Hi all, I use osg 2.4 and followed http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio/VisualStudioPluginsfor installing the quicktime plugin. However, it seems that mpg/avi support in the quicktime plugin is not supported under windows. Also xine is probably

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread Joakim Simonsson
I tried the quicktime plugin for the first time yesterday. I tried with mov and mp4 movies. But I had to specify -e qt as an argument. Does it work for you if you specify the same argument? Den 2008-06-10 13:07:57 skrev David De Weerdt [EMAIL PROTECTED]: Hi all, I use osg 2.4 and

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread David De Weerdt
yes, that works for .mov and .mp4, but not for .mpg and .avi On Tue, Jun 10, 2008 at 1:12 PM, Joakim Simonsson [EMAIL PROTECTED] wrote: I tried the quicktime plugin for the first time yesterday. I tried with mov and mp4 movies. But I had to specify -e qt as an argument. Does it work for you

[osg-users] Ray Tracing a BRLCAD model in Openscenegraph

2008-06-10 Thread Watkins, Steven M CIV NSWCDD, G24
Hi All I have implemented BRLCAD, which is a CSG based ray tracing api, into an Openscenegraph application. I am currently displaying BRLCAD models in the Openscenegraph world by generating a point cloud using the native BRLCAD ray tracer and rendering that as Osg point geometry. I would

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread Stephan Maximilian Huber
David De Weerdt schrieb: yes, that works for .mov and .mp4, but not for .mpg and .avi quicktime can't play movies of type avi or mpg. You can install these codecs on OS X via Perian or other tools but IMHO not on Windows. The best would be a directshow-plugin for windows, so all these

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread Dieter Pfeffer
Hi osgmovie is running on my windows computer with .mov and .mpg - I am using osg2.3.6 and quicktime71sdk; so it should also work for you Dieter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Stephan Maximilian Huber Sent: Tuesday, 10 June, 2008 14:05

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread Mike Greene
I have it working with both avis and mpgs on Windows. You need to make copies of the osgdb_qtd.dll (in the plugins directory) and rename them osgdb_mpgd.dll and osgdb_avid.dll . Then you can give either of these types of files as arguments to osgmovie.

[osg-users] Building sln for VS 9 with CMAKE results in wrong Paths

2008-06-10 Thread Ariasgore
Hello, I am trying to build OSG from source, so I followed the explanations http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio Now I got the sln File, opened it, tried to build and ended with sth like 150 LNK Errors. I use the standard folder

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Jean-Sébastien Guay
Hello Paul, For what it's worth... the whole messages are coming through for me but they are just not visible. If I view the message source then I can see the contents... including the encoded attachment. I'm not sure why Thunderbird is getting confused by them. Hey, you're right. Weird,

Re: [osg-users] Manually setting osgManipulator transformations

2008-06-10 Thread Jean-Sébastien Guay
Hello Julian, However, I also want to be able to specify the manipulation directly. For example, I could drag the widgets around to scale the model to 0.5, but I also want to be able to type in 0.5 in my interface and get the same result. Problem is that seems to put the widgets out of sync

Re: [osg-users] Ray Tracing a BRLCAD model in Openscenegraph

2008-06-10 Thread Jean-Sébastien Guay
Hello Steven, I would like to display these BRLCAD models by ray trace in Openscenegraph (yes, it will be slow!). I have done some searches through the archives and have not found a lot of info. It appears that I am going to have to use glReadPixels and glWritePixels prior to the

Re: [osg-users] osgmovie with mpgs or avis on windows

2008-06-10 Thread David De Weerdt
ok, both suggestions (copying and renaming the dll's and using the Registry) work. Thanks!!! David DW On Tue, Jun 10, 2008 at 3:02 PM, Mathieu MARACHE [EMAIL PROTECTED] wrote: Another way would be ot addFileExtensionAlias to the Registry for example :

Re: [osg-users] Building sln for VS 9 with CMAKE results in wrong Paths

2008-06-10 Thread Vincent Bourdier
Hello I had the problem, and I solve it using other version or Cmake Cmake 2.4 for osg2.4 Cmake 2.6 for osg2.5.1 (with VS2005... don't know with VS9) 2008/6/10 Ariasgore [EMAIL PROTECTED]: Hello, I am trying to build OSG from source, so I followed the explanations

Re: [osg-users] Ray Tracing a BRLCAD model in Openscenegraph

2008-06-10 Thread Watkins, Steven M CIV NSWCDD, G24
Hi It's a case of what you want to do at a higher level. I guess I don't see the point of rendering to an image to display that image in OSG... What do you use OSG for in that case? Is the viewpoint fixed? (just curious...) The viewpoint in the simulation is not fixed. The point cloud was for

Re: [osg-users] Building sln for VS 9 with CMAKE results in wrong Paths

2008-06-10 Thread Jean-Sébastien Guay
Hello Samuel, Unfortunately each project links against dependencies in a similar way like this- $(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ..\..\lib\osgGAd ..\..\lib\osgUtild ..\..\lib\osgd

Re: [osg-users] Compiler discomfort on IRIX at OpenFlight plugin

2008-06-10 Thread Martin Spott
Martin Spott wrote: Reverting the change in 'src/osgPlugins/OpenFlight/Record.h' at line 64 to read: virtual ~Record(); makes the compiler happy - yet I don't have the slightest clue if this has any influence on proper functionality :-) Hehe, it has. I'm getting the

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Eduard Trulls
Hi Paul, So I can reproduce the problem by running osgocclusionquery yourfile.osg? (all that example does is place an OQN above the .osg file that is loaded.) If so, please post your .osg file so I can take a look at the problem. I had forgotten osgocclusionquery could read external files.

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Brian Keener
Jean-Sébastien Guay wrote: So I would probably blame an e-mail client bug. Brian, what client are you using and can you try another one? (but we're pretty far from OSG support/discussion here :-) ) Just trying to be helpful... I'm suspecting the email client now - it is an open source

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Brian Keener
Alberto Luaces wrote: I somehow managed to decode the file. I hope it is the whole file whoa - good job! Size 47481 bytes md5sum 66b6269f412416423aaf06f3c9b14706 bk ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Brian Keener
Paul Speed wrote: For what it's worth... the whole messages are coming through for me but they are just not visible. If I view the message source then I can see the contents... including the encoded attachment. I'm not sure why Thunderbird is getting confused by them. I posted to the

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Jean-Sébastien Guay
Hello Edward, You can query the test pass/failure results on a per-camera basis. (...) Yes, the query works. I was talking about recovering the pass/failure without acting accordingly (disabling the node if invisible), If all you want is to be able to determine if a node is visible or not,

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Eduard Trulls
Hi, I think that's still a bit beyond my osg/gl skills, and more so given my time frame; hence the convenience of using library code. (If this feature is already built in, I couldn't find it, please point!) I'll have a look at it if this doesn't pan out, anyway. Thanks, E. Jean-Sébastien

Re: [osg-users] question of camera computeLocalToWorldMatrix

2008-06-10 Thread huiliang yang
First, Thank you Paul, answer my question, I am new to this newsletter so I didn't write thank you at last letter. huiliang yang wrote: Hi, Hello huiliang yang wrote: I have a question about computeLocalToWorldMatrix in camera class. First, since the openscenegraph use row matrix

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Jean-Sébastien Guay
Hello Eduard, I think that's still a bit beyond my osg/gl skills, and more so given my time frame; hence the convenience of using library code. I just checked, there doesn't seem to be this specifically, but you could use osgUtil::PolytopeIntersector for this. It would be pretty slow if you

[osg-users] Convert/use GIS coordinates

2008-06-10 Thread Jean-Sébastien Guay
Hi fellow OSGers, I was wondering if I could ask some questions about GIS in general on this list. I know there are some really knowledgeable people on this list (Glenn, I'm looking at you!). We have no one here who has any expertise in this subject... :-) In one of the subprojects of our

Re: [osg-users] OcclusionQueryNode woes

2008-06-10 Thread Paul Martz
Eduard -- I thought you wanted more than just inside/outside the view volume, I thought you wanted occlusion information (object is hidden behind something in the scene). J-S's suggestion will just tell you whether something is in or out of the view volume, but won't tell you whether or not

[osg-users] INHERIT_RENDERBIN_DETAILS

2008-06-10 Thread Argentieri, John-P63223
Robert, I'm not convinced that INHERIT_RENDERBIN_DETAILS does what it's supposed to do. I've done this: _group-getOrCreateStateSet()-setRenderBinDetails( 3, RenderBin ); _geode1-getOrCreateStateSet()-setRenderBinDetails( 1, RenderBin, osg::StateSet::INHERIT_RENDERBIN_DETAILS );

[osg-users] ccmake issue with 2.4.0 release

2008-06-10 Thread Bob Huebert
Hi folks, I just grabbed the 2.4.0 release source of osg and have run into this when initiating the cmake (2.6.0) configuration: CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE): Target cmTryCompileExec links to item -lpthread which has leading or trailing whitespace. This is now

Re: [osg-users] ccmake issue with 2.4.0 release

2008-06-10 Thread Bob Huebert
nevermind. Second time launching ccmake the message doesn't show. Configuration process seems to work despite the error. sorry for the noise -bob On Tue, 10 Jun 2008, Bob Huebert wrote: Hi folks, I just grabbed the 2.4.0 release source of osg and have run into this when initiating the

[osg-users] lighting in osgViewer...

2008-06-10 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
This may be a silly question but can anyone enlighten me on what osgViewer::setLight() does? Does it set the attributes for a global light source in the scene? I want to change the defaults in the viewer. Thanks in advance -Shayne smime.p7s Description: S/MIME cryptographic signature

Re: [osg-users] ccmake issue with 2.4.0 release (fwd)

2008-06-10 Thread Bob Huebert
more noise... The cmake configuration process bailed out during the generation phase with this: CMake Warning (dev) at src/osg/CMakeLists.txt:173 (ADD_LIBRARY): Policy CMP0003 should be set before this line. Add code such as if(COMMAND cmake_policy) cmake_policy(SET CMP0003

Re: [osg-users] lighting in osgViewer...

2008-06-10 Thread Argentieri, John-P63223
Shayne, If you really want to control lighting, you have to use osg::Light and osg::LightSource. If you look at the code for the example osglight you will see how those types of lights are set up. Say for instance, you want a constant, non-directional light. Copy the osglight example, but

Re: [osg-users] Coordinate Systems and Quaternions

2008-06-10 Thread Michael Guerrero
Mrs. Mister [EMAIL PROTECTED] writes: hi, i am working with osg 2.4, osgCal 0.3.0 and cal 3d 0.11. in the cal3d faq i read: It should also be noted that Cal3D's math classes assume a left-handed rotation system. i have trouble with setting the quaternions from osg to the cal3d

Re: [osg-users] Convert/use GIS coordinates

2008-06-10 Thread McGlone, James C.
In one of the subprojects of our current project, we get some coordinates for objects from a network feed, in UTM projected using ED50 based on international 1924 spheroid, on zone 32. We'd need to use those to position objects in a given world space, and I was wondering if there was a general

Re: [osg-users] INHERIT_RENDERBIN_DETAILS

2008-06-10 Thread Paul Martz
INHERIT_RENDERBIN-DETAILS tells the CullVisitor to ignore a StateSet's bin number and bin name, and instead simply keep using the current number/name. So, in your example, I'd think both Drawables would go into the same bin, and their order would be determined by the sorting associated with name

Re: [osg-users] Ray Tracing a BRLCAD model in Openscenegraph

2008-06-10 Thread hesicong2006
an issue. I was just looking for other techniques before I went ahead and brute forced it with glReadPixels and glDrawPixels. Thanks __ Information from ESET NOD32 Antivirus, version of virus signature database 3172 (20080610) __ The message was checked