Re: [osg-users] FFmpeg plugin

2009-04-01 Thread Robert Osfield
Hi Carlos, Good to here you've got things working. Still don't know what might have been wrong in your original setup... but at least things are working now. FYI, I'm currently use the Kubuntu 9.04 beta and ffmpeg that comes with it. Robert. 2009/3/31 Carlos Sanches ces...@gmail.com yeah

Re: [osg-users] vpbmaster vs osgdem

2009-04-01 Thread Gert van Maren
Hi Robert, I've put the tasks/logs on our ftp server: ftp.k2vi.com user: DIT_Guest password 33Karaka2oo9 (the two o's are the letter o, not numbers) file: /Download/OSG/vpb_task_logs.rar It does look like it goes down to level 21 looking at the log file that was last accessed but I can't see

Re: [osg-users] Compressed texture

2009-04-01 Thread Robert Osfield
HI Yefei, The OSG has support for removing duplicate state on an already loaded scene graph, but at present there isn't any support in the .ive format for pooling imagery/texture between sets of .ive files. The later feature would be very useful though... so please feel free to dive in and

Re: [osg-users] Import Large Meshes

2009-04-01 Thread Robert Osfield
Hi Brian, I'm afraid VirtualPlanetBuilder is based around processing heightfiels + imagery, not irregular polygonal meshes so won't be of any help. The osgUtil::Simplifier might be able to help though, although you'll probably need to break up the model into chunks first. One thing it would be

Re: [osg-users] DatabasePager Stats

2009-04-01 Thread Robert Osfield
Hi Mike, 2009/3/31 michael.schm...@l-3com.com I apologize in advance if this has already been answered, but I didn’t find anything. One of the stats views shows “DatabasePager time to merge new tiles”. What is the meaning of the different values, especially the “requests” value? What

Re: [osg-users] vpbmaster vs osgdem

2009-04-01 Thread Robert Osfield
HI Gert, I downloaded the file but on attempting to unpack the archive using unrar I get an error: unrar x vpb_task_logs.rar UNRAR 3.80 freeware Copyright (c) 1993-2008 Alexander Roshal The archive header is corrupt Extracting from vpb_task_logs.rar Unexpected end of archive No files to

Re: [osg-users] Meta-Informations

2009-04-01 Thread Ulrich Hertlein
Hi Alexis, On 1/4/09 8:15 PM, Alexis wrote: I would like to know: 1. What are Meta-Informations ? Examples Good question. What *are* meta-information? Where did you come across the term? I've never heard it in relation to OSG. Cheers, /ulrich ___

[osg-users] Meta-Informations

2009-04-01 Thread Alexis
Hi, i m a new one in this forum. i m learning osg. I hope i will find here answer to my questions and will later also help other people. I would like to know: 1. What are Meta-Informations ? Examples 2. Which are the possibilities to keep Meta-Infos in a osg-graph ? load, read, write, store ?

[osg-users] Object oriented coding

2009-04-01 Thread Tomas Lundberg
Hi, I have done some small test projects for fun in OSG, without really learning it correctly. Now I have a very general question: How do I structure my code to make it more object oriented together with OSG? Let's say I want to visualise an airport with planes coming and leaving. I would

Re: [osg-users] Meta-Informations

2009-04-01 Thread Ulrich Hertlein
Hi Alexis, On 1/4/09 8:15 PM, Alexis wrote: I would like to know: 1. What are Meta-Informations ? Examples Good question. What *are* meta-information? Where did you come across the term? I've never heard it in relation to OSG. Cheers, /ulrich ___

Re: [osg-users] problem using overlay node

2009-04-01 Thread Alexandre Amalric
Hi Rahul and osg-users, I've recently tried to use overlaynode with blending and i didn't achieve to make it work... Is there someone who has a simple sample file with data to show the community how overlay node works when it comes to set some blending between overlay and overlay subgraph ??

Re: [osg-users] Eye position and 2nd slave camera

2009-04-01 Thread petr srom
Thank you Robert, your message help me. And I have another problem, I don't know how to correctly set the 2nd camera like mirror (smaller viewport with tank_des.osg). What shall i do for correct view? Let's see screenshot below. Scene and car1 in my 3d world are in .ive format and structure

