Re: [osg-users] light Callback

2008-08-07 Thread Vincent Bourdier
Hi Paul, thanks a lot you're right ! adding a stateattribute made my callback beeing traversed... just one last question : my callback is a structure, and there is no traverse() method to call... is it a problem ? Thanks Regards, Vincent. 2008/8/7 Paul Melis <[EMAIL PROTECTED]> > Hi, > > Tr

[osg-users] Siggraph Web3D and related technologies BOFs at a glance

2008-08-07 Thread John F. Richardson
Hello, Web3D sort of BOF's. Plain text. Only the Siggraph conference. Web3D Plugfest and Web3D symposium left out. Hope this helps people. == | | | Monday Tuesday Wednesday Thursday

[osg-users] CG for Simulation BOF at Siggraph

2008-08-07 Thread John F. Richardson
Hello, Shameless Plug: SCS Simulation and Computer Graphics BOF Tuesday 12:30-1:30PM Room 507 Does not conflict with the OSG BOF. Note: SCS = Society for Computer Simulation International (www.scs.org ) There was an OpenScengraph paper published in the S

[osg-users] 回复: Re: About viewer.addEv entHandler(new PickHandler())?

2008-08-07 Thread YangXiao
Thanks Jean-Sébastien Guay 1. I already update my user info. 2. I have another question, when viewer.frame() which thread listening windows message(example mouse clicked,keyboard down ,up etc) ,and when i update my scene node in updatecallback,How threads guarantee sequence?

Re: [osg-users] Mac / X-Code build problem

2008-08-07 Thread James Turner
On 6 Aug 2008, at 22:22, James Turner wrote: Anyway, thanks for pointing this out. I will go and try a CMake build now. With a Cmake based build of 2.6.0, I can build OSG fine, but again at runtime things don't seem at all happy. (In a different way to the problems I encountered with the

Re: [osg-users] light Callback

2008-08-07 Thread Paul Melis
Hi, Try adding your osg::Light to a StateSet, i.e. (pseudocode) group = osg::Group() lightsource = osg::LightSource() light = osg::Light() light.setLightNum(0) lightsource.setLight(light) group.addChild(lightsource) group.getOrCreateStateSet().setAttribute(light, osg::StateAttribute::ON) v

[osg-users] Mouse motion models across multiple viewports

2008-08-07 Thread Bob Balfour
I'm using OSG 2.4 in a 4-camera/projector viewport configuration (on a dome), and I'm finding (not necessarily unexpectedly) that fly, drive motion models are having difficulty operating properly, probably because the mouse is moving across viewports. Should it work OK, and I just have a confi

[osg-users] osg sequence timing

2008-08-07 Thread Max Bandazian
Hi, I am experiencing some buggy behavior relating to loaded openflight files containing sequences, and I would appreciate any suggestions. When such a file is loaded after the viewer has been running for a bit, the animation runs at the wrong speed. Here's some sample code that illustrates the pro

Re: [osg-users] osgdem and UTM terrain tiles...

2008-08-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Awesome...thanks! -Shayne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Beverage Sent: Thursday, August 07, 2008 9:48 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgdem and UTM terrain tiles... Hi Shane, You can get a ton of other tools

[osg-users] Group::getNumChildren()

2008-08-07 Thread Andy Skinner
This method returns an unsigned int. It calls size() on the vector, which returns size_type. In our builds of software using OSG, we're getting warnings about a conversion of a 64 bit value to unsigned int. Has the OSG project had to change the type of common methods like this? Does it go we

Re: [osg-users] osgdem and UTM terrain tiles...

2008-08-07 Thread Jason Beverage
Hi Shane, You can get a ton of other tools from the FWTools distribution at http://fwtools.maptools.org/ Good luck, Jason On Thu, Aug 7, 2008 at 11:44 AM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <[EMAIL PROTECTED]> wrote: > Jason, > > Perhaps you could elaborate on the gdal_merge tool?

Re: [osg-users] osgdem and UTM terrain tiles...

2008-08-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Jason, Perhaps you could elaborate on the gdal_merge tool? That doesn't appear to be in my set of GDAL tools. Is this something new in GDAL? I'm using version 1.51 on Windows... Regards, -Shayne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Copos

Re: [osg-users] light Callback

