Re: [osg-users] Set resize NPOT hint -- add to osgUtil Optimizer?

2009-03-02 Thread Jean-Sébastien Guay
Hi Paul, If I understand correctly (I've heard this, but I haven't confirmed it in the OpenGL spec), using NPOT textures turns off hardware mipmapping; mipmaps must be created on the host, or not used at all. Is that correct? By 'created on the host', you mean embedded in the texture files (.d

Re: [osg-users] Set resize NPOT hint -- add to osgUtil Optimizer?

2009-03-02 Thread Paul Martz
Hi J-S -- I'm having some second thoughts on this. If I understand correctly (I've heard this, but I haven't confirmed it in the OpenGL spec), using NPOT textures turns off hardware mipmapping; mipmaps must be created on the host, or not used at all. Is that correct? If so, I'll likely suggest an

Re: [osg-users] OpenGL and OSG advocacy

2009-03-02 Thread Sukender
Hi Robert, I noticed you didn't put the OpenGL logos on the site. So I'm "ringing" you :) (Sorry if you *did* see the mail). Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Fri, 27 Feb 2009 20:24:16 +0100, Sukender a écrit: > Hi Robert, hi all, > > I

Re: [osg-users] OpenGL and OSG advocacy

2009-03-02 Thread Sukender
Hi Robert, hi all, I don't know if ideas (slogans) I got before going to sleep are to be good ones, but here we go! :) For OpenGL, regarding to portability: - "Having only one client is risky for your company. Supporting only one platform is also risky. Use cross-platform open APIs based on Ope

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Sukender
Aye-aye, sir! ;) Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Tue, 03 Mar 2009 00:50:43 +0100, Jason Daly a écrit: > Sukender wrote: >> Hi Jason and Robert, >> >> Okay, I didn't know what you were expecting. So now I'm aware of it! >> I'm just a bit

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Jason Daly
Sukender wrote: Hi Jason and Robert, Okay, I didn't know what you were expecting. So now I'm aware of it! I'm just a bit embarassed by the fact your work *may* be a duplicate (well, kind of) of what's inside osgAL. Anyway, I guess osgAudio would integrate both your work and osgAL. Good luck in

Re: [osg-users] multiple views on separate Qt widgets

2009-03-02 Thread Richard Baron Penman
hi, the 2.6 screenshot shows the expected functionality (the right panel is a top down view). The problem is in 2.8 my composite views are rendered on the desktop instead of within the window. Can you think of a reason for this? I suspected the problem is how I create the view in the SceneOSG::add

Re: [osg-users] [osgPlugins] OpenFlight-Plugin - Subfaces could notbe read by OpenFlight-API

2009-03-02 Thread Paul Martz
Sorry I have not gotten to this yet, but I have been busy with paying work. Your models are still in my inbox. Not sure when I'll have enough down time to get to this. (However, I'll add that OSG is a community effort, so you are more than welcome to debug the issue and post a fix to osg-submissio

Re: [osg-users] Set resize NPOT hint -- add to osgUtil Optimizer?

2009-03-02 Thread Jean-Sébastien Guay
Hi Paul, Hi Robert -- I've got a client with some models that use NPOT textures. Just loading the models and rendering them causes OSG to resize the textures to powers of 2, even though NPOT is supported on their hardware. We need a visitor that will walk the scene graph and call setResizeNon

Re: [osg-users] modify children in node callback?

2009-03-02 Thread Brian R Hill
Bryan, Thanks for pointing that out. I've always just done it outside of all the traversals and never looked for other ways - probably has something to do with the old dog, no new tricks thing :) Brian -osg-users-boun...@lists.openscenegraph.org wrote: - To: "OpenSceneGraph Users" From

Re: [osg-users] Regarding Camera Position

2009-03-02 Thread yann le paih
On Mon, Mar 2, 2009 at 8:26 PM, Gordon Tomlinson < gor...@gordon-tomlinson.com> wrote: > Here the reply I gave you when you asked this question a couple of hours > ago also a suggestion you read this link > http://www.catb.org/~esr/faqs/smart-questions.html