Re: [osg-users] FFmpeg plugin

2009-04-01 Thread Carlos Sanches
Yeah is all ok now . the problem that I had in my program using xine plugin dont appear with ffmpeg . thank you all ! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Bug in 2.7.9 with collada

2009-04-01 Thread Pierre Boulenguez
Hi all, Patrice, I maybe have the same problem as your's. I have posted a test scene on this thread : http://forum.openscenegraph.org/viewtopic.php?p=9533#9533 Can you reproduce the bug with it ? Best Regards, Pierre -- Read this topic online here:

Re: [osg-users] Object oriented coding

2009-04-01 Thread Donald Cipperly
Hi Tomas, This is a software design question, not really an OpenSceneGraph one. I'd recommend reading articles/books on game/object oriented design. The design of your classes will depend on your application requirements, taking into account money/time/etc. constraints. I'd recommend that your

[osg-users] Labeling 3D Nodes with HUD style

2009-04-01 Thread Hagen
Hi, Im trying to label certain points in my 3D - Scene. Of course I could just use osgText and add it to a transform. But what i want to do is a little more complicated. I want to draw rectanlges with text inside that are drawn 2D (HUD like) on the screen. They shall only appear on near the

Re: [osg-users] Textures getting invisible on some system.

2009-04-01 Thread Ümit Uzun
Hi Pierre, I really want to help you but unfortunately I hadn't found any solution except using old version (2.7) on machine which being invisible on it. I suspect the reason that Graphical Card and OSG inconsistency. Currently the best suggestion from me is using old version. Best Regards.

Re: [osg-users] Labeling 3D Nodes with HUD style

2009-04-01 Thread Tomlinson, Gordon
Have a look through the Picking code and examples this shows you how to transform the 2d window coordinates ( in this case were the mouse is, but the principle is the same) into 3d scene coordinates Once you have the coordinates then straight forward to draw a line or any thing your want , We

Re: [osg-users] Labeling 3D Nodes with HUD style

2009-04-01 Thread Hagen
Thank you for the fast reply. But I need the exact opposite of mouse picking. I want to know the 2d Coordinates given the 3D Coordinates. So a kind of reverse picking :-) Thx Hagen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9539#9539

[osg-users] Would like to contribute osg plugin for ply

2009-04-01 Thread Santosh
Hi All, As part of one of my project I have written an osg plug in for reading ply file (Stanford Triangle Format). I would like to contribute this plugin to the community. I have written the plugin according to OSG standard and have also added cmake build system. The plugin is working

Re: [osg-users] Would like to contribute osg plugin for ply

2009-04-01 Thread Robert Osfield
Hi Santosh, The system for all submissions is to subscribe to the osg-submissions mailing list and send the files, or typically a .zip file containing all the files, to the osg-submissions list with a brief on what the submission does. Details about subsription on the mailing list page on

Re: [osg-users] Object oriented coding

2009-04-01 Thread Tomas Lundberg
Thanks for the reply. That's an interesting article. It does make sense when thinking about it, although the object oriented stucture is deeply rooted in many programmers' heads (mine included) :) Anyway, I think my question applies to objects and components alike... How does adding data to

Re: [osg-users] Labeling 3D Nodes with HUD style

2009-04-01 Thread Tomlinson, Gordon
The code I suggested you look is still pretty relevant you just have to work the algorithms around a bit Do a google on glUnProject and glProject, this is not a new topic :) Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson

Re: [osg-users] Compressed texture

2009-04-01 Thread Yefei He
Hi, Robert, Thanks for your reply. Yes, I agree it will take quite some effort and possibly format change to implement texture sharing between ive files with built-in textures. That's why I would like a quicker way out:) -- using ive files without built-in texture but refer to compressed

Re: [osg-users] Compressed texture

2009-04-01 Thread Robert Osfield
Hi Yefei, On Wed, Apr 1, 2009 at 4:24 PM, Yefei He y...@nads-sc.uiowa.edu wrote: Thanks for your reply. Yes, I agree it will take quite some effort and possibly format change to implement texture sharing between ive files with built-in textures. That's why I would like a quicker way

[osg-users] ObjectType querry...