2008-08-07 Thread Thrall, Bryan
Vincent Bourdier wrote on Thursday, August 07, 2008 9:56 AM: > Hi, > > I just need to move a light, and for that I try to use a callback. > So I implement a simple class lightMoveCallback : public > osg::StateAttribute::Callback > > with virtual void operator()(osg::StateAttribute* ss, osg::Nod

Re: [osg-users] light Callback

2008-08-07 Thread Vincent Bourdier
I just had seen that stateattribute::callback is a structure... I did the same for my callback, ... but still nothing append. I anyone used it before or know how to use it... Thanks, Regards, Vincent 2008/8/7 Vincent Bourdier <[EMAIL PROTECTED]> > Yes, > but if I did it, I cannot set my light

Re: [osg-users] light Callback

2008-08-07 Thread Vincent Bourdier
Yes, but if I did it, I cannot set my lightmovecallback in the update callback for the light, which needs a stateattribute callback... Thanks for help Vincent. 2008/8/7 Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC < [EMAIL PROTECTED]> > Vincent, > > Have your tried deriving your class LightMov

Re: [osg-users] light Callback

2008-08-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Vincent, Have your tried deriving your class LightMoveCallback from osg::NodeCallback instead of osg::StateAttribute::Callback to see if the callback gets called? Just a thought... -Shayne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Bourdier

[osg-users] Coordinate system mapping from WTK to OSG...

2008-08-07 Thread neil.hughes
Hi All, At the risk of appearing very dense, could I ask for a little help with a problem that I have been banging my head against a wall with for the the past week? The problem is that I have a position and orientation of an observer described by a position vector, and a vector of euler angle

[osg-users] light Callback

2008-08-07 Thread Vincent Bourdier
Hi, I just need to move a light, and for that I try to use a callback. So I implement a simple class lightMoveCallback : public osg::StateAttribute::Callback with virtual void operator()(osg::StateAttribute* ss, osg::NodeVisitor* nv); but the callback is never called... I use : light->setUpdate

Re: [osg-users] Error in online doxygen documentation

2008-08-07 Thread Vican, Justin E.
Hi Ralph, You're right. I had stale links stored in my cache. Many thanks! -Justin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralph Kern Sent: Thursday, August 07, 2008 10:09 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Error i

Re: [osg-users] Error in online doxygen documentation

2008-08-07 Thread Ralph Kern
Hi Justin, I can't confirm your problems. AlphaFunc and Quat links just work fine. Perhaps a cache problem on your browser side. regrds Ralph Vican, Justin E. schrieb: Hi All, Is anybody else having “issues” with the online doxygen API documentation? When I go to the “Alphabetical List” ta

Re: [osg-users] Anybody got wxPack (wxWidgets) + OSG working?

2008-08-07 Thread Charles Cossé
On Linux you can put/call "wx-config" in your link statement to generate paths and libs as known by the wx framework itself On Thu, Aug 7, 2008 at 7:46 AM, Kimmo Kotajärvi <[EMAIL PROTECTED]> wrote: > Here's the whole bunch of them: > > Error 1 error LNK2005: __invoke_watson already define

Re: [osg-users] Anybody got wxPack (wxWidgets) + OSG working?

2008-08-07 Thread Gordon Tomlinson
Well your mixing MS runtime flavours , this is BAD You need to resolve these conflicts, some can be done as the output tells you by using the link line command '/NODEFAULTLIB:library' You also need to ensure all the libs you are using are built with the same MS runtime do a Google, MSDN search e

Re: [osg-users] Anybody got wxPack (wxWidgets) + OSG working?

2008-08-07 Thread Kimmo Kotajärvi
Here's the whole bunch of them: Error 1 error LNK2005: __invoke_watson already defined in MSVCRTD.lib(MSVCR80D.dll) LIBCMTD.lib Error 2 error LNK2005: _malloc already defined in MSVCRTD.lib(MSVCR80D.dll) LIBCMTD.lib Error 3 error LNK2005: _calloc already

[osg-users] Error in online doxygen documentation

2008-08-07 Thread Vican, Justin E.
Hi All, Is anybody else having "issues" with the online doxygen API documentation? When I go to the "Alphabetical List" tab inside of the "Classes" tab, all of the links are screwed up. For example, clicking on the "AlphaFunc" class is a dead link, and the "Quat" class link sends me to the "osg:

[osg-users] Anomaly when intersecting a VPB terrain

2008-08-07 Thread Glenn Waldron
Hi guys, I have encountered a small problem with intersections. I am using the IntersectionVisitor and the LineSegmentIntersector to clamp objects to a geocentric terrain built with VPB (VPB head w/ OSG 2.6). Most of the time it works. But when the intersector line segment is exactly coincident w

Re: [osg-users] Picking and Using Selection

2008-08-07 Thread Jean-Sébastien Guay
Hello Luc, I am working at the moment on an university project and need some advices concerning picking and using selections in osg. My job is to generate and render a height number of polygons (+/- 12) and I need to pick them. In an first instance I have used the LineSegmentIntersector appr

Re: [osg-users] About viewer.addEventHandler(new PickHandler())?

2008-08-07 Thread Jean-Sébastien Guay
Hi ???, First of all, a little mailing list etiquette: 1. could you please sign your posts, it's polite to let others know how to address you. 2. When asking a new question, you should start a new thread (start a new message and not reply to another message). Now, to your question.

[osg-users] Picking and Using Selection

2008-08-07 Thread Luc Heischbourg
Hi all, I am working at the moment on an university project and need some advices concerning picking and using selections in osg. My job is to generate and render a height number of polygons (+/- 12) and I need to pick them. In an first instance I have used the LineSegmentIntersector approach w

Re: [osg-users] osgdem and UTM terrain tiles...

2008-08-07 Thread haithcoc
Shayne, Are all of your UTM projected tiles within a single UTM zone? Stephen Haithcock General Dynamics Land Systems 38500 Mound Rd. Sterling Heights, MI 48310 MZ 436-40-15 (586) 825-8573 "Tueller, Shayne

[osg-users] About viewer.addEventHandler(new PickHandler())?

2008-08-07 Thread 小 杨
Hi everyone: void PickHandler::pick(const osgGA::GUIEventAdapter& ea, osgViewer::Viewer* viewer) { osg::Node* scene = viewer->getSceneData(); if (!scene) return; if(ea.getEventType() == osgGA::GUIEventAdapter::PUSH ) { scene->setUpdateCallback(new RotateCallBa

Re: [osg-users] Anybody got wxPack (wxWidgets) + OSG working?

2008-08-07 Thread Jakob Ruhe
I have not used wxPack but that linking "error" is just a warning and should not usually stop you from getting a working application. What other errors do you get? /Jakob Ruhe 2008/8/7 Kimmo Kotajärvi <[EMAIL PROTECTED]>: > > I'm trying to get OSG and wxWidgets to play nice together. > > I downlo

Re: [osg-users] osgdem and UTM terrain tiles

2008-08-07 Thread McGlone, James C.
You didn't say exactly what type of lat-long DEM you started with, but if it was rectangular tiles what you're seeing is the difference between a rectangular grid in lat-long and a grid in the UTM projection. If you visualize a globe or look at Google Earth you'll see that the longitude lines

[osg-users] Anybody got wxPack (wxWidgets) + OSG working?

2008-08-07 Thread Kimmo Kotajärvi
I'm trying to get OSG and wxWidgets to play nice together. I downloaded wxPack from http://wxpack.sourceforge.net/ since it's a nice prebuilt package for Windows. The examples and new projects compile and run fine. osgviewerWX however, fails to compile with several linker errors such as LINK

[osg-users] problem using overlay node

2008-08-07 Thread Rahul Jain
Hi all, I am trying to overlay a shape file on a terrain using overlay node. But the two textures are not blending, instead the overlay texture has replaced the terrain texture. I am attaching the final rendered image for you to ponder upon. I am using the code of osgsimulation example wh

[osg-users] render to pixelbuffer, compute average cam image

2008-08-07 Thread Fabian Bützow
Hello everybody, 1) im new to osg, hello ;) 2) i want to compute an average image out of several camera images. My plan is using glsl: draw the cam image as a texture to a screen-filling rectangle, set orthographic projection. render the rectangle several times, and divide the pixels by the nu

[osg-users] Offline rendering

2008-08-07 Thread Sam
Hello, some days ago I read some topics about offline rendering here but it was not important then. Now I need it and cant find it (Some topics were out of date using osg::Produer) Anyway, I have a seperated logic where I need to render some scene but never show it, since osgViewer renders t

Re: [osg-users] osg and speedtree

2008-08-07 Thread Adrian Egli OpenSceneGraph (3D)
May we someone could create an example and post it to the forum :-) 2008/8/7 Schmidt, Richard <[EMAIL PROTECTED]> > > Hi Jon, > we have tried to integrate speedtree into osg. > > There are serveral ways to do it: > > 1. alternative: Just use the opengl example from speedtree and wrap it > with a

Re: [osg-users] Mac / X-Code build problem

2008-08-07 Thread Robert Osfield
On Wed, Aug 6, 2008 at 10:22 PM, James Turner <[EMAIL PROTECTED]> wrote: > > On 6 Aug 2008, at 21:57, Eric Sokolowsky wrote: > >> I can't speak about the Xcode project that comes with OSG, but I believe >> it is no longer actively maintained. While Xcode support is still far from >> perfect within