Re: [osg-users] perform a translation

2010-10-24 Thread Alberto Luaces
Cosimo Luigi Manes writes: [...] viewer.addEventHandler(new osgWidget::MouseHandler(wm)); viewer.addEventHandler(new osgWidget::KeyboardHandler(wm)); viewer.addEventHandler(new osgWidget::ResizeHandler(wm, camera)); viewer.addEventHandler(new

Re: [osg-users] Really stupid question about creating a new osg program on linux

2010-10-26 Thread Alberto Luaces
Axel Spirtaat writes: Hi aa, i know that my problem is probably really stupid, forgive me! I'm novice of C++ and i need to create a small scene with osg libraries. So i successfully installed osg-sdk on my ubuntu 9.10 by apt, downloaded the sample datasets and configured environment

Re: [osg-users] [osgPlugins] OSG Plugins

2010-11-25 Thread Alberto Luaces
Samuel Grant writes: Hi, Ok, I have completely recompilied everything. Even downloaded the 'latest and greatest'...or what I could find. I compiled libjpeg, libpng, zlib, etc. Then compilied GDAL, then OSG. Everything compiles fine. When I try to open a JPEG, I get one of two errors:

Re: [osg-users] Fullscreen dual monitor spanning

2010-11-26 Thread Alberto Luaces
Sometimes when also using TwinView it happened the same for me. As a temporal hack, I used a WindowSizeHandler, and pressed `f' two times at the start of the program. I should dive in the code to do it programmatically. Take a look at osgViewer::WindowSizeHandler::handle, maybe that

Re: [osg-users] Cygwin compile

2010-12-06 Thread Alberto Luaces
Hi J-S, Jean-Sébastien Guay writes: Hi all, I've got this thing, I like to find and fix build problems. I guess I'll have to get checked by a psychologist sometime. :-) Just for the fun of it, I tried to build OSG on Cygwin today. Has anyone tried that lately, or is anyone using a Cygwin

Re: [osg-users] Cygwin compile

2010-12-07 Thread Alberto Luaces
Hi J-S, Jean-Sébastien Guay writes: [...] Certainly you can use the win32 OpenGL library and have working executables, that is what I did in the past until I volunteered to package OSG for cygwin. I was told -- and it makes sense -- that for this library to be included into the cygwin

Re: [osg-users] Cygwin compile

2010-12-07 Thread Alberto Luaces
Hello J-S, Jean-Sébastien Guay writes: [...] I don't follow you here. What is the relationship between the cygwin compiler and the Android cross-compiler? I don't know much of Android, but my impression is that those compiler environments only share the shell and maybe other general purpose

Re: [osg-users] Problim finding font

2010-12-10 Thread Alberto Luaces
Alex (software) writes: Hi folks, I have a strange problem with loading. On my normal machine everything works find. Fonts are found where they are. (Linux 2.6.34.7-0.5-desktop openSUSE 11.3 (x86_64)) Hoever it does not work on the following machine Linux 2.6.26-1-686 Debian Lenny.

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-14 Thread Alberto Luaces
Hmmm, I see you didn't follow my advice with the WindowSizeEventHandler: // Press f key several times viewer.addEventHandler(new osgViewer::WindowSizeHandler()); -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-15 Thread Alberto Luaces
David Glenn writes: Greetings Alberto! Just for grins, I tried this on a similar example program, and other than the ability to change resolutions and go to a full single screen, I was not able to get it to span both screens! Maybe there is something in the XConfig file that I have to set

Re: [osg-users] Fullscreen dual monitor spanning

2010-12-17 Thread Alberto Luaces
David Glenn writes: Chriss10 wrote: I added eventhandler, but it doesn't work for me! It does not matter how many times I pess 'f', my application will only be shown on one screen. Can somebody help? Other ideas? I think it should be possible to span it over 2 fullscreens. Well I'll

Re: [osg-users] osg question

2010-12-27 Thread Alberto Luaces
Michael W. Hall writes: My bad. The error now states: osgversion: symbol lookup error: /usr/local/lib64/libosg.so.70: undefined symbol: _ZN11OpenThreads5MutexC1ENS0_9MutexTypeE Ideas? It seems you are mixing libraries and executables from different OSG versions. Use the ldd command with

Re: [osg-users] How can I get the bounding box of an imported model?

2010-12-28 Thread Alberto Luaces
Axel Spirtaat writes: Hi, I need to place the imported model of a table on the floor of my virtual room. Since the table is longer and wider than high, the related boundingSphere radius is really imprecise and i can't place it correctly (i use also bullet for physics). Is it possible

Re: [osg-users] Please test svn/trunk in prep for 2.9.11 dev release

2011-01-20 Thread Alberto Luaces
Hi, Wang Rui writes: Hi Robert, I've tried adding an OSGDB_EXPORT macro to the RequestQueue struct but the error still appeared. I'm a little confused, too, and don't know if this is an MinGW compiler issue. I'm doing a complete rebuild now and will report the result later. Nevertheless,

Re: [osg-users] Please test svn/trunk in prep for 2.9.11 dev release

2011-01-20 Thread Alberto Luaces
Robert Osfield writes: Hi Alberto + Rui, Thanks for the testing. I've gone ahead and checked in the addition of the OSGDB_EXPORT to the nested protected classes in the DatabasePager. Thanks Robert. Updated rebuilt succesfully. -- Alberto ___

Re: [osg-users] struct member alignment - default (ok) - 1Byte (unhandled exc...)

2011-01-25 Thread Alberto Luaces
Petr Srom writes: Hi, i have problem with struct alignment - my project include this structs: typedef struct __DSPOS__ { float x; float y; float z; float h; float p; float r; }DSPOS; typedef struct __PLAYER_POS__ { UCHAR index;

Re: [osg-users] Upgrade from 1.0.0 to 2.8.2

2011-01-26 Thread Alberto Luaces
Mike Hatcher writes: I see SceneView is deprecated. SceneView is something the app I'm working on uses. Can anyone tell me what has replaced it? Well, from include/osgUtil/SceneView: /** * SceneView is deprecated, and is now just kept for backwards compatibility. * It is recommend that

Re: [osg-users] lose texture when load 3ds or obj files

2011-01-28 Thread Alberto Luaces
Tysen Chan writes: I Load a 3ds file into osg. The file contain a model with texture. I use readNodeFile function. but when i load the file to osg ,the texture is losing. why and how to solve it. is there has example about this ? It's fine as it is. Look executing the program from a

Re: [osg-users] [ANN] OSG tutorial updated

2011-01-31 Thread Alberto Luaces
Very concise and educational, good work! -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgconv failed loading .dll

2011-01-31 Thread Alberto Luaces
Petr Srom writes: Hi, I have problem convert .flt to .ive console debug output: USING: c:\Program Files\OpenSceneGraph-2.8.3\bin\osgPlugins-2.8.2\osgdb_ive.dll dynmaic library failed loading: osgPlugins-2.8.2\osgdb_ive.dll cmd osgoconv --plugins find all .dlls in c:\Program

Re: [osg-users] Animate a human head

2011-02-01 Thread Alberto Luaces
Antonio Gal writes: Hi guys, I am just beginning to get friendly with the osg api because i want to realize an application that animates a loaded model of a human head. the head will copy the motion of a real person. well, my question is: can osg really help me ? i understand how to

Re: [osg-users] Animate a human head

2011-02-01 Thread Alberto Luaces
Antonio Gal writes: Thank you! is there a guide about osgAnimation library? Unless others can point to more resources, I think the only available documentation is the osganimation* examples themselves. Regards, -- Alberto ___ osg-users mailing

Re: [osg-users] Keyboard move camera position

2011-02-08 Thread Alberto Luaces
Nan WANG writes: Hi, I've created my 3D scene, and now I want to move camera's position in this scene, using keyboard controlling, like using some key lik A, S, W, D to move the camera... Is there any simple example of using keyboard handler? ... Take a look at

Re: [osg-users] Keyboard move camera position

2011-02-08 Thread Alberto Luaces
Nan WANG writes: hello As i am newbie in OSG. ...could you tell me how to use FirstPersonManipulator in my scene? I copied 'FirstPersonManipulator' from %SVN%\include\osgGA to my project folder, then add it in my project. then add '#include osgGA/FirstPersonManipulator' above main()

Re: [osg-users] from Node (loaded from .3ds file) to vec3Array

2011-02-17 Thread Alberto Luaces
Anthony Face writes: Hi, i would like to load a 3ds file, that point is ok i have my node* but now i need an Vec3Array from this node*, can i do it and how if possible? Hi Anthony, Depending on your purpose to get those points, several solutions exist. Can you specify? -- Alberto

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-17 Thread Alberto Luaces
GeeKer writes: Hi, guys I have installed OSG 2.8.3 using '*yum install OpenSceneGraph**'. This version works well.(osgviewer cow.osg = fps=40) But when I compiled OSG 2.8.3 myself, using './configure make', it run much slower than pre-compiled version. (fps 20) Still,

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-18 Thread Alberto Luaces
GeeKer Wang writes: I downloaded OpenSceneGraph-2.8.3-3.fc14.src.rpm. and found this in file OpenSceneGraph.spec %cmake -DBUILD_OSG_EXAMPLES=ON -DBUILD_OSG_WRAPPERS=ON -DBUILD_DOCUMENTATION=ON ../%{OSGSRCDIR} Does BUILD_OSG_WRAPPERS matter? No, it doesn't. File

Re: [osg-users] [osgPlugins] Michael Platings

2011-02-18 Thread Alberto Luaces
Josue Hernandez writes: mmm, I think what you say was what I meant when I said something about compiling the plugins, the problem is that I do not do that. I think your problem is a very common one, but we know almost nothing of your setup. I would search for the FBX plugin in the

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-18 Thread Alberto Luaces
GeeKer Wang writes: I tried cmake with -O2 instead of -O3, it's still much slower. So, how is the rpm version compiled? Try without specifying optimizations, the same way as they did with the rpm: call cmake without -DCMAKE_BUILD_TYPE in a clean directory. -- Alberto

Re: [osg-users] [osgPlugins] Michael Platings

2011-02-18 Thread Alberto Luaces
Josue Hernandez writes: ok, I installed osg according to the instructions on this page: http://dwightdesign.com/2009/05/installing-openscenegraph-280/, is osg 2.8. and i work in windows xp and check out my folder osg_plugins and find nothing of fbx Certainly; 2.8.0 is older than the first

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: I tried without optimzation: let CMAKE_BUILD_TYPE be empty. It works even worse. And I don't know why the RPM version doesn't comflict with compiz on my computer while the compiled version does. Ok, I couldn't find the build logs for 2.8.3-3.fc14 but found instead the

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: My system is i686, and I found there is no -march=i686 by default. I found this in CMakeCache.txt CMakeCache.txt://Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS CMakeCache.txt:_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS:INTERNAL=1

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-19 Thread Alberto Luaces
GeeKer Wang writes: Unfortunately, after I have add the CXXFLAG, still the compiled version runs bin/osgviewer cow.osg with fps10, while the RPM version fps40. It seems even worse than before. Did you make sure that cmake is using those flags during the build by adding VERBOSE=1 to the make

Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-02-21 Thread Alberto Luaces
GeeKer Wang writes: Yes, it's CXXFLAGS. I just misspelled it and did nothing wrong.  I configured it in ccmake and found those flags in gcc comandline.  Nothing changed anyway. I don't know what's the real reason for that. The last resort is then to compile the Fedora package yourself with

Re: [osg-users] rendering subset/subcamera views

2011-03-01 Thread Alberto Luaces
Joel Skelton writes: Hi, I'm looking for alternate ideas on how to achieve a particular result. I've figured out a couple of ways to do it but each has issues. What I'd like to end up with is a scenegraph that renders something that is sort of like a web page with a 3D rendering

Re: [osg-users] ive file format

2011-03-01 Thread Alberto Luaces
Anders olofsson writes: Hi, Is there some specification for the file format? I was thinking about using the same files I use for my meshes for collision/physics too but dont know how to parse out the triangles. There isn't, except for the code. Anyway, for parsing purposes it is easier

Re: [osg-users] [osgPlugins] Michael Platings

2011-03-03 Thread Alberto Luaces
Josue Hernandez writes: to make it clear, i follow the instructions of the dwight page, but use the binares of osg 2.8.3 and i copy the .dll of fbx that i gererated with the .sln you toldme to compile You can't mix versions like that! Use only the OSG you compiled (binaries + plugins). --

[osg-users] FBX plugin use (was: [osgPlugins] Michael Platings)

2011-03-04 Thread Alberto Luaces
Josue Hernandez writes: i dont mix the versions, i just said that i route the path to the adress of osg 2.8.3. but wherever, let's star again: after that i compile the .sln that genered the cmake, what next? Throw a FBX file to osganimationviewer. P.S.: Dont't mix the versions! -- Alberto

Re: [osg-users] [forum] HOW TO ADD CUSTOM COLOURS TO THE MODEL

2011-03-08 Thread Alberto Luaces
Nagore Barrena writes: Hi, I'm working in Windows XP with Osg-2.8.2. I use Catia to generate my 3d models. The only possibility to save the model in Catia and then to load it right in osg is to save the model in .stl extension. But when I save the model using this extension the model

Re: [osg-users] Missing textures with osgexport

2011-03-09 Thread Alberto Luaces
Hello all. Today, I downloaded Cedric Pinson's osgexport script (and I've pulled the latest version from the mercurial repo). I made a simple scene, consisting only a plane. I UV-mapped the plane, and exported it to a .osg file. Then loaded this into osgviewer, and the plane was there, but

Re: [osg-users] Missing textures with osgexport

2011-03-09 Thread Alberto Luaces
Okay, sorry for replying to my own message, but I've played with the material settings a bit, and now the texture shows up in osgviewer, but completely ignoring the uv-coordinates, and the plane is double sided, even if I made it one sided in Blender. The situation is the same if I make a

Re: [osg-users] [osgPlugins] Michael Platings

2011-03-10 Thread Alberto Luaces
Mourad Boufarguine writes: Hi Josue, Just a quick note. When using osg::ref_ptr, you should test for escena.valid() to know whether the file was loaded or not. if (!escena.valid()){ coutNo estoy leyendoendl; exit(0);} I think (!escena) is fine: bool

Re: [osg-users] Missing textures with osgexport

2011-03-10 Thread Alberto Luaces
Thanks for the examples. Now the textures are working fine, but I still can't solve the problem with the double-sided plane (I get the same result with your sample file as well), and the box with the flipped normals. It must be supported by OSG, since one of the exaples (osglight) uses a

Re: [osg-users] G++ version problem

2011-03-31 Thread Alberto Luaces
Grahame Bowland writes: Hi all I'm shipping a version of OpenSceneGraph to users which has been compiled with G++ 4.4.3. I've also compiled my app with this version of G++. I'm now compiling the same OpenSceneGraph source code (2.8.2-rc4) with g ++ 4.5.2. Running my g++ 4.4.3 compiled

Re: [osg-users] Y up to Z up

2011-03-31 Thread Alberto Luaces
Aitor Ardanza writes: What I have to do to swap the Z and Y axes? multiply that by the matrix C? C = 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 That would swap, but also invert some axis (det C = -1). Not sure if that is your intention. -- Alberto

Re: [osg-users] G++ version problem

2011-03-31 Thread Alberto Luaces
Melanie Presa writes: I'm just worried incase I get so far down the line with my application, need to use a 3rd party library which won't work with the compiler Qt requires. Looks like I might have some flexibility in updating it then... Well, the first thing is to check that both builds of

Re: [osg-users] [build] Cross Compile OpenThreads

2011-03-31 Thread Alberto Luaces
Peter Watson writes: Hi, How can I cross compile OpenThreads for a different platform? Use a toolchain file. I do this for cross-compiling OSG with mingw from Debian Linux: http://www.itk.org/Wiki/CMake_Cross_Compiling As part of this - how can I compile the OpenThreads module

Re: [osg-users] OSG Ogre

2011-03-31 Thread Alberto Luaces
HAMAD Moez writes: Hello, I am Masters Student and as part of my master thesis I have to connect two applications each using a different open source graphics rendering i.e. OSG and Ogre. If you have any idea I would be very grateful Be more specific, please. In what way are those

Re: [osg-users] G++ version problem

2011-04-01 Thread Alberto Luaces
Robert Osfield writes: Hi Grahame, On Fri, Apr 1, 2011 at 4:20 AM, Grahame Bowland grah...@fugro-fsi.com.au wrote: Thanks very much, that was it! gcc-4.4.3 was failing the _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS test, which succeeded for 4.5.2. That changed the Atomic header file, which

Re: [osg-users] G++ version problem

2011-04-04 Thread Alberto Luaces
Hi Mathias, Grahame, Mathias Fröhlich writes: Good morning, On Monday 04 April 2011, Grahame Bowland wrote: `__sync_bool_compare_and_swap_4' src.cxx:(.text+0x78): undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status gmake[1]: *** [cmTryCompileExec]

Re: [osg-users] [build] Cross Compile OpenThreads

2011-04-04 Thread Alberto Luaces
Hi Peter, Peter Watson writes: Hi, Thanks for that information, I have got a bit further now with the help of your link. I used ccmake to configure the CMakeLists.txt. I find that I can cross compile OpenThreads but not the rest of the OSG, which is as you suggest. Our code includes from

Re: [osg-users] Osg issue

2011-04-07 Thread Alberto Luaces
Michael Hall writes: I have compiled ash on my laptop. It is running Ubuntu 10.10 X64. OSG compiles and installs. When I run osgversion from my home dir I get an error about an undefined symbol. If I go to/use/local/lib64 and run osgversion, it works. Can someone tell me what is missing?

Re: [osg-users] Osg issue

2011-04-11 Thread Alberto Luaces
Michael W. Hall writes: I type osgversion. Then you have two items left to check. On Thu, 2011-04-07 at 15:56 +0200, Alberto Luaces wrote: Michael Hall writes: I have compiled ash on my laptop. It is running Ubuntu 10.10 X64. OSG compiles and installs. When I run osgversion from my

Re: [osg-users] [osgPlugins] osgAnimation Update

2011-05-05 Thread Alberto Luaces
Garrett Cope writes: Am I correct that invBindMatrixInSkeletonSpace is the rotation from the bone to the skeleton root rather than the previous bone as in earlier versions of osgAnimation? Yes, I think you are, by looking for example at the compute function in

Re: [osg-users] Compile osg in 32 Bit

2011-05-05 Thread Alberto Luaces
Martin Haffner writes: I know you can force the compiler to create 32 bit binaries per flag -m32 but I don't know how to tell osg to compile into 32 Bit. That's it! But please note that you also need the 32 bit version of the libraries used as a dependency for OSG. -- Alberto

Re: [osg-users] Compile osg in 32 Bit

2011-05-05 Thread Alberto Luaces
Martin Haffner writes: Hi, Ok, I modified the CMAKE_CXX_FLAGS line in CMakeCache.txt to this line: CMAKE_CXX_FLAGS:STRING=-m32 Then I call CMake and it also generates a Makefile. I searched in the whole Makefile but there is no m32 flag! Did I miss something? It seems cmake bundles the

Re: [osg-users] Compile osg in 32 Bit

2011-05-06 Thread Alberto Luaces
Martin Haffner writes: Hi, Unfortunately there is no file flags.make in my OpenSceneGraph folder:/ Not in the OSG source folder, but in your build folder. Anyway, just compile with the VERBOSE environment variable to see how it is going. -- Alberto

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Alberto Luaces
Andrew McLean writes: Hi, Build fails with this error: OpenSceneGraph-2.8.3/src/osgPlugins/svg/ReaderWriterSVG.cpp:25:34: fatal error: librsvg/rsvg.h: No such file or directory even though rsvg.h is installed. I understand from the README that there is a specific problem on 64-bit Linux:

Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?

2011-05-10 Thread Alberto Luaces
Andrew McLean writes: Yes I have installed it - that's what I meant when I said rsvg.h is installed. Then it is not under the requested directory -- librsvg-2. I am building on 64-bit, so I deduce that the README.txt does apply. But that README talks about the osgdb_qt plugin and the

Re: [osg-users] [build] 2.9.14 and trunk problems on lubuntu 11.04+lxde+nvidia

2011-05-26 Thread Alberto Luaces
Roman Grigoriev writes: I tested developer releases so starting from 2.9.12 this thing happens my config g++4.5.2 and tested with 260 270 and even beta 275 drivers on quadro 4200m and nvidia ion2 and 8600mgt It happened to me just once yesterday, the rest of the time worked fine. I'm running

Re: [osg-users] X11 cursor setting - Single- vs Multithread

2011-05-26 Thread Alberto Luaces
J.P. Delport writes: Can anyone on Linux check if the same happens for them? Also let me know your OSG version. I happens the same for me (always blocks or segfaults in several ways) if I don't use --SingleThreaded. OSG version 2.9.14. -- Alberto

Re: [osg-users] osgexport for blender?

2011-05-27 Thread Alberto Luaces
Hi, what is the usage of the script? I guess it is not run from Blender, because of the commented out line importing the osggui module. I have tried to do the same as the 2.4x exporter from the command line, ${blender_exec} -b ${model} -P ${path_to_osgexport.py} --osg=filename=name.osg but it

Re: [osg-users] osgexport for blender?

2011-05-27 Thread Alberto Luaces
Damyon, Damyon Wiese writes: Hi Alberto, The script is for using within blender. Copy the files from the blenderExporter directory to your blender scripts folder. I'm on linux so my folder is at: ~/.blender/2.57/scripts/addons/ Then when you open blender you will need to enable the

Re: [osg-users] osgexport for blender?

2011-05-30 Thread Alberto Luaces
Damyon Wiese writes: Hi Amigoface, Sorry - I think this commit to blender changed one of the import paths. http://comments.gmane.org/gmane.comp.video.blender.scm/22522 Ie - my blender auto updated and I had to change one of the import paths to make the script work - but obviously that

Re: [osg-users] [osgPlugins] Export Blender to OSG

2011-05-30 Thread Alberto Luaces
aaron wetzler writes: Hi, I have the following task to do: 1. Import a mesh of a hand (.obj) into blender. Create an armature in Blender 2. Skin the armature with the hand mesh. 3. Export this armature and mesh into OSG. 4. Alter the armature poses in OSG and output a set of jpgs or bmps

Re: [osg-users] [osgPlugins] Export Blender to OSG

2011-05-30 Thread Alberto Luaces
aaron wetzler writes: Hi Alberto You are right. I found the osgExport and osgAnimation. Im currently really stuck on the osgExport though and would really like to be able to find a version of blender and a version of osgExport that work together. Do you have any experience with this? Do

Re: [osg-users] Jabber and/or OpenSceneGraph IRC

2011-06-16 Thread Alberto Luaces
Hi Jeremy, Jeremy Moles writes: Hey, I just wanted to remind all of you lovely individuals that we have an IRC channel on Freenode. I know a lot of professional coders simply don't have the time or inclination for this kind of thing, but nothing would make me happier than to have real-time

Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!

2011-06-17 Thread Alberto Luaces
Hi Robert, rev 12547 breaks the build when using ffmpeg 0.5.x (mine is 0.5.2-6). The pixdesc.h header doesn't exist and neither the function av_get_pix_fmt: src/osgPlugins/ffmpeg/FFmpegParameters.cpp:38: error: ‘av_get_pix_fmt’ was not declared in this scope Reverting those changes makes the

Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!

2011-06-17 Thread Alberto Luaces
Hi Robert, Robert Osfield writes: HI Alberto, On Fri, Jun 17, 2011 at 9:15 AM, Alberto Luaces alua...@udc.es wrote: rev 12547 breaks the build when using ffmpeg 0.5.x (mine is 0.5.2-6). The pixdesc.h header doesn't exist and neither the function av_get_pix_fmt: src/osgPlugins/ffmpeg

Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!

2011-06-17 Thread Alberto Luaces
Robert Osfield writes: Hi Alberto, Thanks for the detective work. What I have gone for is: #if LIBAVCODEC_VERSION_MAJOR = 53 || \ (LIBAVCODEC_VERSION_MAJOR==52 LIBAVCODEC_VERSION_MINOR=49) #include pixdesc.h inline PixelFormat osg_av_get_pix_fmt(const char *name) { return

Re: [osg-users] Hello OSG

2011-07-05 Thread Alberto Luaces
Donn Washburn writes: This is my first time to join in on OSGs email. The main purpose was to notify of a error I am getting on a SVN version on two different OS versions. It shows up on ffmpeg/FFmpegDecoder.cpp which is at about 99% and states depreciated causing OSG to fail. I do have

Re: [osg-users] Hello OSG

2011-07-05 Thread Alberto Luaces
Donn Washburn writes: OpenSuSE 12.1 rc2 and A very current CVS/GIT version of ffmpeg. Because openSuSE version of devel. was not being found. Do you require the ffmpeg plugin? If not, you could blank out the ffmpeg entries in CMake in order for it not to get compiled and finish the build. --

Re: [osg-users] How do I get osgviewer on Cygwin to compile with -lX11 -lXrandr

2011-07-06 Thread Alberto Luaces
Hi Brian, Brian Keener writes: [...] My question(s) is/are where do I find the logic that dictates during the Cmake configure what libs to include and in what files will I find this when the generate finishes. I would like to tweak this so the cmake configure and generate for cygwin was

Re: [osg-users] X11 cursor setting - Single- vs Multithread

2011-07-12 Thread Alberto Luaces
Hi David, David Guthrie writes: X11 is not thread safe and requires some locking, but osg doesn't seem to do any of that. Has no one seen this problem? OSG calls XInitThreads(), see src/osgViewer/GraphicsWindowX11.cpp:1911. Nevertheless, I don't know if this is enough, as the manpage

Re: [osg-users] X11 cursor setting - Single- vs Multithread

2011-07-12 Thread Alberto Luaces
David Guthrie writes: Hmm, it's if 0 out in 2.8. I'm not using 3.0 yet. Does 3.0 have it enabled. Oh, yes, you are right. It's disabled here too. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Unit of preMult-(osg::Matrix::Translate(osg::Vec3(x, y, z)

2011-07-19 Thread Alberto Luaces
Nagore Barrena writes: Hi, I'm rendering new 3d models using OSG. In translate fuction (preMult-(osg::Matrix::translate(osg::Vec3(x,y,z)) What unit are x, y and z? There are metres, milimetres, pixels? Thanks in advance! Cheers, Nagore Hi Nagore, OSG does not do any modification to

Re: [osg-users] Moving skinned mesh by manually transforming the bones.

2011-07-28 Thread Alberto Luaces
George Bekos writes: Hello OSGers! The last days I am playing with osgAnimation in order to implement something. I managed to make something work like I want it to but I don't know if this is the right approach or not. I will describe my problem and then I will describe my solution. I

Re: [osg-users] ffmpeg version to use ???

2012-11-13 Thread Alberto Luaces
Carlos Sanches writes: Hello ! I d like to know what version of ffmpeg I have to use to compile osg 3.0.1  in linux ? Thanks Hi, OSG 3.0.1 and ffmpeg 0.8.4 work with this tiny patch: https://alioth.debian.org/scm/browser.php?group_id=100578 or you could just upgrade to the latest

Re: [osg-users] ffmpeg version to use ??? (Alberto Luaces)

2012-11-14 Thread Alberto Luaces
Sid Boyce writes: On 13/11/12 20:04, osg-users-requ...@lists.openscenegraph.org wrote: [...] With the latest svn checkout of 3.0.1. Scanning dependencies of target osgdb_xine [ 43%] Building C object src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o

Re: [osg-users] Drawing a pipe

2012-11-26 Thread Alberto Luaces
Tufan Taş writes: Hi, I want to draw a cylinder with a gap in it. In other words I want to draw a shape like a pipe. I googled but cannot find anything about it. Anyone knows how to do it? Thank you! Hi Tufan, this topic showed up some time ago:

Re: [osg-users] Model Matrix in Vertex Shader

2012-12-20 Thread Alberto Luaces
Christian Buchner writes: Is there one definitive list that explains all the built-in osg uniforms? This one would have come handy earlier, but I did not know about it. Take a look at Mike Weiblen's GLSL cheatsheet, although it could be outdated: http://mew.cx/glsl_quickref.pdf -- Alberto

Re: [osg-users] Build Error

2013-01-04 Thread Alberto Luaces
Mohamed Alji writes: Hi, I have this build error please that's STOP the make of OpenSceneGraph Quote:

Re: [osg-users] osgQt rendering issues with NVIDIA 304.88 drivers and Ubuntu 12.04 (kernel 3.2.0-40-generic)

2013-04-19 Thread Alberto Luaces
Bastian Rieck writes: Dear list, after the most recent update of our NVIDIA drivers (going from 295.40 to 304.88) under Ubuntu 12.04 (with kernel 3.2.0-40-generic), we experience rendering issues with osgQt bindings: After some time passes, the osgViewer widgets simply *stops*

Re: [osg-users] Raspberry pi

2013-05-13 Thread Alberto Luaces
Hi Bruno, Bruno Ronzani writes: This example (nothing to do with OSG) works quite well, without X11 : https://bitbucket.org/benedek/rpi-simple-paramplot/overview I wonder if one can still rely on X11 for input event handling or if it is required to be done without X as well. -- Alberto

[osg-users] osgWidget for drawing control panels

2013-09-10 Thread Alberto Luaces
Hi, I am in the process of creating a control panel for a simulator, using osgWidget for drawing the controls. I want to draw a turning knob, but it is not very clear how to specify the origin for the rotation of the widget. By default, all the widgets rotate over (0, 0), that is, their

Re: [osg-users] osgWidget for drawing control panels

2013-09-12 Thread Alberto Luaces
Alberto Luaces writes: Hi, I am in the process of creating a control panel for a simulator, using osgWidget for drawing the controls. I want to draw a turning knob, but it is not very clear how to specify the origin for the rotation of the widget. By default, all the widgets rotate over

Re: [osg-users] Scale model node to specific size

2013-09-12 Thread Alberto Luaces
Zev Lix writes: Hi, I wonder if there is a way of scaling a model to a specific size? So if i have two models that have different sizes when loaded into osg, i want to scale these two models so that they have the same lenght or width. Example if i have two models of cars they should both

[osg-users] The resize event from the window creation cannot be handled

2013-09-16 Thread Alberto Luaces
Hi, I need to know the dimensions of the window OSG creates because I have to adapt the GUI of my program to the proportions of the view. An elegant way of doing it is to capture the RESIZE events in order to get the current dimensions of the window. However, at window creation OSG creates the

Re: [osg-users] The resize event from the window creation cannot be handled

2013-09-16 Thread Alberto Luaces
the window dimensions to the window, osgGA::GUIEventAdapter attaches the pointer to the window that created it. Robert. On 16 September 2013 16:57, Alberto Luaces alua...@udc.es wrote: Hi, I need to know the dimensions of the window OSG creates because I have to adapt

Re: [osg-users] The resize event from the window creation cannot be handled

2013-09-16 Thread Alberto Luaces
Alberto Luaces writes: Maybe it is removed on purpose, but I couldn't spot where in the code it is done. I have discovered that osgViewer::Viewer::realize calls setStartTick(), which in turns clears the event queue, because the time stamps from previous events would be then incorrect

Re: [osg-users] Version numbers in dynamic libraries

2013-09-26 Thread Alberto Luaces
Tony Vasile writes: Hi, Tried setting the values on the command line and the applications that are built still refer to the .so.80 version of the dynamic library. Any other suggestions? You have to rebuild everything —OSG and your program— from scratch. Nevertheless, I wonder why you would

Re: [osg-users] Virtual simulation of CNC machine - problem with intersections and setMatrix() probably

2013-10-03 Thread Alberto Luaces
Peter Bako writes: Hello guys, [...] I assume that there can be a problem with intersection - is it possible that I get an intersection from a frame before? I found out that If I make faster movements, the jumping is bigger. Or can it be maybe caused by multitreading? I don't know the

Re: [osg-users] Virtual simulation of CNC machine - problem with intersections and setMatrix() probably

2013-10-03 Thread Alberto Luaces
Peter Bako writes: Hello again. My assumptions were correct: here is a list of points [...] so the intersections are calculated wrong. In the rendering it seems to be OK, but the real intersection point is got from a different place. It can be also an input issue. Could you check that

Re: [osg-users] undefined reference to typeinfo for 'osgViewer::GraphicsWindowX11'

2013-10-16 Thread Alberto Luaces
Hi, Sajjadul Islam writes: Hi Forum, I think this is one of the most common linking error you usually get, but i could not find the reason behind it. Code: Linking CXX executable ../../../bin/osgOpenCLEndiannessDemod ../../../lib/libosgOpenCLd.so: undefined reference to `typeinfo for

Re: [osg-users] Periscope or telescope

2013-10-29 Thread Alberto Luaces
Tony Vasile writes: Hi, Does anyone have an example of seeing the world through a telescope or a periscope? That is you have most of the screen black and a small view port which tracks the camera and can used to see object in the scene. Hi Tony, just use a regular camera and a texture for

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
Abhishek Bansal writes: Hi, I am trying to develop a plugin which loads IGES file. I am getting Indexed triangle list using OpenCascade. I am using osgUtil::smoother to calculate normals. on final mesh. My problem is that i get proper normals in OSG 3.0.1. But in OpenSceneGraph 2.9.12 i

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
Abhishek Bansal writes: Hi, Thank You for your reply ! But the issue is thst I am creating a plugin for one proprietary SDK based on OSG. I dont have access to source code of OSG they are using. I built my plugin with binaries provided by them and OSG 3.0.1. Then you can copy the

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
Abhishek Bansal writes: Then you can copy the SmoothingVisitor source code from 3.0.1 into your plugin in order to use that non-faulty code. Yes ! I will try to do that and let you know of the results. But as i said I also tried with manual normal calculations they are also not

Re: [osg-users] util::Smoother not working with 2.9.12 while its working with 3.0.1

2013-11-19 Thread Alberto Luaces
Abhishek Bansal writes: If I add _SECURE_SCL=0 to preprocessor definitions in VS2008 it works fine for osg 2.9.12 also. I dont understand the problem :( This sounds like a mix of release and debug versions of the library, or different runtimes from different compiler versions... definitely

[osg-users] Wrong size of osgWidgets before resizing (was: wrong graphics after removing geometry deprecated methods)

2013-11-22 Thread Alberto Luaces
Gianni Ambrosio writes: Now, if I run my application without resizing the viewer widget and I insert an osgWidget::Window to the osgWidget::WindowManager I can see it stretched to a small size. Then I resize the viewer interactively, the code falls into the handled resizeEvent and the

<    1   2   3   4   5   6   >