2009-04-01 Thread neil.hughes
Hi All, Can anyone tell me whether there is a way (call) in OSG to say what type of object a plugin will produce ? i.e. if I have a file A.jpg and I call osgDB::Registry::instance()-getReaderWriterForExtension passing in the file extension, I get the readerwriter. What I would like to know is

Re: [osg-users] ObjectType querry...

2009-04-01 Thread Robert Osfield
Hi Neil, In OSG-2.8 you can do osgconv --formats to get a listed of all the capabilities of the plugins. Robert. On Wed, Apr 1, 2009 at 5:29 PM, neil.hug...@tesco.net wrote: Hi All, Can anyone tell me whether there is a way (call) in OSG to say what type of object a plugin will produce ?

[osg-users] osgmovie problem

2009-04-01 Thread Lingyun Yu
Hi, while I am running osgmovie, I met the warning like warning: GraphicsWindowWin32::grabFocus failed grabbing the focus then only a white window on the screen. what's wrong with this? Thank you. -- Read this topic online here:

Re: [osg-users] Object oriented coding

2009-04-01 Thread Donald Cipperly
Tomas, Check out the osgcatch example. It's a simple example with a few classes to encapsulate game objects that may get you going in the right direction. - Donny On Wed, Apr 1, 2009 at 9:51 AM, Tomas Lundberg tomas...@gmail.com wrote: Thanks for the reply. That's an interesting article.

Re: [osg-users] [build] How do I add libraries to all linker commands?

2009-04-01 Thread Lucasw
Philip Lowman wrote: On Tue, Mar 31, 2009 at 5:07 PM, Lucasw () wrote: From your build tree type make edit_cache, this is the same as running ccmake /path/to/source/tree. Check the contents of the OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY variables.  They should be

Re: [osg-users] osgmovie problem

2009-04-01 Thread Lingyun Yu
Now I use osg2.9 to run it. it doesn't have warning anymore, but still just a white window On Wed, Apr 1, 2009 at 6:50 PM, Lingyun Yu lingyun.yu...@gmail.com wrote: Hi, while I am running osgmovie, I met the warning like warning: GraphicsWindowWin32::grabFocus failed grabbing the focus then

Re: [osg-users] Compressed texture

2009-04-01 Thread Luigi Calori
As I' m also interested in texture compression my question is: when using .osg files or ive files without texture inside (those obtained by osgconv -O noTexturesInIVEFile useOriginalExternalReferences foo.osg soo.ive) if there is a chain of pagedlod files that refer to the same texture (for

[osg-users] [build] Build problem with gdk-x11-2.0

2009-04-01 Thread Harry Plantinga
Hi, I'm trying to build OpenSceneGraph on a SUSE system. Attempts to make version 2.8 and 2.9.2 both yield the following error. Any suggestions? Thanks! -- [ 99%] Built target osgdb_svg Linking CXX shared module ../../../lib/osgPlugins-2.8.0/osgdb_pdf.so

Re: [osg-users] Textures getting invisible on some system.

2009-04-01 Thread Pierre Boulenguez
Hi Ümit, Thank you for your reply. As for you, the only workaround that I have found is to downgrade to osg 2.6. Best Regards, -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9554#9554 ___

[osg-users] Node to Geode

2009-04-01 Thread Robert
Hi, I'm pretty noob to OSG and I have tried to make it myself but I really need some help. I'm using readNodeFile to get a Node but I need a Geode. How can I convert the node to geode? Thank you. -- Read this topic online here:

Re: [osg-users] Compressed texture

2009-04-01 Thread Yefei He
Hi, Robert, Is sharing textures a problem even if the textures are externally referenced by the .ive files? I see that in the implementation of read image, there is an option of CACHE_IMAGE. Is this turned on be default? Is the image cache indexed by the image file names? If so, I would

Re: [osg-users] osgmovie problem

2009-04-01 Thread Robert Osfield
Hi Yun, No one will be able to help you unless you provide more information. Key details are graphics card/graphics driver. Also do other examples run fine? Have you compiled with the ffmpeg or quicktime plugins? What exactly command line options are you using? Robert. 2009/4/1 Lingyun Yu

Re: [osg-users] Node to Geode