[osg-users] Set resize NPOT hint -- add to osgUtil Optimizer?

2009-03-02 Thread Paul Martz
Hi Robert -- I've got a client with some models that use NPOT textures. Just loading the models and rendering them causes OSG to resize the textures to powers of 2, even though NPOT is supported on their hardware. We need a visitor that will walk the scene graph and call setResizeNonPowerOfTwoHint(

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Sukender
Hi Jason and Robert, Okay, I didn't know what you were expecting. So now I'm aware of it! I'm just a bit embarassed by the fact your work *may* be a duplicate (well, kind of) of what's inside osgAL. Anyway, I guess osgAudio would integrate both your work and osgAL. Good luck in making your plugi

Re: [osg-users] modify children in node callback?

2009-03-02 Thread Thrall, Bryan
Brian R Hill wrote on Monday, March 02, 2009 2:29 PM: > You can't modify the hierarchy during an active traversal - this will mess > up the traversal. You need to cache your updates and perform them between > traversals. Changes to the scenegraph should be made during the update traversal (so, ins

Re: [osg-users] osg::Camera setProjectionMatrixAsFrustum() not working as expected

2009-03-02 Thread Robert Osfield
Hi Bill, You most likely a hitting up againt backface culling culling the wrong faces because you've inverted the windings by swapping the coords. You'll either need to disable back face culling or swap the face that is used for back face culling. This topic has already been discussed today so pl

Re: [osg-users] Disabling small feature culling for a subgraph

2009-03-02 Thread Robert Osfield
Hi Per, Unfortunately this is too a niche a part of the OSG to provide an answer off the top of my head. Rober. On Mon, Mar 2, 2009 at 8:01 PM, Per Fahlberg wrote: > Hi Robert, > > Ok, so if I change the mask of the current CullingSet in a cull callback, > should it only affect the culling of t

Re: [osg-users] modify children in node callback?

