Re: [osg-users] About setFont() readImageFile() on Internet

2008-04-22 Thread xyc508
Hello,Robert, Very Thanks for your reply. I do the following and it takes affects: // osgDB::FilePathList FilePath; osgDB::convertStringPathIntoFilePathList(C:/WINDOWS/system32,FilePath); osgDB::appendPlatformSpecificResourceFilePaths(FilePath);

Re: [osg-users] Projecting a point given a camera

2008-04-22 Thread Robert Osfield
Hi Bob, Handling multiple cameras has to be done by checking the viewport dimensions and selecting a camera, and the associated view from this. osgViewer does this itself internally when passing events to different views. Robert. On Mon, Apr 21, 2008 at 9:38 PM, Robert Balfour [EMAIL PROTECTED]

Re: [osg-users] About setFont() readImageFile() on Internet

2008-04-22 Thread Robert Osfield
Hi Donlin, I don't think the fonts are downloadable via http. Right now you might have to download them explicitly then reference them. Robert. 2008/4/22 [EMAIL PROTECTED]: Hello,Robert, Very Thanks for your reply. I do the following and it takes affects: // osgDB::FilePathList

Re: [osg-users] Projecting a point given a camera

2008-04-22 Thread Michele Bosi
Thankyou Robert, the method you suggested works flawlessly :) On Tue, Apr 22, 2008 at 10:28 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Bob, Handling multiple cameras has to be done by checking the viewport dimensions and selecting a camera, and the associated view from this. osgViewer

Re: [osg-users] Prep for OpenSceneGraph-2.4 release

2008-04-22 Thread Robert Osfield
Hi Paul, On Mon, Apr 21, 2008 at 4:22 PM, Paul Martz [EMAIL PROTECTED] wrote: Looks good, Robert. Does David Callu want to be mentioned in the professional support section? This is a good point. I used the previous press release as a template and didn't update the services section. I just

[osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Robert Osfield
Hi All, I have just tagged a second 2.4 release candidate - the 2.3.10 developer release: http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases * OpenSceneGraph-2.3.10, released on 22nd April 2008. OpenSceneGraph-2.3.10 is the 2nd release candidate for 2.4. Minor

[osg-users] Adding input device Part 2

2008-04-22 Thread Renan Mendes
Hi, As some of you may remember, i was trying to add a new input device to my OSG application. This device was the SpaceNavigator. I had access to the code that gets the 3D coordinates from it any time it is activated. But, when it is idle, that code makes my application stop and wait for

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Stephan Maximilian Huber
Robert Osfield schrieb: As ever I'd appreciate any testing that can be done. As long as no errors are found I'll go ahead and tag 2.4 stable tomorrow morning. I did a quick test of current svn with the provided XCode-project files on Mac OS X -- everything compiled and worked. I submitted a

Re: [osg-users] Adding input device Part 2

2008-04-22 Thread Dieter Pfeffer
Renan, if you are working under windows, you can do in the main loop DispatchLoop () with: (the difference to the examples is: use PeekMessage instead of GetMessage) int DispatchLoopNT () { int num; /* number of button pressed */ MSG msg; /* incoming message to be evaluated */ BOOL

Re: [osg-users] Adding input device Part 2

2008-04-22 Thread Thibault Genessay
Hi Renan On Tue, Apr 22, 2008 at 2:36 PM, Renan Mendes [EMAIL PROTECTED] wrote: Hi, As some of you may remember, i was trying to add a new input device to my OSG application. This device was the SpaceNavigator. I had access to the code that gets the 3D coordinates from it any time it is

Re: [osg-users] Adding input device Part 2

2008-04-22 Thread Renan Mendes
The best sollution you think, then, is using multithreads? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Robert Osfield
Hi Stephan, On Tue, Apr 22, 2008 at 1:40 PM, Stephan Maximilian Huber [EMAIL PROTECTED] wrote: I did a quick test of current svn with the provided XCode-project files on Mac OS X -- everything compiled and worked. I submitted a small fix for GraphicsWindowCarbon to osg.submissions. Thanks

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Mario Valle
I compiled 2.3.10 under WinXP SP2 with Microsoft Visual C++ .NET and I have unresolved external for the FreeType plugin. I have installed FreeType version 2.19 (the only reference I have found on the site) and building the OSG debug version. FreeTypeFont3D.obj : error LNK2019: unresolved

[osg-users] Shader Program on Slave Camera

2008-04-22 Thread Steven Powers
When I try to set a shader program on a slave camera through a state set it doesn't seem to work. I've tried removing the camera as a slave, adding the state set, then adding the camera as a slave to the viewer again. Is there a fix for this or should I try a different technique to apply a

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Mario Valle
Same undefined symbol with the latest Free Type 2.3.5 Ciao! mario Mario Valle wrote: I compiled 2.3.10 under WinXP SP2 with Microsoft Visual C++ .NET and I have unresolved external for the FreeType plugin. I have installed FreeType version 2.19 (the only reference I have found

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Robert Osfield
Hi Mario, On Tue, Apr 22, 2008 at 2:22 PM, Mario Valle [EMAIL PROTECTED] wrote: I compiled 2.3.10 under WinXP SP2 with Microsoft Visual C++ .NET and I have unresolved external for the FreeType plugin. I have installed FreeType version 2.19 (the only reference I have found on the site) and

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Paul Martz
Hi Mario -- I didn't get this yesterday when building 2.3.9 (VS2005), and I doubt the FreeType plugin has changed since then. Is it possible you didn't rebuild your project/solution files after changing the version in CMake? -Paul -Original Message- From: [EMAIL PROTECTED]

Re: [osg-users] Shader Program on Slave Camera

2008-04-22 Thread Robert Osfield
Hi Steven, On Tue, Apr 22, 2008 at 2:25 PM, Steven Powers [EMAIL PROTECTED] wrote: When I try to set a shader program on a slave camera through a state set it doesn't seem to work. I've tried removing the camera as a slave, adding the state set, then adding the camera as a slave to the

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Mattias Helsing
Hi Robert, successful build on WinXP pro SP2 with MSVC8 including freetype (mike's) and the curl plugin (static). My own projects seem to work as expected (uses osgWidget and VPB). Cheers Mattias On 4/22/08, Robert Osfield [EMAIL PROTECTED] wrote: Hi All, I have just tagged a second 2.4

Re: [osg-users] Shader Program on Slave Camera

2008-04-22 Thread Steven Powers
Let me know if you need more code than this. I can throw together a full executable if it is needed. So far I've added a camera as a slave camera to the viewer. I have no problems doing that. viewer-addSlave(_camera); Then when I add a shader to the slave camera:

[osg-users] OS X / cmake-problems, was: Re: OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Stephan Maximilian Huber
Robert Osfield schrieb: I haven't spotted any recent updates when I've done svn update. When did you check these changes in? I commited the xcode-project last week (17. April) I have problems with the cmake-build: 1.) I can't build the osgdb_freetype, I experience the same error which E.Wing

[osg-users] List of add on packages

2008-04-22 Thread O'Malley, James
Is there a list of add on packages which aren't part of core osg (i.e. osgEphemeris, or osgCal for example) Thanks, Kevin O'Malley ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Edge sharing

2008-04-22 Thread Edgar Moraes Diniz
Thank you a lot. I did this by temporarily storing vertices in a std::map. -- /* * Edgar Moraes Diniz * Universidade Federal do Maranhão * Departamento de Informática * Laboratório de Processamento e Análise de Imagens * e-mail: [EMAIL PROTECTED] */

Re: [osg-users] A question about CMAKE files on windows for 2.3.10

2008-04-22 Thread Paul Martz
Hi Mario. In CMake, leave the build type as the default. Once you have loaded the solution and project into VS, change the build type as follows: Build-Configuration Manager. Select the build type from the pull down menu in the Configuration Manager dialog. -Paul -Original Message-

Re: [osg-users] List of add on packages

2008-04-22 Thread Paul Martz
Hi Kevin -- At the OpenSceneGraph Web site, select Community on the menu at the right. You will see that there are several pages available for information on NodeKits, Plugins, etc. As these are not part of the core OSG, it is the responsibility of the creators to place information about their

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Paul Martz
For the FreeType issue... In the CMake GUI, select the Show Advanced Values checkbox, then make sure all three FREETYPE config variables are set properly. In particular, I have this for both FREETYPE_LIBRARY and FREETYPE_DEBUG_LIBRARY: C:/OSGDev/3rdParty/lib/freetype235.lib Hope this helps,

Re: [osg-users] laser scanner file

2008-04-22 Thread fabio riot
Hi Brian Thanks for your answer I have tested your code On my hardware (Quadro FX 3500M, 2Gb Ram ..Windows Vista, OSG (64bit compiled)) The frame rate is 7 fps (80% memory using) But in my case loading ply file..the main problem isn't the rendering but the loading time (that takes hours...), the

Re: [osg-users] List of add on packages

2008-04-22 Thread Art Tevs
Hi, Paul, to post something to the wiki one has to register somehow in the trac environment. How to do this? Best regards, Art --- Paul Martz [EMAIL PROTECTED] schrieb: Hi Kevin -- At the OpenSceneGraph Web site, select Community on the menu at the right. You will see that there are

Re: [osg-users] laser scanner file

2008-04-22 Thread Brian R Hill
Try this. Looks like you're creating prim per tri instead of one prim with all tris. osg::ref_ptrDrawElementsUInt faces=new osg::DrawElementsUInt(osg::PrimitiveSet::TRIANGLES); for(i=0;in_faces;i++) { read from file the connection list in index1 index2 index3 faces-push_back(index1);

Re: [osg-users] laser scanner file

2008-04-22 Thread Bob Huebert
On Tue, 22 Apr 2008, fabio riot wrote: Hi Brian Thanks for your answer I have tested your code On my hardware (Quadro FX 3500M, 2Gb Ram ..Windows Vista, OSG (64bit compiled)) The frame rate is 7 fps (80% memory using) But in my case loading ply file..the main problem isn't the rendering

Re: [osg-users] OS X / cmake-problems, was: Re: OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Robert Osfield
Hi Stephan, Is this with CMake XCode build or CMake Makefile build? Given the problems below and the ones reported under Windows with freetype it looks like a Wednesday release of 2.4 won't be possible. Could you see if you can resolve the problems and we can then make another dev release prior

Re: [osg-users] List of add on packages

2008-04-22 Thread Art Tevs
Thanks! --- Paul Martz [EMAIL PROTECTED] schrieb: Go to the wiki and (in the search box) search for wiki login password. It should take you to the page with the login and password information. -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

[osg-users] going from 3D coordinates to 2D window coordinates

2008-04-22 Thread Bryan Berg
Hi, Could someone point me to documentations (or sample app) which cover converting from 3D to 2D window coordinates ? Thanks! -Bryan ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Robert Osfield
Hi Paul et, al. Shouldn't the CMakeModules/Find3rdPartyDependencies.cmake be sorting all this out? It looks to me like we need to look into when our Cmake scripts aren't picking up on FreeType correctly under Windows/with the 3rdParty binaries. Unfortunately I'm no Windows users so have to

Re: [osg-users] going from 3D coordinates to 2D window coordinates

2008-04-22 Thread Robert Osfield
On Tue, Apr 22, 2008 at 7:55 PM, Bryan Berg [EMAIL PROTECTED] wrote: Could someone point me to documentations (or sample app) which cover converting from 3D to 2D window coordinates ? I answered a very similiar question yestday on equivilant of gluUnproject so have a look through yesterday

Re: [osg-users] Problem with DXT1 compression on Mac Mini GMA 950

2008-04-22 Thread Robert Osfield
HI Roger, The files work just fine under Kubuntu 7.10 with the Gefore 6200 + NVidia drivers machine I'm working on right now. This looks to be a hardware/driver bug. I guess you could try avoiding compressed imagery, instead opting for downsizing the imagery to get the memory footprint down, a

Re: [osg-users] going from 3D coordinates to 2D window coordinates

2008-04-22 Thread nicolas peña
Just read the thread called Projecting a point given a camera in this mail list that appeared recently. Cheers, Nicolas. 2008/4/22, Bryan Berg [EMAIL PROTECTED]: Hi, Could someone point me to documentations (or sample app) which cover converting from 3D to 2D window coordinates

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Paul Martz
Hi Paul et, al. Shouldn't the CMakeModules/Find3rdPartyDependencies.cmake be sorting all this out? It should. And it does, for me at least. I believe it's a configuration issue on Mario's system, probably related to the fact that he recently upgraded his 3rd party dependencies, so I'm

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Jean-Sébastien Guay
Hi Paul, I believe it's a configuration issue on Mario's system, probably related to the fact that he recently upgraded his 3rd party dependencies, Most likely. If it helps, I've seen cases when switching from the 3rdParty zip file to Mike's SVN where CMake would only detect the new

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Paul Martz
Most likely. If it helps, I've seen cases when switching from the 3rdParty zip file to Mike's SVN where CMake would only detect the new freetype lib for *debug* mode. You needed to check the show advanced values checkbox and then look for the freetype release lib, and change it from 2.19

Re: [osg-users] OS X / cmake-problems, was: Re: OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Stephan Huber
Hi Robert, Robert Osfield schrieb: Is this with CMake XCode build or CMake Makefile build? this is with CMake XCode. Given the problems below and the ones reported under Windows with freetype it looks like a Wednesday release of 2.4 won't be possible. Could you see if you can resolve the

[osg-users] Spotlight only affecting parts of scene despite changes to root stateSet

2008-04-22 Thread Chris Best
First time posting to the list, so please bear with me... I'm currently trying to attach a lightsource node to the front end of an aircraft model in the application I'm working on that acts as a spotlight (to simulate landing lights/head lights). Even though I am setting the stateset up how (I

Re: [osg-users] OS X / cmake-problems, was: Re: OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Paul Martz
FYI I have the same issue with CMake Makefile. The workaround d described at the openscenegraph.org web site was not helpful. As I'm new to the Mac, I assumed the issue was my own inexperience. Unable to contribute to resolving this for the next 2 weeks, at least. -Paul -Original

Re: [osg-users] OpenSceneGraph-2.3.10 dev release tagged

2008-04-22 Thread Mike Weiblen
Hi all, as a datapoint, I did a fresh pull of svn today and built on VS2005sp1/WinXPsp2 in Release configuration using the .bat file below to invoke CMake. (as always, this .bat and others related to win32 builds are in the osgtoy svn) Things built without incident w/ VS reporting: ==

Re: [osg-users] Spotlight only affecting parts of scene despite changesto root stateSet

2008-04-22 Thread Paul Martz
How finely (or coarsely) approximated is the runway surface? Could it be that your issue is caused by regular ol' OpenGL per-vertex lighting? -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Best Sent: Tuesday, April 22, 2008 4:02 PM

Re: [osg-users] Spotlight only affecting parts of scene despite changesto root stateSet

2008-04-22 Thread Jean-Sébastien Guay
Hi Chris, I can think of a couple weird things we do that might affect things since I'm not sure how they interact with LightSource nodes: Why don't you make a simple test case, with only the runway, the aircraft, and the spotlight? I often make a little tester using

[osg-users] How to open file with Unicode name using osgDB::readNodeFile?

2008-04-22 Thread Reed McKenna
We build an application for Windows XP using OpenSceneGraph. We have more and more users from Asian countries who want to read in files that have names with Asian characters. Windows' NTFS file system stores file names in Unicode. How can I have osgDB::readNodeFile (and writeNodeFile, etc.) read

Re: [osg-users] Working with text

2008-04-22 Thread Jeremy Moles
On Tue, 2008-04-22 at 20:35 -0400, Lucas Goss wrote: I must be blind, but I can't figure out what is wrong with this small text example (attached). I wanted to load 3 fonts side by side to compare them, but the viewer only shows that last font that was loaded. I compared the code to the

Re: [osg-users] How to open file with Unicode name using osgDB::readNodeFile?

2008-04-22 Thread Ben Discoe
Reed, OSG on Windows passes your strings directly to fopen, or the C++ stream equivalent. File paths are assumed to be in the local OS's filesystem character set. This means that e.g. Chinese filenames can be opened on computers with Chinese version of Windows, and Western filenames can be