2009-04-01 Thread Robert Osfield
HI Robert, You can using dynamic_castosg::Geode*(node) in C++, but... this doesn't mean it'll return anything other than a NULL, as most scene graphs will typically contain a root node that is not a Geode, but something like a Group. Perhaps you could explain what you are actually trying to do

[osg-users] [build] introducing the osgviewer application into another application

2009-04-01 Thread Romain Cavagna
Hi All, I try to introduce the 'osgviewer' application into my own application but It does not work under linux. Currently, I've build OSG 2.6 under Windows and Mandriva. I've made a direct copy of the osgviewer application source code and with cmake I've made the necessary link with my

Re: [osg-users] osgmovie problem

2009-04-01 Thread Lingyun Yu
Other examples run fine. I already compiled with quicktime plugins. my graphics card is Nvidia geforce 8800 GTX I just use osgmovie d:\1.avi robertosfield wrote: Hi Yun, No one will be able to help you unless you provide more information.  Key details are graphics card/graphics driver. 

Re: [osg-users] osgmovie problem

2009-04-01 Thread Lingyun Yu
Warning: GraphicsWindowWin32::grabFocus() - Failed grabbing the focus -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9562#9562 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osgmovie problem

2009-04-01 Thread Lingyun Yu
another warning TextureRectangle::apply(..) failed, texture rectangle is not support by your OpenGL drivers. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9563#9563 ___ osg-users mailing list

Re: [osg-users] [build] introducing the osgviewer application into another application

2009-04-01 Thread Robert Osfield
Hi Romain, I haven't heard of problems like this before (I work under Linux almost 100% of time). What happens when you run the original osgviewer? Robert. On Wed, Apr 1, 2009 at 7:24 PM, Romain Cavagna rcava...@widereality.comwrote: Hi All, I try to introduce the 'osgviewer' application

Re: [osg-users] [build] introducing the osgviewer application intoanother application

2009-04-01 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
What exactly is your own application? Is it another windowing framework? -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Romain Cavagna Sent: Wednesday, April 01, 2009 12:25 PM To:

[osg-users] Problem with OSG 2.8 binaries download

2009-04-01 Thread Monakov Yurii
Hi, I can not downlod any prebuild binaries from http://www.openscenegraph.org/projects/osg/wiki/Downloads It says You don't have permission to access path to binaries on this server. Is it my problem or server's? Thank you. YM -- Read this topic online here:

Re: [osg-users] OpenGL 3.1 at GDC

2009-04-01 Thread R Fritz
Robert Osfield, Paul Martz, Shayne Tuller, thanks for your responses to a newbie question. Randolph ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] testing for multisampling capability

2009-04-01 Thread Peter Amstutz
I'm trying to enable 4x multisampling in my application. When running on systems with decent video drivers this is a simple matter of setting traits-sampleBuffers when I create the graphics window and it just works. Unfortunately in testing I've run into a system with an integrated Intel

Re: [osg-users] Problem with OSG 2.8 binaries download

2009-04-01 Thread Martin Beckett
The link seems to point to the directory not the file. Try: http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/openscenegraph-all-2.8.0-win32-x86-vc90sp1-Release.tar.gz -- Read this topic online here:

Re: [osg-users] Node to Geode

2009-04-01 Thread Paul Martz
If the top level node isn't a Geode (which it isn't except for the very simplest of scene graphs), you'll need to walk the scene graph to find the Geode of interest. In OSG this is done with a NodeVisitor. I suggest you get the OSG Quick Start Guide and read through it (search at www.lulu.com).

[osg-users] default coordinate system and camera - newbie

2009-04-01 Thread ami guru
Hello forum, osgViewer , by default uses the world coordinate system that is oriented with positive X to right , positive Z up, and positive Y into the screen. Does that mean the camera' s defualt position is at the origin looking down into the screen which is positive Y? I have tried to

Re: [osg-users] Problem with OSG 2.8 binaries download

2009-04-01 Thread Юрий Монаков
OK, I see. Thank you. BTW, where can I look at file list of this directories (if any)? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Problem with OSG 2.8 binaries download

2009-04-01 Thread Юрий Монаков
Oooo. I've googled it :) ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] vpbmaster vs osgdem

