[osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
hi all, always trying to pass to OSGViewer, I try to use computeIntersections (as with osg::Producer) in Producer I made that osgUtil::IntersectVisitor::HitList hlist; if ( CGeneral::instance().viewer.computeIntersections(ea.getX(), ea.getY(), hlist))

Re: [osg-users] OSG with Qt example

2007-02-27 Thread Alberto Luaces
Hello, El Martes, 27 de Febrero de 2007 00:05, christian hresko escribió:  Has osgViewer been removed, but people are still using it (I've seen posts from this year and last year where osgViewer is being used)? osgViewer is a new class currently only found in the SVN repository of OSG. You

Re: [osg-users] osg Plugin COLLADA dae

2007-02-27 Thread Alberto Luaces
El Lunes, 26 de Febrero de 2007 19:52, stuart rigby escribió: Hello, Im a beginner having a hard time compiling the COLLADA dae plugin with my osg project using Visual Studio. Im getting LNK4098 and LNK 2001 errors. Im not sure which lib directories to add. Can someone explain what steps need

Re: [osg-users] View dependant database paging

2007-02-27 Thread Robert Osfield
HI Brad, On 2/26/07, Brad Colbert [EMAIL PROTECTED] wrote: Hi folks, Has anyone implemented a way to have the pager work such that it only pages in the areas that the camera is looking at instead of where the camera is located? I apologize if this has been covered in previous threads. The

Re: [osg-users] Windows-Cygwin-Windows remote terminal with OSG

2007-02-27 Thread Robert Osfield
Hi Brian, On 2/26/07, Brian Keener [EMAIL PROTECTED] wrote: As a general note, I am not familiar with Windows Remote Terminal, and don't know whether one should expect it to work or not. I'd recommend trying other OpenGL apps through it and see what happens. I wasn't sure myself if it

Re: [osg-users] avoiding hick-ups because of upload to rendering context?

2007-02-27 Thread Robert Osfield
HI Raymond, There is the osgUtil::GLObjectsVisitor that you can use to precompile the scene graphs GL objects. This is run by default by the various viewers on start up, but it not after, so if you add to the scene graph later then you'll need to run the GLObjectVisitor on the new subgraphs.

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread Robert Osfield
HI Elekis, The difference is simply in the data structure used to store the intersection hits. The osgViewer is based on the new IntersectionVisitor rather than the old IntersectVistor. For the new viewer you'll just need to use the LinerIntersector::Intersections structure. Have a look at

Re: [osg-users] Problems with 3DS model and osgUtils:Strippify

2007-02-27 Thread Robert Osfield
Hi Neil, Thanks for the files. I just tried them under Linux with SVN version of the OSG and they both work fine, but then the tri stripping has been disabled in the SVN version to avoid these problems. I have just enabled the Tri stripping code in the 3DS plugin and it still works fine on

[osg-users] osg::Text setText w ith accentuated char (é, è, à...)

2007-02-27 Thread amalric alexandre
Hi osg-users, I have a little problem with osg::Text::setText function. I don't succeed to draw a sentence with accentuated char (a french one ;-) ). I've tried to convert my sentence (std::string) in UTF-8 and then pass it to setText like : std::string convertMultiByte2utf8(const std::string

Re: [osg-users] osg::Text setText with accentuated char (é, è, à...)

2007-02-27 Thread Robert Osfield
HI Alex, osgText supports non ascii strings. See the osgText::String class - its uses a full int per character to ensure that it can map all characters in a font. Robert. On 2/27/07, amalric alexandre [EMAIL PROTECTED] wrote: Hi osg-users, I have a little problem with osg::Text::setText

Re: [osg-users] Problems with 3DS model and osgUtils:Strippify

2007-02-27 Thread neil.hughes
Hi Robert, thanks for trying. I'll scratch head for a bit and see if I can get a better handle on what's happening. It may be a problem in my 3DS loader code as I have changed it to work with streams. However, when this has had a problem in the past, it bombs before getting anywhere near this

Re: [osg-users] osg::Text setText with accentuated char (é, è, à...)

2007-02-27 Thread amalric alexandre
Hi Robert, Thank you for the tips, finally it works if a font like arial is set. 2007/2/27, Robert Osfield [EMAIL PROTECTED]: HI Alex, osgText supports non ascii strings. See the osgText::String class - its uses a full int per character to ensure that it can map all characters in a font.

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
thanks, I found something. but I raised a other trouble(it's not my month, all that for a teacher :-( ), with QT, I can't use osgViewer , I have to use osgSimpleViewer . if I use osgViewer -- core dumped (see code below) . (I duno if it's normal) but in osgSimpleViewer I haven't

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread Robert Osfield
Hi Elekis, class SimpleViewerQT : public osgViewer::Viewer, public GraphicsWindowQT osgViewer::Viewer isn't meant to be used like these, one attaches GraphicsWindow's to the Camera's that the Viewer maintains. See the osgcamera example if you want to know how. Robert. On 2/27/07, elekis

Re: [osg-users] Static scene optimization

2007-02-27 Thread Sean Cullen
Seems to me you are trying to go through a lot of trouble to get the static geometry drawn. The goal is to restore the frame buffer and the depth buffer to the same state every frame and then draw your dynamic objects. I would think that the best performance would come from rendering this state

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread elekis
hi sorry but, ... I m totally lost, What I trying to do is is using QT with OSG. like I said before, I try to get the geode that I ve just clicked (x, y). like you said, I m now using Intersections. like that I suppose osgUtil::LineSegmentIntersector::Intersections inter;

[osg-users] osgProducer now a separate project

2007-02-27 Thread Robert Osfield
Hi All, Over the last couple of days Jose Luis Hidalgo has been helping me set up SVN and Tracs for the new osgProducer project, and this morning I got the new repository compiling separately from the core OSG: To check out the osgProducer SVN: svn checkout

Re: [osg-users] OSGViewer and computeIntersections

2007-02-27 Thread Robert Osfield
Hi Elekis, osgViewer::SimpleViewer does not have the computeIntersection method, so far I've tried to keep the API simple. We potentially can add one along the lines of the one now added to osgViewer::View/Viewer. osgViewer::Viewer does have a computeIntersections method albiet with slightly

[osg-users] Frame rate stats

2007-02-27 Thread Zach Deedler
Hello, Is the frame rate shown with OSG1.2 an average of the last 10 frames? I ask because sometimes I'll see 43Hz when I'm running 60Hz vsynced. Thanks. Zach ___ osg-users mailing list osg-users@openscenegraph.net

RE: [osg-users] osgProducer now a separate project

2007-02-27 Thread Paul Martz
Is the intent that osgProducer should be checked out as a sibling directory to OpenThreads, OpenSceneGraph, and Producer? This will affect the include and lib paths in the VS project files. -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [osg-users] Bug in osgIntrospection

2007-02-27 Thread Mike Wittman
Hi Miguel, Thanks for the answers. I'm fairly sure that this is not a new bug and that this functionality has not worked previously. Currently osgIntrospection::Value treats reference types the same way as value types. I'm looking into either treating them like pointer types or adding

Re: [osg-users] osgProducer now a separate project

2007-02-27 Thread Luigi Calori
I would like to adatp CMake to the new layout of all the sets: In order to do it is important to have idea of the suggested checkout layout, preferred dll names under different platforms and preferred installation paths. It can be assumed that the common checkout layout is the following?

[osg-users] SVN testing, retire CVS?

2007-02-27 Thread Mike Weiblen
Hi Robert, if CVS is deprecated, could you be a big README_IMPORTANT_THIS_REPO_IS_CLOSED.txt at the top of the old repo, so its visible at http://openscenegraph.org/viewcvs/, with info on how to get to the new repo? Could you fix the URLS on the

[osg-users] svn testing 2

2007-02-27 Thread Mike Weiblen
Hi Robert, per http://www.openscenegraph.com/osgwiki/pmwiki.php/Downloads/SVN (with fixed urls) I can check out OSG and OP, but OT fails w/: glow 1 17$ svn checkout http://openscenegraph.com/svn/osg/OpenThreads/trunk OpenThreads svn: PROPFIND request failed on '/svn/osg/OpenThreads/trunk'

Re: [osg-users] Frame rate stats

2007-02-27 Thread Robert Osfield
Hi Zach, On 2/27/07, Zach Deedler [EMAIL PROTECTED] wrote: Is the frame rate shown with OSG1.2 an average of the last 10 frames? I ask because sometimes I'll see 43Hz when I'm running 60Hz vsynced. Yes its averaged, so a frame drop will pull the frame rate down. Robert.

Re: [osg-users] osgProducer now a separate project

2007-02-27 Thread Robert Osfield
Hi Paul, On 2/27/07, Paul Martz [EMAIL PROTECTED] wrote: Is the intent that osgProducer should be checked out as a sibling directory to OpenThreads, OpenSceneGraph, and Producer? This will affect the include and lib paths in the VS project files. Yes I'd expect osgProducer to be checked

RE: [osg-users] osg Plugin COLLADA dae

2007-02-27 Thread Roger James
Hello, Im a beginner having a hard time compiling the COLLADA dae plugin with my osg project using Visual Studio. Im getting LNK4098 and LNK 2001 errors. Im not sure which lib directories to add. Can someone explain what steps need to be taken to get started? thanks Stuart, I recommend

Re: [osg-users] svn testing 2

2007-02-27 Thread Robert Osfield
Hi Mike, On 2/27/07, Mike Weiblen [EMAIL PROTECTED] wrote: Hi Robert, per http://www.openscenegraph.com/osgwiki/pmwiki.php/Downloads/SVN (with fixed urls) I can check out OSG and OP, but OT fails w/: I've now fix the URL, thanks for mentioning this. glow 1 17$ svn checkout

Re: [osg-users] Re: Problems with 3DS model and osgUtils:Strippify

2007-02-27 Thread Robert Osfield
Hi Neil, I don't recall any additions to detect degenerate triangles. Its been over a year since 1.0 though, so perhaps one of the the many hundreds of submissions did add something. Perhaps more likely is that is a memory error that my linux build gets away with while your build doesn't. One

RE: [osg-users] View dependant database paging

2007-02-27 Thread Brad Colbert
Hi Robert, Is it only paging in the area of regard (and some small surrounding area) or is the entire area near the camera paged in? I ask this because it looks like I'm running out of memory and I'm trying to narrow the culprit. For this application, I'm not concerned about real-time

RE: [osg-users] osgProducer now a separate project

2007-02-27 Thread Paul Martz
I have VC6 project files ready and will post them to osg-submissions in a minute. -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Tuesday, February 27, 2007 10:11 AM To: osg users Subject: Re: [osg-users]

Re: [osg-users] svn testing 2

2007-02-27 Thread Jose Luis Hidalgo
HI Robert, On 2/27/07, Robert Osfield [EMAIL PROTECTED] wrote: openscenegraph.com still points to the original server. Not quite sure why it hasn't redirected to the new server yet... Now it automatically redirects to www.openscenegraph.com... it was my fault. Cheers, Jose L. -- Jose

[osg-users] Re: osgProducer now a separate project

2007-02-27 Thread E. Wing
Is it really necessary to remove osgProducer from the repository completely? It seems it might be easier to just remove it as a built-by-default component (like osgTerrain or the Qt based examples). But if the user has Producer installed, they can explicitly opt-in. -Eric

Fwd: [osg-users] View dependant database paging

2007-02-27 Thread Robert Osfield
-- Forwarded message -- From: Robert Osfield [EMAIL PROTECTED] Date: Feb 27, 2007 7:32 PM Subject: Re: [osg-users] View dependant database paging To: Brad Colbert [EMAIL PROTECTED] On 2/27/07, Brad Colbert [EMAIL PROTECTED] wrote: Hi Robert, Is it only paging in the area of

Re: [osg-users] Re: osgProducer now a separate project

2007-02-27 Thread Robert Osfield
Hi Eric, On 2/27/07, E. Wing [EMAIL PROTECTED] wrote: Is it really necessary to remove osgProducer from the repository completely? It seems it might be easier to just remove it as a built-by-default component (like osgTerrain or the Qt based examples). But if the user has Producer installed,

RE: [osg-users] Re: osgProducer now a separate project

2007-02-27 Thread Paul Martz
Warning (applies at least to Windows users and maybe others): You'll probably want to do a recursive find and delete in your OpenSceneGraph tree for any files or folders with osgProducer in their name. Otherwise, executables that use osgProducer and don't have their Makefile / project files

RE: [osg-users] View dependant database paging

2007-02-27 Thread Zach Deedler
Hi Brad, I had a problem where tiles were not paging out. I was loading them after realize. If you look at osgProducer::Viewer::realize or wherever realize is now you will see these calls: osgDB::DatabasePager* databasePager = osgDB::Registry::instance()-getOrCreateDatabasePager();

Re: [osg-users] Re: osgProducer now a separate project

2007-02-27 Thread Jan Ciger
Hi, On Tuesday 27 February 2007, Robert Osfield wrote: Hi Eric, On 2/27/07, E. Wing [EMAIL PROTECTED] wrote: Is it really necessary to remove osgProducer from the repository completely? It seems it might be easier to just remove it as a built-by-default component (like osgTerrain or the

[osg-users] VirtualPlanetBulder SVN and Tracs

2007-02-27 Thread Robert Osfield
Hi All, Again Jose and myself have been busy setting up SVN and Tracs for the new project that is growing out from osgTerrain/osgdem. After coming up with a short list for names VirtualPlanetBuilder was picked. The Tracs website can be found at:

Re: [osg-users] Re: osgProducer now a separate project

2007-02-27 Thread Robert Osfield
Hi Jan, On 2/27/07, Jan Ciger [EMAIL PROTECTED] wrote: Now that osgProducer is gone from the core OSG, could somebody tell me whether and how the osgViewer supports stereo? I am specifically talking about the following env. variables which work with Producer but do not seem to do anything with

Re: [osg-users] Alpha priority

2007-02-27 Thread Joakim Simonsson
It isn't possible to do any hierachial modification to fix this, because your tree can be viewed from different directions. This is how I do it: 1. Modify the alpha so it doesn't contain any gray pixels. Only pure black or pure white pixels. 2. Don't mipmap the alpha. Because mipmaping

Re: [osg-users] Re: osgProducer now a separate project

2007-02-27 Thread Farshid Lashkari
Hi Robert, On 2/27/07, Robert Osfield [EMAIL PROTECTED] wrote: Later on I plan to provide better stereo support, and do so at a high level directly within osgViewer rather than relying upon SceneView. The high level support will be done through setting up slave osg::Camera in pairs, or with

[osg-users] OSG stereo and shutter glass and asvf

2007-02-27 Thread Jae Whang
Hi, I am one of osg user... At the moment, I have problem with osg so i would like to ask a question. I am using osg in CAVE environment and model loading works well, stereo vision works well and shutter glasses works well too. Now i am planning to work on asvf, which have to calculate view