2009-03-02 Thread Brian R Hill
I usually do it in the main loop, something like: while(!viewer.done()) { // do updates here update_scene_graph(...); viewer.frame(); } This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in

[osg-users] osg::Camera setProjectionMatrixAsFrustum() not working as expected

2009-03-02 Thread Bill Sause
Hello, I am trying to create a mirror view of a scene and my first instinct was to just negate the "left" and "right" parameters of the osg::Camera setProjectionMatrixAsFrustum() call; however, this is causing all of the models to appear inverted instead of mirrored. When I mirror the scene hor

Re: [osg-users] modify children in node callback?

2009-03-02 Thread Cory Riddell
Thanks Brian, that makes sense. Is there a pre (or post) traversal callback that I can hook to make the changes, or must I manually mange the frame loop to make the changes? Cory Brian R Hill wrote: > Cory, > > You can't modify the hierarchy during an active traversal - this will mess > up the

Re: [osg-users] modify children in node callback?

2009-03-02 Thread Brian R Hill
Cory, You can't modify the hierarchy during an active traversal - this will mess up the traversal. You need to cache your updates and perform them between traversals. Brian This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-m

Re: [osg-users] Disabling small feature culling for a subgraph

2009-03-02 Thread Per Fahlberg
Hi Robert, Ok, so if I change the mask of the current CullingSet in a cull callback, should it only affect the culling of the node that the callback is attached to and not the nodes below in the scenegraph? If I change the culling mode of the cull visitor in a cull callback, should it affect

[osg-users] modify children in node callback?

2009-03-02 Thread Cory Riddell
In general, is it ok to modify child nodes in a node callback method? That is, children of the node for which the callback was called? I assume it must be. If not, how do you add or remove nodes of a scene graph while running? Cory ___ osg-users mailing

Re: [osg-users] [osgPPU] Retrieving an Image from osgPPU

2009-03-02 Thread Stephan Posch
Thanks Art, I'll take a look as time allows and see what I can do. Steve -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7795#7795 ___ osg-users mailing list osg-users@lists.openscenegraph.org http:/

Re: [osg-users] Regarding Camera Position

2009-03-02 Thread Gordon Tomlinson
Here the reply I gave you when you asked this question a couple of hours ago also a suggestion you read this link http://www.catb.org/~esr/faqs/smart-questions.html >From my previous reply : Have you looked at the code and headers of the camera or that use by osg when saving a path?

Re: [osg-users] [osgPPU] Retrieving an Image from osgPPU

2009-03-02 Thread Art Tevs
Hi Stephan, there currently no unit exists, which copies the content of the texture into an image in a faster way. However looking on the example of UnitOutCapture is the way to go, as you did. Currently the implementation of UnitOutCapture does use the simple readImageFromCurrentTexture metho

[osg-users] [osgPPU] Retrieving an Image from osgPPU

2009-03-02 Thread Stephan Posch
Maybe I'm overlooking something simple, but I just don't seem to see it right off hand. I'm using osgPPU to do multiple passes on a scene and I have the case where I need the result in two ways (I need both simultaneously): 1) To the screen (done with UnitOut) 2) To an osg::Image Case #1 is

[osg-users] osg debugging question

2009-03-02 Thread Christian Sam
hi, i wanted to debug an osg example (osgtessellate) to see how the number of primitives changes inside a "Geode" instance while tessellation is done. first of all, let me tell you that i'm not only new to osg, but also to debugging c++ applications, so if something seems strange the way i hav

[osg-users] osgtessellate example question

2009-03-02 Thread Christian Sam
hi, i have a question concerning the "osgtessellate" example. why vanishes the TRIANGLE_STRIP primitives constructed in the function "makePolsTwo()" after "TESS_WINDING_NEGATIVE? as far as i understand, a similiar primitive, constructed in "makePols()" is created with same settings, like the o

[osg-users] Regarding Camera Position

2009-03-02 Thread sunitha sunagad
I just need to know how will i get the camera position and the quaternion i need it to be recorded it with out the help of using the record option of the OSG feature that holds time x,y,z and quaternion So let me know if some one know how to get the Camera Position ans Quaternion -- "

Re: [osg-users] Curious osgText crash

2009-03-02 Thread Kim C Bale
I've recreated the problem I've been having in the attached CPP file. It's a very simple example, so I don't think I've overlooked anything. Occasionally this will run, but the majority of the time it bombs. If one of you kind ladies or gentlemen could run it and tell me if you get the same

[osg-users] [build] Error including cfunix.h on win32 build

2009-03-02 Thread tim paige
I have been busily trying to satisfy CMAKE with everything it would like to know about, and perhaps mistakingly installing everything under the sun to its whim. After satisfying most that I could, I notice a build error related to finding "cfunix.h" which apparently is for a unix platform which

Re: [osg-users] ImageStream and texture updates synch

2009-03-02 Thread Tanguy Fautre
Hi Robert, It's then probably a good idea to update the ffmpeg plugin to also use a pointer swap. The current implementation of the ffmpeg plugin is not optimal. Internally there are already two buffers (a private and a public one), because of the colour conversion routines, synch issues, and

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Robert Osfield
Hi Jason, On Mon, Mar 2, 2009 at 5:13 PM, Jason Daly wrote: > I think most of osgAL would be superfluous here.  We don't need > spatialization or decoding.  The only thing we'd use is the interface to the > audio hardware.  I guess the question becomes whether it is worth it to use > osgAL (which

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Jason Daly
Robert Osfield wrote: Hi Sukender, The needs for the providing audio for movies read by the ffmpeg is that we have a AudioSink implementation that can pull the data from osg::AudioStream and play it. We don't need a scene graph node, or reading support for the ffmpeg plugin as it stands. I'm b

Re: [osg-users] Troubles building osg_Freetype plugin

2009-03-02 Thread Jean-Sébastien Guay
Hello Ernesto, I have downloaded the 3rdParty dependencies form here (http://www.openscenegraph.org/downloads/dependencies/Windows/VisualStudio7/3rdParty_Win32binaries_2005_05_10.zip). That's the old 3rdparty package, which is not useful anymore because we need a newer version of the Freetyp

Re: [osg-users] Troubles building osg_Freetype plugin

2009-03-02 Thread Gordon Tomlinson
Did you build the actual FreeType library ? this is a 3rd party lib you have to build etc.. There are several 3rd Party libs that you either have to build or find a prebuilt package for your OS/build Env See the OSG web site and dependency lists for what you need etc __

Re: [osg-users] ImageStream and texture updates synch

2009-03-02 Thread Robert Osfield
HI Tanguy, You don't want a synchronization point in the image stream as it'd cause the rendering thread to stall waiting for the movie reading thread. Rather than add such a sync operation, it's best to double buffer the image data and then just do a pointer swap on the image to tell it which bu

Re: [osg-users] openscenegraph.org stats

2009-03-02 Thread Jason Daly
Jean-Sébastien Guay wrote: Hi Jason, Ever try DosBox ( http://dosbox.com/information.php?page=0 ) ? Yes, of course, but running it on the real hardware is its own reward. :-) Of course, like I said, it depends on *why* you keep them around. Mind you, I haven't thrown my hardwar

[osg-users] Troubles building osg_Freetype plugin

2009-03-02 Thread Ernesto
Hi I give up for the moment of building OSG with MinGW32 and decided to use Microsoft Visual Studio .NET 2003 (I'm using a low resources of hardware but OSG goes OK). I have compiled OSG but some plugins didn't compile for example the freetype plugin don't get linked because MSVS linker raises

[osg-users] ImageStream and texture updates synch

2009-03-02 Thread Tanguy Fautre
Hi, >From what I understand, an ImageStream indicates that the image as been changed by calling the dirty() method. From there, a texture will update its content with the new image when the scenegraph is traversed. The problem is that I've not found any way to synchronize the point where th

Re: [osg-users] [osgPlugins] OpenFlight-Plugin - Subfaces could not be read by OpenFlight-API

2009-03-02 Thread Katharina Plugge
Sorry for triple posting, but i have some new findings: Correctly reading in Subfaces with the OpenFlight API is dependent on the node sequence. Group - child1 = Subface Node - child2 = Other Geometry does not produce a subface in the API. Where as Group - child1 = Other Geometry - child2 = Su

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Robert Osfield
Hi Sukender, The needs for the providing audio for movies read by the ffmpeg is that we have a AudioSink implementation that can pull the data from osg::AudioStream and play it. We don't need a scene graph node, or reading support for the ffmpeg plugin as it stands. I'm basically working to get

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread Robert Osfield
Hi J.P and A. As a crude hack to get me svn/trunk version of ffmpeg compiling against our ffmpeg plugin I've added to FFmpegDecorderVideo.cpp the extern definition of the img_convert. extern "C" { int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, int src_p

Re: [osg-users] OpenGL and OSG advocacy

2009-03-02 Thread Sukender
Well, I'm sorry, I don't have any suggestion... I was just googling around. ;) Maybe yes, SPEC could be used as a benchmark (among others). Anyone else having a suggestion? Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Mon, 02 Mar 2009 10:29:36 +0100,

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Sukender
Well, I don't know your needs! :D Do you need OpenAL++ things like: - A class for converting audio? (AudioConvert) - Support for streaming? (FileStream) - Support for ogg-Vorbis streaming? - Various classes around OpenAL (Listener, PositionedObject, Source, Sample...)? Do you need to put a node in

Re: [osg-users] Curious osgText crash

2009-03-02 Thread Kim C Bale
Hi Vincent/Gordon, Thanks for your quick replies. I've had a read of the thread, but I'm not actually updating the text once it's added as a drawable so, if I understand correctly, I shouldn't need to worry about thread safety. But to be on the safe side, I've also set the text data variance

Re: [osg-users] Mirrored camera

2009-03-02 Thread Ufuk
Hi Joakim, in examples osgcamera, in function: void multipleWindowMultipleCameras(osgViewer::Viewer& viewer, bool multipleScreens) i tried this code sample: if (i != 2) viewer.addSlave(camera.get(), osg::Matrix::scale(aspectRatioScale, 1.0, 1.0)*osg::Matrix::translate(translate_x, 0

Re: [osg-users] Mirrored camera

2009-03-02 Thread Joakim Simonsson
On Mon, 02 Mar 2009 15:37:07 +0100, Mathias Fröhlich wrote: Hi, On Monday 02 March 2009 15:24, Joakim Simonsson wrote: Is it possible to use two cameras, where one is mirrored, that share the same scene? You should be able to have that attached either to the camera itself, the mirrored on

Re: [osg-users] Curious osgText crash

2009-03-02 Thread Tomlinson, Gordon
Hi Kim Not much help: I have seen the same message occasionally when updating text ( not had crashes) But have no been able to track down issue that may causing subload message yet -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.opensc

Re: [osg-users] Mirrored camera

2009-03-02 Thread Mathias Fröhlich
Hi, On Monday 02 March 2009 15:24, Joakim Simonsson wrote: > Is it possible to use two cameras, where one is mirrored, that share the > same scene? You should be able to have that attached either to the camera itself, the mirrored one (is this true, or are the StateSets at the camera something

Re: [osg-users] Curious osgText crash

2009-03-02 Thread Vincent Bourdier
Hi Kim, I had a problem like this in the past, I solved it using a draw callback to update the texts. you can read this problem here : http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/39315/focus=39408 Hopping this can help you. Regards, Vincent. 2009/3/2 Kim C Bale : > Hi al

Re: [osg-users] Lightning problem with camera point of view

2009-03-02 Thread Vincent Bourdier
Using 3ds max, applying modifier "Edit Normal" -> Unify, I do not have my old lighting problem. (exported as .osg file with osgExp from 3ds max 9) Don't know why this is necessary ... because normals still exist before I decided to Unify them... Vincent. 2009/3/2 Jonatan : > There must be a solu

[osg-users] Curious osgText crash

2009-03-02 Thread Kim C Bale
Hi all, I'm getting some odd errors in conjunction with osgText. I'm loading two font files and assigning them to various osgText drawables, which are in turn added to a series geodes. Each geode is then rendered to texture using individual pre render FBO cameras. When I set the appli

Re: [osg-users] Mirrored camera

2009-03-02 Thread Joakim Simonsson
I have created a slave camera. It should represent a rear mirror on a vehicle. See osg::FrontFace and the the man page of glFrontFace. Thank you for your tip, its much better to use that StateAttribute. But... I am not able to apply it just for one slave camera. As I wrote in my previous

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Robert Osfield
On Mon, Mar 2, 2009 at 1:40 PM, Jason Rupert wrote: > Was hoping there was a specific one, but will investigate all. The OSG has many dozen image and 3d formats that it supports, one doesn't need a tutorial to teach one how to loaded each one when they are all read exactly the same way. Most of

Re: [osg-users] Converting large obj file with osgconv

2009-03-02 Thread Pierre Bourdin (gmail)
Hi, thanks for your help we've done the conversion with one file (not the biggest), but now when I try loading the data in IVE it makes a segfault ?! I've also successfully converted the IVE to osg, but it make the same segfault... I'm using OpenSceneGraph Library 2.6.1 with openthreads-version-

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread Robert Osfield
Hi J.P, On Mon, Mar 2, 2009 at 1:43 PM, J.P. Delport wrote: > I have just checked my lgpl libs and it does contain img_resample. Maybe we > can use that? Just double check your latest libs. The present ffmpeg plugin using the deprecated img_convert method, and this is in the libavcodec.sp of svn

Re: [osg-users] Mirrored camera

2009-03-02 Thread Mathias Fröhlich
On Monday 02 March 2009 14:42, Joakim Simonsson wrote: > I have created a slave camera. It should represent a rear mirror on a > vehicle. See osg::FrontFace and the the man page of glFrontFace. Greetings Mathias -- Dr. Mathias Fröhlich, science + computing ag, Software Solutions Hagellocher

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, On Mon, Mar 2, 2009 at 12:34 PM, J.P. Delport wrote: The one I compiled with LGPL only, has the sws functions in libavcodec.so. nm ./libavcodec/libavcodec.so | grep sws 0008c1b0 T sws_freeContext 0008d1f0 T sws_getCachedContext 0008d0f0 T sws_getContext 0008

[osg-users] Mirrored camera

2009-03-02 Thread Joakim Simonsson
Hi all, I have created a slave camera. It should represent a rear mirror on a vehicle. It uses the master camera's scene data. Its projectionMatrix offset is osg::Matrixd::scale(-1.0, 1.0, 1.0), so that its view is mirrored. But by using this offset projection matrix, every polygon's ba

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Jason Rupert
Many thanks.   Was hoping there was a specific one, but will investigate all.    Already downloaded all the examples and have them working.  I also downloaded all the tutorial stuff, and flipped through about half.    Did not see any thing in the tutorial that addresses OpenFlight type stuff s

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, On Mon, Mar 2, 2009 at 12:34 PM, J.P. Delport wrote: The one I compiled with LGPL only, has the sws functions in libavcodec.so. nm ./libavcodec/libavcodec.so | grep sws 0008c1b0 T sws_freeContext 0008d1f0 T sws_getCachedContext 0008d0f0 T sws_getContext 0008

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Robert Osfield
On Mon, Mar 2, 2009 at 12:40 PM, Jason Rupert wrote: > Whoops. > > I guess I mean terrain databases, e.g. OpenFlight, Terrapage, etc.    Will > have a building with some terrain in the OpenFlight format and want to load > it in and "fly" around the terrain using the OpenSceneGraph. > > What is the

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread Robert Osfield
Hi J.P, On Mon, Mar 2, 2009 at 12:34 PM, J.P. Delport wrote: > The one I compiled with LGPL only, has the sws functions in libavcodec.so. > > nm ./libavcodec/libavcodec.so | grep sws > 0008c1b0 T sws_freeContext > 0008d1f0 T sws_getCachedContext > 0008d0f0 T sws_getContext > 0008caf0 T sws_scale

Re: [osg-users] Regarding Camera

2009-03-02 Thread Gordon Tomlinson
Have you looked at the code and headers of the camera or that use by osg when saving a path? Have you looked at the examples in OSG ? Have you looked at the tutorials listed on the web site ? Have you searched the mail/forum archives These will all help you solve your problem __

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Gordon Tomlinson
The code, the examples in the example directory and the list of tutorials and books listed on the OSG web site has everything you need __ Gordon Tomlinson gor...@gordontomlinson.com IM: gordon3db...@3dscenegra

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Jason Rupert
Whoops.  I guess I mean terrain databases, e.g. OpenFlight, Terrapage, etc.    Will have a building with some terrain in the OpenFlight format and want to load it in and "fly" around the terrain using the OpenSceneGraph.  What is the best documentation and references for learning how to impor

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, I'm currently looking at introducing using of sws_scale, but don't find these methods in the ffmpeg I built. Looking at the links to the mailing list thread you provided I could quite work out whether these methods require the sws library to be built, or wheth

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread Robert Osfield
Hi J.P, I'm currently looking at introducing using of sws_scale, but don't find these methods in the ffmpeg I built. Looking at the links to the mailing list thread you provided I could quite work out whether these methods require the sws library to be built, or whether there would be sws_ functi

[osg-users] osgAnimation and 3ds max exporter

2009-03-02 Thread Botorabi
hello Roland, Cedric, Farshid, i am happy to see the osgAnimation growing in features. i would like to replace osgCal3d with osgAnimation in our project. as far i could read there is already a blender exporter. are there any plans to include bone animation export also to 3ds max? if not, i woul

Re: [osg-users] [osgPlugins] OpenFlight-Plugin - Subfaces could not be read by OpenFlight-API

2009-03-02 Thread Katharina Plugge
Hello again, i'm still having this problem with Subfaces and the OpenFlightPlugin. Has nobody any idea? @Paul Martz: I do not know, if you got my answer, because I only posted in the osg forum. I do not see your E-Mail adress here. If you can give it to me, i can send the example file again.

Re: [osg-users] GraphicsWindowCocoa : Cocoa backend for osgViewer

2009-03-02 Thread Stephan Maximilian Huber
Hi Sylvain, Sylvain MARIE schrieb: > OK I'm back to my lectures, hoping to be able to attack/enhance the > osgViewer/Cocoa backend ASAP If you want to try the new cocoa-backend you can use the following branch at http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/osg-cocoa-dev I comm

[osg-users] Model get twisted in osgviewer

2009-03-02 Thread legeochen
Hi All I came into such a problem. When I view a tunnel model in the format of shapefile with osgviewer, I found it get twisted. And when I turn it around, the distortion also changes. Since the value of vertices in my model are a little big, like (34462366.949, 2667053.504, 756.321), and generated

[osg-users] Regarding Camera

2009-03-02 Thread sunitha sunagad
-- Hi how do i get the camera position and the quaternion... the data that is getting recorded in saved_anaimation.path with out using the record option of OSG i mean i need t,x,y,z,q0,q1,q2,q3 this values which get stored in saved_animation.path file i nead it externally not using the record optio

Re: [osg-users] Lightning problem with camera point of view

2009-03-02 Thread Jonatan
There must be a solution to it. If I load a wavefront file of a plane (4 vertices), the lighting works as it should. For now I will use that approach, but still I am wondering what is missing in my plane generation code. -- Read this topic online here: http://forum.openscenegraph

Re: [osg-users] A GUIEventAdapter::MOVE event every frame

2009-03-02 Thread Robert Osfield
Hi Ivan, Roland's fix is checked into svn/trunk and the OSG-2.8 branch. Robert. On Mon, Mar 2, 2009 at 10:23 AM, Iván wrote: > Thak you Roland, > I'll apply it immediately ;) > > Iván. > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=7737#7

Re: [osg-users] A GUIEventAdapter::MOVE event every frame

2009-03-02 Thread Iván
Thak you Roland, I'll apply it immediately ;) Iván. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7737#7737 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.

Re: [osg-users] Regarding Camera Position

2009-03-02 Thread Robert Osfield
HI Sunitha, I'm afraid I couldn't understand your email clearly enough to give you an answer. Could yo please have another bash at explaining what you are trying to do, and include details such as a what q0, q1, q2 are etc. Robert. On Mon, Mar 2, 2009 at 6:34 AM, sunitha sunagad wrote: > Hi Al

Re: [osg-users] Which document(s) should I reference in order to learn about...

2009-03-02 Thread Robert Osfield
HI Jason, On Mon, Mar 2, 2009 at 12:52 AM, Jason Rupert wrote: > Which OpenSceneGraph document(s) should I reference in order to learn about > the terrain formats that can be imported and also the creation of terrains > that can be imported into OpenSceneGraph. I'm not quite sure by what you mea

Re: [osg-users] multiple views on separate Qt widgets

2009-03-02 Thread Robert Osfield
HI Richard, The right window looks odd, is this correct? Is this way one should expect if everything is working or is this an example of the problem? Robert. On Sun, Mar 1, 2009 at 11:54 PM, Richard Baron Penman wrote: > Sure, here is a screenshot with 2.6 where the composite views are contain

Re: [osg-users] [osgPlugins] New plugin tutorial: Loading from a virtual file system

2009-03-02 Thread Robert Osfield
Hi Boto, Many thanks for posting this useful tutorial, for those too lazy to go search for the page it's at: http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/VFS Cheers, Robert. On Sun, Mar 1, 2009 at 11:35 PM, Botorabi wrote: > hello, > > i have posted a new tutorial to wik

Re: [osg-users] Why is my texture flipped when written to .osg file?

2009-03-02 Thread Robert Osfield
Hi Bjarn, On Sun, Mar 1, 2009 at 4:13 PM, Björn Giesler wrote: > I'm writing a textured model to a .osg file, referencing a jpg file as the > texture. In my program, this renders perfectly, but when I open the resulting > file with osgviewer, the texture is upside-down. I've tried experimentin

Re: [osg-users] PNG not displaying correctly..

2009-03-02 Thread neil.hughes
Hi Stephan, I'm not sure. I shall investigate further. Paul's suggestion has demonstrated that the osgviewer displays the png correctly, so I guess that, coupled with you suggestion, gives me a good starting point for investigating what's wrong at my end. Many thanks. Neil Stephan Ma

Re: [osg-users] OpenGL and OSG advocacy

2009-03-02 Thread Robert Osfield
On Sun, Mar 1, 2009 at 2:38 PM, Sukender wrote: > Hi all, > > Anyone heard about SPECgpc? If not: > http://www.specbench.org/gwpg/gpc.static/overview.html > Could it be something to dive into for benchmarks using OpenGL/OSG? The SPEC benchmarks for OpenGL have been around for a very long time. A

Re: [osg-users] PNG not displaying correctly..

2009-03-02 Thread neil.hughes
Hi Paul, That worked fine. I shall investigate further. Thanks for the help Neil. Paul Martz wrote: > Try "osgviewer --image " and see if you get different results. > > Paul Martz > Skew Matrix Software LLC > http://www.skew-matrix.com > +1 303 859 9466 > >

Re: [osg-users] [osgPlugins] IVE plugin crashes when saving textured geometry

2009-03-02 Thread Robert Osfield
Hi Bjarn, I haven't heard of the ive plugin crashing when writing out textured data before - almost everytime the .ive plugin writes out a model it will be with a texture assigned to it so it's a very comonly used code path, so it's a bit surprising to here of problem after so many active years of

Re: [osg-users] Problem compiling latest trunk, ffmpeg problem

2009-03-02 Thread Robert Osfield
Hi A., On Sun, Mar 1, 2009 at 3:14 AM, Alejandro Aguilar Sierra wrote: > I updated ffmpeg a month and a half ago in order to be able to encode > videos to h264, so I need that version, I can't downgrade it. It is > SVN-r17646. > > I agree on not using deprecated functions. I'll have a bash at in

Re: [osg-users] Lightning problem with camera point of view

2009-03-02 Thread Jonatan
Hi, thanks for the help, but it still is not solved. i now generate the plane using some for loops that create triangle strips, but the result is the same (even if I set the distance between vertices to 1, which creates a ground plane of 2M polygons). any other ideas? -- Read

Re: [osg-users] New ffmpeg plugin checked into svn/trunk

2009-03-02 Thread Robert Osfield
Hi Sukender, On Sat, Feb 28, 2009 at 3:06 PM, Sukender wrote: > I understand. And what about using code from osgAL for your needs? In what form? I've only briefly looked at osgAL a couple of time so don't know that code base well yet. Are you thinking of some specific classes? Robert. ___

Re: [osg-users] openscenegraph.org stats

2009-03-02 Thread Robert Osfield
Hi J-S, On Sat, Feb 28, 2009 at 3:00 PM, Jean-Sébastien Guay wrote: > Hi Robert, > >> Competing standards are a bad thing as it breaks interoperability and >> divides the market place into targeting one or other, or both >> standards. > > I understand your points, but I don't see how that's diffe