2009-04-01 Thread Gert van Maren
Hi Robert, I've put a zip file in the same spot: vpb_task_logs.zip Weird thing is that all logs are small except the subtiles ones which are 20Mb+. That suppossed to be? Thanks Gert On Thu, 02 Apr 2009 01:44:56 +1300, osg-users-requ...@lists.openscenegraph.org wrote: HI Gert, I

[osg-users] [osgPlugins] osgmovie problem

2009-04-01 Thread salvatore
hello to all, I have a problem: osgmovie use to see a movie. mov but I see a shift in the top of the movie screen, you can help me? Thank you in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9578#9578

[osg-users] [build] Windows binary download

2009-04-01 Thread Martin Beckett
A user on general pointed out that the windows binary links on http://www.openscenegraph.org/projects/osg/wiki/Downloads point to the directory not the file and they can't access them. It also seems that windows binaries are packed as .tar.gz - could we make them .zip? Windows users that are

Re: [osg-users] default coordinate system and camera - newbie

2009-04-01 Thread Paul Martz
The CameraManipulator (like TrackballManipulator, for example) determines the default orientation. You can change this default by setting the up vector in the TrackballManipulator. By default, the TrackballManipulator uses positive Z up, so if your code is getting positive Y up, either you have a

Re: [osg-users] [build] How do I add libraries to all linker commands?

2009-04-01 Thread Lucasw
lucasw wrote: Philip Lowman wrote: On Tue, Mar 31, 2009 at 5:07 PM, Lucasw () wrote: From your build tree type make edit_cache, this is the same as running ccmake /path/to/source/tree. Check the contents of the OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY

Re: [osg-users] Return of the DepthPartitionNode

2009-04-01 Thread Pasquale Tricarico
Hi Ravi, I can confirm that the scaling problem seems now to be fixed using the files attached. I've tested it both in the osgdepthpartition example provided, and in a more complex scene with objects sizes covering more than six orders of magnitude. The new code worked flawlessly. Thanks for

Re: [osg-users] osgmovie problem

2009-04-01 Thread Ulrich Hertlein
On 2/4/09 5:32 AM, Lingyun Yu wrote: another warning TextureRectangle::apply(..) failed, texture rectangle is not support by your OpenGL drivers. That explains the white rectangle. The 8800 definitively supports texture rectangles. Maybe you need to update your driver? /ulrich

[osg-users] Fwd: default coordinate system and camera - newbie

2009-04-01 Thread ami guru
Hello Paul, I have the following snippet that deals with the viewer **' int main() { //Creating the viewer osgViewer::Viewer viewer ; //add some event handler //to show the statistics viewer.addEventHandler(new osgViewer::StatsHandler);

Re: [osg-users] [build] Build problem with gdk-x11-2.0

2009-04-01 Thread Philip Lowman
On Wed, Apr 1, 2009 at 1:28 PM, Harry Plantinga hplan...@calvin.edu wrote: Hi, I'm trying to build OpenSceneGraph on a SUSE system. Attempts to make version 2.8 and 2.9.2 both yield the following error. Any suggestions? Thanks! -- [ 99%] Built target osgdb_svg Linking CXX shared

[osg-users] Depth buffer data is not clamp to [0.0,1.0].

2009-04-01 Thread YangXiao
Hi everyone:  Here is My code:   depthBuffer-allocateImage(width, height, 1,GL_DEPTH_COMPONENT,GL_FLOAT);   viewer.getCamera()-setPostDrawCallback( new ScreenShotCallback());    while (!viewer.done())  {     viewer.getCamera()-attach(osg::Camera::DEPTH_BUFFER, depthBuffer);      viewer.frame();  

Re: [osg-users] Announcing VR-Vantage - an OSG-based 3D Toolkit

2009-04-01 Thread Richard Baron Penman
Whose idea was it to announce this on April Fools Day?! From reading the limited information available on their website I think this framework would offer some useful features for my project. Does anyone have experience or an opinion about this technology/company? cheers, Richard On Wed, Apr

Re: [osg-users] Return of the DepthPartitionNode

2009-04-01 Thread Guy
Hi Ravi, Last week I asked something about DPN with no response, but maybe you are the man to refer to, so here I quote myself again: Hi, Several days ago I asked about depthpartition, but now I've a more complex situation that I want to figure out. It begins with depth partition but ends