Re: [osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

2017-05-16 Thread Mourad Boufarguine
::configureAffinity() numProcessors=8 databasePagers = 1 Cheers, Mourad On Mon, May 15, 2017 at 3:56 PM, Robert Osfield wrote: > Hi Mourad, > > On 15 May 2017 at 14:52, Mourad Boufarguine > wrote: > > You're right we need both : > > > > COLLADA_BOOST_BUILDNAME : to fo

Re: [osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

2017-05-15 Thread Mourad Boufarguine
i Mourad, > > On 15 May 2017 at 14:16, Mourad Boufarguine > wrote: > > You are missing the ending 0s. > > I was just following Torben's usage, if we add back the 0's then the > search names would change. I presume this is why Torben introduced > using two variable

Re: [osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

2017-05-15 Thread Mourad Boufarguine
You are missing the ending 0s. By the way the MSVCXX vars are discouraged (there is no var defined starting from Visual 2017), MSVC_VERSION is the recommended way now : https://cmake.org/cmake/help/v3.8/variable/MSVC14.html?highlight=msvc14 IF(APPLE) SET(COLLADA_BUILDNAME "mac") ELSEIF(MINGW)

Re: [osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

2017-05-15 Thread Mourad Boufarguine
, Robert Osfield wrote: > Hi Mourad, > > On 15 May 2017 at 12:58, Mourad Boufarguine > wrote: > > CMAKE_VS_PLATFORM_TOOLSET is not set unless the user explicitely > specifies a > > toolset when invoking cmake : > > > > cmake -G "Visual Studio XX" -T

Re: [osg-users] Call for testing, preparing for 3.5.6 dev release again :-)

2017-05-15 Thread Mourad Boufarguine
Hi Robert, CMAKE_VS_PLATFORM_TOOLSET is not set unless the user explicitely specifies a toolset when invoking cmake : cmake -G "Visual Studio XX" -T v1YY srcDir If the user does not specify a toolset, the default toolset of the chosen Visual Studio version will be used, but the CMAKE_VS_PLATFORM

Re: [osg-users] Installation Problems.VS10 - unresolved external symbol

2012-01-12 Thread Mourad Boufarguine
Hi, Are you building your project in 64bit too ? Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] VS2010 64bit compile problem

2012-01-04 Thread Mourad Boufarguine
Hi, On Wed, Jan 4, 2012 at 10:52 AM, Peter Bako wrote: > Hi, > > I get errors, when I try to compile my project on visual studio for 64bit > platform. Before on ANYCPU configurations I had no problems. The error which > I get is > >  variable "WINGDIAPI" is not a type name > c:\program files (x

Re: [osg-users] Getting Started - VS2010

2011-11-21 Thread Mourad Boufarguine
On Mon, Nov 21, 2011 at 3:24 PM, Markus Kahl wrote: > Hey, > > I've downloaded the 64-bit binaries (3.0.1). > Regards, > Markus But you are compiling your program in 32bit. So, either download the 32bit packages or build your program in 64bit. Mourad

Re: [osg-users] Getting Started - VS2010

2011-11-21 Thread Mourad Boufarguine
Hi, On Mon, Nov 21, 2011 at 12:03 AM, Markus Kahl wrote: > Hey, > > I've actually downloaded those pre-compiled binaries and have tried it with > those all the time. > I want to do something on my own and start working with one of the examples > the basis. > Regards, > Markus > 2011/11/20 Chris '

Re: [osg-users] [build] Problem with building OSG for Android GLES2.0

2011-09-13 Thread Mourad Boufarguine
On Mon, Sep 12, 2011 at 11:51 AM, Marc Sticksen wrote: > Hi, > > I´m trying to build OSG for Android with GLES2.0. > > My cmake line looks like this: > > > Code: > cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF > -DDYNAMIC_OPENSCENEGRAPH=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OF

Re: [osg-users] Video texture on OSG

2011-08-20 Thread Mourad Boufarguine
Hi Josh, On Sat, Aug 20, 2011 at 3:04 PM, Josh Jung wrote: > Hi, > > I have been looking through many forums about having a video on OSG so i > can use that as Augmented Reality Marker. > > ive dowloaded Quicktime DSK, C Maker, OSGART > they are too much to understand what i should do. > > A

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Riccardo, On Thu, Aug 11, 2011 at 1:59 PM, Riccardo Corsi wrote: > Hi Mourad and all, > > I've succesfully built osg_3.0.1 on Windows with Cygwin (without 3rd party > plugins for now). > > I'm now trying to build the osgAndroidExampleGLES1, and everything > compiles, but the linker (ld) throws

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
On Thu, Aug 11, 2011 at 1:09 PM, Mourad Boufarguine < mourad.boufargu...@gmail.com> wrote: > Hi Hector, > > 2011/8/11 Héctor Martínez > >> Thank you Mourad and Jorge. >> >> ** ** >> >> I have never used CygWin and I am trying to follow those

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Hector, 2011/8/11 Héctor Martínez > Thank you Mourad and Jorge. > > ** ** > > I have never used CygWin and I am trying to follow those instructions: > > ** ** > > > http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Cygwin > Those are for building OSG with cygw

Re: [osg-users] OSG for Android

2011-08-10 Thread Mourad Boufarguine
Hi Hector, 2011/8/10 Héctor Martínez > Thank you for the response. I am having some problems with the MINGW/MSYS > make. Here is the problem: > You have to use Cygwin not MinGW/MSYS on windows to develop with android ndk. Mourad ___ osg-users mailing

Re: [osg-users] OSG for Android

2011-08-08 Thread Mourad Boufarguine
2011/8/8 Héctor Martínez > Hi Jorge, > > ** ** > > thank you for your response! You were right, it works with command line. > But now I have new problems: > > ** ** > > **- **It doesn´t find some plugins (jpg, png… etc). > > **- **When trying to build the solution I

Re: [osg-users] osgAndroidExampleGLES1 crashed

2011-07-08 Thread Mourad Boufarguine
Hi Anurag, AFAIK Android emulator does not support OpenGL ES, so the Android osg examples won't run on it. Cheers, Mourad Le 8 juil. 2011 17:08, "anurag mairal" a écrit : > Sir I have build osg on android with osg3.0.0 > tried to run example program osgAndroidExampleGLES1 on emulator get error >

Re: [osg-users] ffmpeg plugin

2011-07-07 Thread Mourad Boufarguine
On Fri, Jul 8, 2011 at 1:58 AM, He, Yefei wrote: > Hi, Folks, > >It's been a while since I updated my OSG files. Today I checked out the > latest SVN release and tried to use CMake to configure for Visual Studio > 2010 64-bit build. I downloaded the 64-bit FFMPEG packages (from July 4th > 201

Re: [osg-users] [build] Compile error in Plugins dicom on Win 64bit

2011-06-15 Thread Mourad Boufarguine
Hi Bob, I am not familiar with DCMTK. I am going just to make some general comments. 1>osgDB.lib(osg77-osgDB.dll) : error LNK2005: "public: void __cdecl > std::basic_ifstream >::`vbase > destructor'(void)" (??_D?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXXZ) > already defined in dcmimgle.l

Re: [osg-users] [osgPlugins] OSG 2.9.16.77 fbx 2012.1 compile issue

2011-06-15 Thread Mourad Boufarguine
On Wed, Jun 15, 2011 at 12:08 PM, Aitor Ardanza wrote: > But I want to maintain 32bit system and I'm compiling OSG with Win32 > system... > >I'm trying to compile OSG 2.9.16.77 SVN with FBX 2012.1 >on Win7 x64 using Visual Studio 2008. Sorry, i thought you are building osg in 64bit. > FBX-lib:

Re: [osg-users] [osgPlugins] OSG 2.9.16.77 fbx 2012.1 compile issue

2011-06-15 Thread Mourad Boufarguine
Hi Aitor, On Wed, Jun 15, 2011 at 11:53 AM, Aitor Ardanza wrote: > Hi, > > I'm trying to compile OSG 2.9.16.77 SVN with FBX 2012.1 > on Win7 x64 using Visual Studio 2008. > > FBX-Include: C:/Program Files/Autodesk/FBX/FbxSdk/2012.1/include > FBX-lib: C:/Program > Files/Autodesk/FBX/FbxSdk/2012.1/

Re: [osg-users] osgDB ifstream / ofstream conflict

2011-04-20 Thread Mourad Boufarguine
Hi Vincent, On Mon, Apr 4, 2011 at 4:36 PM, Vincent Bourdier wrote: > 2>TsLib_MDdNET2010.lib(IwPoly.obj) : error LNK2005: "public: void > __thiscall std::basic_ifstream > >::close(void)" (?close@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXXZ) > already defined in osgDBd.lib(osg65-osgDBd.dl

Re: [osg-users] how to change the page content http://www.openscenegraph.org/projects/osg/wiki/Screenshots/...... ?

2011-04-08 Thread Mourad Boufarguine
Thank you. > > But the page "Create a Wiki user account" does not work: ( > > (http://www.openscenegraph.org/projects/osg/prefs/account) > > yeh, i saw that. it used to work. Jose Luis is the only one that can help, he doesn't read regularily the mailing list, so send him an email. Mourad

Re: [osg-users] how to change the page content http://www.openscenegraph.org/projects/osg/wiki/Screenshots/...... ?

2011-04-08 Thread Mourad Boufarguine
Hi Maxim, You should email the server admin to get a wiki account. http://www.openscenegraph.org/projects/osg/wiki/About/WikiEditing Mourad 2011/4/8 Maxim Gammer > Hi all. > > how to change the page > content?http://www.openscenegraph.org/projects/osg/wiki/Screenshots/ > .. > > how to g

Re: [osg-users] Methods definition problem passing 2.8.3 -> 2.9.12

2011-03-31 Thread Mourad Boufarguine
Hi Dario, i think this was discussed here http://forum.openscenegraph.org/viewtopic.php?p=36583 Mourad On Thu, Mar 31, 2011 at 2:54 PM, Dario Minieri wrote: > Hi, > > I was trying to compile some of my projects based on OSG 2.8.3 using > 2.9.12. I'm getting these errors: > > Rend.cpp: In

Re: [osg-users] fbx animation

2011-03-23 Thread Mourad Boufarguine
Hi Josue, take a look at osganimationviewer example. Mourad On Wed, Mar 23, 2011 at 5:48 PM, Josue Hernandez wrote: > Hi, everybody: > > anyone know how to activate an animation. fbx? > > ... > > Thank you! > > Cheers, > Josue > > -- > Read this topic online here: > http://for

Re: [osg-users] [osg-submissions] Android Development Plans

2011-03-10 Thread Mourad Boufarguine
Hi all, I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). For the moment I only compi

Re: [osg-users] [osgPlugins] FBX load problems

2011-03-09 Thread Mourad Boufarguine
Hi Josue, When using osg::ref_ptr, you should test for escena.valid() to know whether the file was loaded or not. if (!escena.valid()){ cout<<"No estoy leyendo"< wrote: > Hi, for some reason I do not understand i can load fbx files, this is my > code > > ... > // Inclusi'on de ca

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

2011-03-09 Thread Mourad Boufarguine
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()){ cout<<"No estoy leyendo"< wrote: > hi again, well, the osg is running now, i can compile osg priyects, but i > still have prob

Re: [osg-users] How to do a videostreaming

2011-02-24 Thread Mourad Boufarguine
> > > > My case is the second one. I want to stream osg rendered frames over > network. > > So, I have to install ffmpeg libs. But, Must I install Live555? Or if I use > ffmpeg it will be enought? What is your recomendation? > > Hi, Ok, it is more clear now. Well, it should be possible to use only

Re: [osg-users] How to do a videostreaming

2011-02-24 Thread Mourad Boufarguine
Hi Nagore, You can get prebuilt ffpmeg libs for Windows here http://ffmpeg.arrozcru.org/autobuilds/. Your question is not clear : do you want to read and render video streams in osg or do you want to stream osg rendered frames over network ? The first can be done using ffmpeg or directshow plugi

Re: [osg-users] [build] OSGbin 2.9.9 v. 2.9.11

2011-02-23 Thread Mourad Boufarguine
Hi Neil, I can't see what is your problem ? OSG contains the core libraries and nodekits ( Openthreads, osg, osgDB, osgGA, osgFX, osgViewer, etc...) wich will give the versioned dlls in bin folder (osg71-osg.dll --> osg library ; osg71-osgGA.dll --> osgGA library ; etc ...) and plugins for loading

Re: [osg-users] How to change a texture in a imported OSG file?

2011-02-22 Thread Mourad Boufarguine
> > That's working!!! Finally! :D > I installed the ffmpeg plugin and loaded the movie with .mov.ffmpeg > extension. As you said before, the code is correct... only a plugin > problem. > Only the audio is not playing... but that's no much

Re: [osg-users] How to change a texture in a imported OSG file?

2011-02-17 Thread Mourad Boufarguine
Hi Almir, You can open the osg file with a text editor and check the texture unit. Can you also check if it is a Texture2D or TextureRectangle ? Mourad On Thu, Feb 17, 2011 at 3:43 AM, Almir Brazil wrote: > Hi hybr! > > I can feel that I'm getting close. > > I've done all what you say.. the

Re: [osg-users] [ANN] MS Kinect - official drivers available

2011-02-10 Thread Mourad Boufarguine
Hi, I came across an OpenNI middleware called FAAST (Flexible Action and Articulated Skeleton Toolkit) which includes a custom VRPN server to stream the user's skeleton over a network (wich can be integrated into an osg application using osgVRPN nodekit). It also emulate keyboard and mouse input t

Re: [osg-users] Linker error during execution

2011-01-28 Thread Mourad Boufarguine
Hi Mukund, I do not see the vcproj file. I think it is a problem in the config rather than in the code itself. Mourad On Fri, Jan 28, 2011 at 12:49 PM, Mukund Keshav wrote: > Hi Mourad, > > Thanks for the reply. i have attached the project file and the source file. > > ... > > Hi Shayne >

Re: [osg-users] Linker error during execution

2011-01-27 Thread Mourad Boufarguine
Hi Mukund, Could you send your vcproj file ? Mourad On Thu, Jan 27, 2011 at 10:06 PM, Mukund Keshav wrote: > Hello everyone, > > i tried executing the very first tutorial provided in the OSG website(basic > geometry.cpp). Well i got this error:(a link error) > > error LNK2019: unresolved ext

Re: [osg-users] Trouble trying to integrate Osg in a Wpf Application using HwndHost

2011-01-25 Thread Mourad Boufarguine
On Tue, Jan 25, 2011 at 11:39 AM, Chris Corn wrote: > Hi, > It's been 3 days that I'm trying to integrate Osg inside a Wpf Application. > I would like to integrate an osgviewer using a class that extends HwndHost > (defined in System.Windows.Runtime.InteropServices) as shown in an article > attach

Re: [osg-users] How to build OSG using Eclipse CDT on Linux *in debug mode*?

2011-01-23 Thread Mourad Boufarguine
Hi Enzo, In cmake-gui, set CMAKE_BUILD_TYPE to Debug. Mourad On Sun, Jan 23, 2011 at 3:50 PM, Enzo Miopalmo wrote: > Hi, > > I used cmake-gui to generate Eclipse CDT4 makefiles. No problem then > building OSG and running the osggeometry sample. > > However, whenever I try to debug a sample (I p

Re: [osg-users] [osgPlugins] Could not find plugin to read object from the file..

2011-01-13 Thread Mourad Boufarguine
Hi Karthik, Did you build osg yourself ? are there osgdb_png(d).dll and osgdb_jpeg(d).dll in /bin/osgPlugins-2.9.6 ? are the png, jpeg and zlib dlls in your path ? Mourad On Wed, Dec 22, 2010 at 9:35 AM, Karthik Gowda wrote: > Hi All, > > > Im using OSG 2.9.6 plugins for FLightGear 2.0. I'm ab

Re: [osg-users] (no subject)

2011-01-12 Thread Mourad Boufarguine
Hi Robert, Could you remove him from the mailing list ? he have sent dozens of mails like this. Mourad > If want to disable subscription or unsubscribe then simply follow the > list to the mailing list admin page - it's appended to all posts (see > above you post even had all the info you need)

Re: [osg-users] [osgPlugins] [Error] osgConv animation1.fbx to converted.fbx

2011-01-07 Thread Mourad Boufarguine
Hi Jerome, What version of osg are you using ? I also have some problems with the fbx writer in svn trunk. When reading and writing a fbx file, the animation disappears. Maybe, the writer do not handle (yet) osgAnimation. Mourad On Fri, Jan 7, 2011 at 2:09 PM, Jerome Karim wrote: > Hello, > >

Re: [osg-users] Modify texture data on runtime

2010-12-26 Thread Mourad Boufarguine
On Sun, Dec 26, 2010 at 6:42 PM, Vicent Marti wrote: > Hello fine gentlemen, > > I'm trying to render a dynamic texture, whose pixels are manually > modified during runtime. I'm assigning the texture like this: > > osg::Texture2D* texture = new osg::Texture2D(img); > texture->setDataVariance(

Re: [osg-users] [build] Can't compile own project as release build

2010-12-24 Thread Mourad Boufarguine
On Fri, Dec 24, 2010 at 2:41 PM, Heiko Thiel wrote: > You are right. It looks like a mistaken by me. I had compile osg two times: > Debug and RelWithDbgInfo. I had think, that Debug creates "osgd.lib" and > RelWithDbgInfo "osg.lib" with additional debug files (pdm and so on). But it > seems RelWi

Re: [osg-users] [build] Can't compile own project as release build

2010-12-24 Thread Mourad Boufarguine
On Fri, Dec 24, 2010 at 11:52 AM, Heiko Thiel < heiko.th...@student.hpi.uni-potsdam.de> wrote: > Hi, > > since some SVN versions i'm not anymore able to compile my project as > release build. Debug build works without problems. > > I get following error by VS 2010: > > > > Fehler2 er

Re: [osg-users] osg question

2010-12-24 Thread Mourad Boufarguine
On Thu, Dec 23, 2010 at 9:44 PM, Michael W. Hall wrote: > I get the following error when I run osgversion to see if it is working: > > osgversion: error while loading shared libraries: libosg.so.69: cannot > open shared object file: No such file or directory > > The file does exist in /usr/local/

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Mourad Boufarguine
Good news !! Just bought it! It will be of a great help to our trainees and to me as well :) Keep up the good work ! Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegra

Re: [osg-users] How to set camera focal length

2010-12-10 Thread Mourad Boufarguine
Hi Igor, > But i still can't set up the position and rotation of the viewer's camera. > > > this->_viewer.getCamera()->setReferenceFrame(::osg::Transform::ABSOLUTE_RF); > this->_viewer.getCamera()->setViewMatrix(::osg::Matrix::translate(0.5, 0.3, > 0.1)); > > this does nothing. > > My guess is be

Re: [osg-users] How to set camera focal length

2010-12-09 Thread Mourad Boufarguine
Hi Igor, Take a look at this website : http://old.uvr.gist.ac.kr/wlee/web/techReports/ar/Camera%20Models.html you can find how to compute the projection matrix parameters of an opengl camera (fovy and aspect ratio) out of a real camera intrinsic parameters (focal lengths and focal point). Mour

Re: [osg-users] osgCal does not build - where is PerContextProgram::getUniformLocation( string ) method ?

2010-12-08 Thread Mourad Boufarguine
Hi Wojciech, This change was introduced in rev 11952. This new static function in osg/Uniform should help you to get the (unsigned int) id out of the (string) name : static unsigned int getNameID(const std::string& name); Mourad 2010/12/8 Wojciech Lewandowski > Hi Guys, > > The title say

Re: [osg-users] Use OSG with QT

2010-11-30 Thread Mourad Boufarguine
> > I tried the example I uploaded but I have the following message of error: > > > OsgViewerQt.obj : error LNK2001: unresolved external symbol "public: > virtual int __thiscall OsgViewerQt::qt_metacall(enum > QMetaObject::Call,int,void * *)" (?qt_metac...@osgviewerqt > @@uaehw4c...@qmetaobject@@hp

Re: [osg-users] Use OSG with QT

2010-11-29 Thread Mourad Boufarguine
Hi Cosimo, > Meanwhile, are there other possibilities to implement OSG 2.8.2 with Qt? > > Yes, take a look at osgviewerQT example. Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-use

Re: [osg-users] Blending two textures manualy

2010-11-16 Thread Mourad Boufarguine
Hi Aitor, osg::Image::getColor takes texture coords, ie in range 0.0..1.0. Mourad On Tue, Nov 16, 2010 at 1:05 PM, Aitor Ardanza wrote: > Hi, > > I still have the same problem ... I do not know how to fix it! > I attached the program code .. > > Thank you! > > Cheers, > Aitor > > ---

Re: [osg-users] 3D GUI Icon

2010-11-09 Thread Mourad Boufarguine
Hi Matt, The osghud example should be a better starting point for you. Mourad On Tue, Nov 9, 2010 at 8:34 PM, Matt Caron wrote: > I found a solution for this task using a HUD: > > > http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/HudsAndText > > Although I do still have an is

Re: [osg-users] Disable the Mouse default event in osg

2010-10-29 Thread Mourad Boufarguine
Hi Lalit, If i comment the manipulator then data is not displaying. > When you don't use a camera manipulator, you should take care of the the view matrix of the viewer. You can use something like viewer.getCamera()->setViewMatrixAsLookAt(eye, center, up); For more information about this functi

Re: [osg-users] newbie help

2010-10-19 Thread Mourad Boufarguine
Did you try pushing the space bar? Mourad On Tue, Oct 19, 2010 at 11:00 PM, Gerry Danza wrote: > Hi, > > thanks for your help but this is not the case > I am able to manupilate the view and see the space where the new objects > should be > > I have even loaded a new osg model while running the

Re: [osg-users] newbie help

2010-10-19 Thread Mourad Boufarguine
Hi Gerry, It seems like you need to adjust your view matrix in order to see the new scene. If you have a camera manipulator, it can do it for you by calling home(). Hitting the space bar should do the same thing. Mourad On Tue, Oct 19, 2010 at 5:47 PM, Gerry Danza wrote: > Hi, > > I am really

Re: [osg-users] Can we used OSG for ES 2.0 project on linux??

2010-08-25 Thread Mourad Boufarguine
> > > I am getting this error. > > /OpenSceneGraph-2.9.8/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:11:2: > error: #error "The header file 'QGraphicsViewAdapter' doesn't include > ." > > Hi Rakesh, This problem concerns the cmake file src/osgQt/CmakeLists.txt. This was solved in r

Re: [osg-users] parameters

2010-08-09 Thread Mourad Boufarguine
Hi Ricky, I think this link may be of interest to you : http://old.uvr.gist.ac.kr/wlee/web/techReports/ar/Camera%20Models.html Mourad On Mon, Aug 9, 2010 at 3:14 AM, Ricky Flintoff wrote: > Hi, > > I am a little confused now. I was wondering if I can do this now: > > http://www.opengl.org/di

Re: [osg-users] Camera intrinsics

2010-07-28 Thread Mourad Boufarguine
Hi Ricky, This link may help you : http://old.uvr.gist.ac.kr/wlee/web/techReports/ar/Camera%20Models.html Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org http:

Re: [osg-users] Human 3d model animation/motion

2010-07-07 Thread Mourad Boufarguine
Hi Sanat, A quick answer to the 3rd point : On Wed, Jul 7, 2010 at 2:04 PM, Sanat Talmaki wrote: > Hi, > > I am trying to create a scene in which I want to add 3d models of humans > and control their motion through keyboard and/or automated. > > However I am having trouble starting off as I'm no

Re: [osg-users] Webcam image as texture using OpenCV ‏

2010-06-17 Thread Mourad Boufarguine
Hi Charlie, Hi, > > I am looking a way to use the image grabbed from a webcam using OpenCV and > then use that image as a texture in a osg app. > > Taking the osgmovie example, I already tried to create a subclass of the > ImageStream class but Im a little lost trying to do it this way so far I >

Re: [osg-users] how to setup a simple camera?

2010-04-28 Thread Mourad Boufarguine
Hi Claus, You can setup your camera view matrix using : viewer.getCamera()->setViewMatrix(matrix) or viewer.getCamera()->setViewMatrixAsLookAt(eye, center, up) The second one is a good start. For the meaning of the parameters eye, center and up, ask your friend (google ^^) about gluLookAt. Hope

Re: [osg-users] build errors VS2010 osgdb

2010-04-22 Thread Mourad Boufarguine
Hi Martin, I think you meant to say osgAnimation serializer and not osgDB. Anyway, this is because std::*::size_type is generally different in 32bits and 64bits platforms. See this thread for more information about the issue : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegrap

Re: [osg-users] [osgPPU] Can't compile svn version of osgPPU against osg 2.8.3

2010-04-21 Thread Mourad Boufarguine
Hi Allen, http://www.openscenegraph.org/projects/osg/wiki/Downloads You are using the svn of the 2.8 branch (stable release). The trunk is a developer release (at the end of the web page). To get svn trunk of osg, check this link : http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN <

Re: [osg-users] Windows VS2010 build errors -SVN -11354

2010-04-21 Thread Mourad Boufarguine
Hi Martin, I just submitted a patch for this on the submission mail list. (thread : [osg-submissions] floating point depth buffer example and changing FBOs) Mourad On Wed, Apr 21, 2010 at 5:44 PM, Martin Naylor wrote: > Hi, > > I am having a few errors in building the latest SVN. > > Error

Re: [osg-users] [osgPlugins] FBX Plugin

2010-04-19 Thread Mourad Boufarguine
Hi Dario, You can find osganimationviewer in the examples folder. Mourad On Mon, Apr 19, 2010 at 7:55 PM, Dario Minieri wrote: > Hi, > > I have the same problem with some simple model from Cinema 4D. The FBX > contains all animation takes but I see no movement with osgviewer. I'm using > OS

Re: [osg-users] Header files with no file type? (no .h)

2010-04-18 Thread Mourad Boufarguine
Hi Nick, You can enable syntax highlighting for extensionless headers : http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio , look for "extensionless". Mourad On Sun, Apr 18, 2010 at 11:03 PM, Nick Schultz wrote: > Sorry if this seems like a noob question,

Re: [osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mourad Boufarguine
Hi Mike, You should preload ffmpeg plugin before reading the movie file : std::string libName = osgDB::Registry::instance()->createLibraryNameForExtension("ffmpeg"); osgDB::Registry::instance()->loadLibrary(libName); Mourad On Fri, Apr 16, 2010 at 8:41 PM, Mike Wozniewski wrote: > Does anyone

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

2010-03-25 Thread Mourad Boufarguine
Hi Cedric, Your chages broke the build of osgAnimation on VS 2008. I get this error : 1>Animation.cpp 1>..\..\..\OpenSceneGraph\src\osgAnimation\Animation.cpp(129) : error C2666: 'fmod' : 3 overloads have similar conversions 1>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\

Re: [osg-users] getting the render of a camera and set ting it as an another object´s texture

2010-03-24 Thread Mourad Boufarguine
Hi David, Take a look at osgprerender example, it is what you are looking for. Mourad On Wed, Mar 24, 2010 at 2:35 PM, David Martín wrote: > Hi, > > i´ve got an application with a osgViewer::Viewer* for the rendering. i´d > like to know if is possible to grab the render image of that viewer and

Re: [osg-users] First attempt to compile OSG under Win64bit with Visual Studio 64bit

2010-03-22 Thread Mourad Boufarguine
Hi Nick, Are you sure you have installed 64 bits compiler and tools ? By default, they are not installed even on 64 bits windows. Mourad On Mon, Mar 22, 2010 at 1:48 PM, Trajce (Nick) Nikolov < nikolov.tra...@gmail.com> wrote: > Hi Community, > > I am strugling with this. It is my first attemp

Re: [osg-users] How to programmatically clear trackball manipulator's mouse queue

2010-03-19 Thread Mourad Boufarguine
Hi Mike, You need just to set the "throw" flag of the trackball manipulator to false. See setAllowThrow method. Mourad On Fri, Mar 19, 2010 at 8:24 PM, Mike Greene wrote: > I have some source code where I use a trackballmanipulator to rotate a > terrain. If I drag the mouse I can set the terra

Re: [osg-users] JP2 plugin compilation

2010-03-03 Thread Mourad Boufarguine
Glad it helped! Mourad On Wed, Mar 3, 2010 at 4:35 PM, zhenlong li wrote: > Thanks, Mourad. Exactly as what you said, with "Debug multithreaded DLL > (/MDd)", the errors are all gone. > > best, > Zhenlong > > > > ___ > osg-users mailing list > osg-us

Re: [osg-users] (no subject)

2010-03-03 Thread Mourad Boufarguine
Hi John, Is there a reason why you write libcollada14dom2l-d.dll with an "L" rather than a 1 ? Mourad On Tue, Mar 2, 2010 at 7:29 PM, Montgomery, John T. < j.t.montgom...@abdn.ac.uk> wrote: > Hello All, > > I am trying, for the first time, to export a Blender model into OSG - > specifically, p

Re: [osg-users] linking errors for building JP2 plugin

2010-03-02 Thread Mourad Boufarguine
Hi, It seems like you built libjasper with "Multi-threaded Debug (/MTd)" setting. Rather, you need to build it using the "Debug multithreaded DLL (/MDd)" setting. (In Project Properties, C/C++, Code Generation, Runtime library.) Mourad On Tue, Mar 2, 2010 at 10:51 PM, zhenlong li wrote: > Dea

Re: [osg-users] Setting Camera Properties

2010-03-01 Thread Mourad Boufarguine
textures are not displayed correctly. > > I am using the Single Point Active Alignment Method developed at the > Technische Universitat Munich to solve for the camera parameters. > > Thank you, > > Yashodhan > > ----- Original Message - > From: "Mourad Boufarguin

Re: [osg-users] Setting Camera Properties

2010-02-26 Thread Mourad Boufarguine
Hi Yashodhan, Take a look at this link http://old.uvr.gist.ac.kr/wlee/web/techReports/ar/Camera%20Models.html . It explains the relationship between the real and virtual camera parameters. Besides that, you may want to look at osgART. Mourad On Fri, Feb 26, 2010 at 1:02 PM, Yashodhan Nevatia <

Re: [osg-users] freetype fonts on Windows...

2010-02-23 Thread Mourad Boufarguine
Hi, did you add the folder containing the 3rdparty freetype dll to your path? Mourad On Tue, Feb 23, 2010 at 11:59 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: > It's in the same place as the other plugins. The other plugins appear to > work fine. It's only with this one that things

Re: [osg-users] Committing to SVN problem

2010-02-23 Thread Mourad Boufarguine
Hi JL, What if you remove the asterisk at the end of the path in [osg:/OpenSceneGraph/trunk/src/osgPlugins/fbx*] ==> [osg:/OpenSceneGraph/trunk/src/osgPlugins/fbx]. Mourad On Tue, Feb 23, 2010 at 11:39 AM, Jose Luis Hidalgo < joseluis.hida...@gmail.com> wrote: > Hi Michel, > This is the confi

Re: [osg-users] Committing to SVN problem

2010-02-23 Thread Mourad Boufarguine
You may clear the authetication data in tortoise (setting>Saved Data) and try a commit, so it will ask you for the username/password. Mourad On Tue, Feb 23, 2010 at 6:12 PM, Michael Platings wrote: > Yes Update works fine. > Your idea of checking out with full credentials sounds promising, but

Re: [osg-users] Committing to SVN problem

2010-02-23 Thread Mourad Boufarguine
Hi Jose Luis, What do you get in apache error log when Michael tries to commit to the trunk? Mourad On Tue, Feb 23, 2010 at 11:39 AM, Jose Luis Hidalgo < joseluis.hida...@gmail.com> wrote: > Hi Michel, > This is the config related to fbx, the user is taken from the wiki > (so if you can log i

Re: [osg-users] svn trunk build broke

2010-02-22 Thread Mourad Boufarguine
Hi Robert, Just a small typo correction for the last link in http://www.openscenegraph.org/projects/osg/wiki/Community/Maintainers, I think you meant http://c*d*ash.openscenegraph.org and not http://cash.openscenegraph.org :) Mourad On Mon, Feb 22, 2010 at 5:11 P

Re: [osg-users] Please test svn/trunk for OpenThread/OpenSceneGraph

2010-02-18 Thread Mourad Boufarguine
Hi Robert, Building in progress on Windows, MSVC9. Just one typo in Win32Mutex.cpp so far. Mourad On Thu, Feb 18, 2010 at 10:43 PM, Robert Osfield wrote: > Hi All, > > I've been beavering away for the last two weeks on addressing issues > with DatabasePager performance and stability, and in th

Re: [osg-users] Build Osg with 64Bit (dependency)

2010-02-11 Thread Mourad Boufarguine
e to build these things without problem, just when all > other platforms has moved over to 128 but ;-) > > /Anders > > > On Wed, Feb 10, 2010 at 9:27 PM, Mourad Boufarguine < > mourad.boufargu...@gmail.com> wrote: > >> Hi Anders, >> >> I am also strugling t

Re: [osg-users] Build Osg with 64Bit (dependency)

2010-02-10 Thread Mourad Boufarguine
Hi Anders, I am also strugling to build OSG in 64 bits under Windows (MSVC9 SP1). For the moment, I have these 3rdParty libs built in 64 bits : - jpeg - png - tiff - jasper - zlib - ffmpeg The first 5 libs can be easily staticly built within the OpenCV project using CMake (http://sourceforge.ne

Re: [osg-users] Windows threadings issues + possible solution checked into svn/trunk, please test.

2010-02-10 Thread Mourad Boufarguine
Hi Robert, A build issue under Windows was introduced in src/osgViewer/PixelBufferWin32.cpp : you forgot to replace NOTIFY by OSG_NOTIFY. Mourad On Wed, Feb 10, 2010 at 1:50 PM, Robert Osfield wrote: > Hi Paul, > > > Hi Robert -- This change is generating warnings in several places. Here's > an

Re: [osg-users] Image->setData(unsigned char* data,AllocationMode allocationMode);

2010-01-29 Thread Mourad Boufarguine
Hi Roman, Have you tried just casting data to unsigned char* ? data = new float[256*64*3]; f = fopen("data/transmittance.raw", "rb"); fread(data, 1, 256*64*3*sizeof(float), f); fclose(f); osg::Image* image_Transmittance = new osg::Image; image_Transmittance->setImage(64,16,1, GL_RGB16F_ARB, GL_RG

Re: [osg-users] dependancies with Visual2005 SP2

2010-01-21 Thread Mourad Boufarguine
Hi Sebastien, AFAIK, there is not (yet) a SP2 for VS 2005. Are you sure ? Mourad On Thu, Jan 21, 2010 at 4:45 PM, Sebastien Nerig wrote: > Hi, > > I am running on Visual 2008 SP2 with osg 2.8.2 > > I have just downloaded osg binaries for visual 2005 SP1 and I have this > message when I launch m

Re: [osg-users] how to set camera perspective lookat

2010-01-13 Thread Mourad Boufarguine
Hi Rabbi, rather, it should be : camera->setProjectionMatrixAsPerspective(45.0, 1.0, 0.5, 1000); camera->setViewMatrix(osg::Matrix::lookAt(Vec3(0, 0, 200), Vec3(0, 0, 0), Vec3(0, 1, 0))); It is the view matrix that controls the position and orientaion of the camera. Mourad On Wed, Jan 13, 2010

Re: [osg-users] [OT] Detecting the number of CPU cores

2010-01-12 Thread Mourad Boufarguine
Hi Sukender, Maybe this can help : http://lists.gnu.org/archive/html/autoconf/2002-08/msg00126.html otherwise, for windows systems, there is an environment variable that contains this information NUMBER_OF_PROCESSORS. Mourad On Tue, Jan 12, 2010 at 4:26 PM, Sukender wrote: > Hi all, > > Is

Re: [osg-users] Depth buffer for shadow mapping

2010-01-11 Thread Mourad Boufarguine
Hi Dominic, AFAIK, the png plugin does not support writing depth image. Try the tiff plugin in svn/trunk ; a recent submission made it write depth images, and it works for me. Mourad On Mon, Jan 11, 2010 at 4:17 PM, Dominic Stalder wrote: > Hi there > > I have the following RTT method: > >

Re: [osg-users] OSG and streamed video

2010-01-11 Thread Mourad Boufarguine
Hi Eduardo, ffmpeg plugin, as it is now, do not work "natively" with extensionless files/urls, check the source code of the plugin for the list of supported extensions : supportsExtension("ffmpeg", ""); supportsExtension("avi",""); supportsExtension("flv","Flash vi

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
mapNode is it NULL ? Did you try opening it with osgviewer.exe ? Maybe sharing the file will help finding out. On Thu, Jan 7, 2010 at 4:02 PM, Tufan Taş wrote: > The following is my code for the openflight mode. Am I missing something in > the code? Only blue screen appears. > > osg::Node*

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
Which 3rdParty archive did you download and what is your VS version ? SP1 ? What do you get when setting osg notify level to debug ? ( osg::setNotifyLevel(osg::DEBUG_INFO)) Mourad On Thu, Jan 7, 2010 at 3:26 PM, Tufan Taş wrote: > I have tried all of your comments add the path of plugins bin b

Re: [osg-users] cannot load PNG image

2010-01-07 Thread Mourad Boufarguine
Hi Tufan, Did you add the bin folder of the 3rdParty directory to your path ? Maybe your program don't find the libpng13.dll. Mourad On Thu, Jan 7, 2010 at 3:12 PM, Jean-Sébastien Guay < jean-sebastien.g...@cm-labs.com> wrote: > Hi Tufan, > > > Yes C:\Users\Tufan\Desktop\New Folder\OpenSceneG

Re: [osg-users] Trouble porting to vs2008, heap corruption

2009-12-10 Thread Mourad Boufarguine
Hi Stefan, Commenting the line "_vertices->unref();" (line 276 in VertexGeometry.cpp), seems to solve the problem for me. I think you do not need to unreference _vertices manually. Besides that, I got some weird behaviour with some examples using multiple screens, calling _viewer->setUpViewOnSingl

Re: [osg-users] Image update in ImageStream objects

2009-11-25 Thread Mourad Boufarguine
Thank you Robert, this helped me. Mourad On Sat, Nov 21, 2009 at 4:57 PM, Robert Osfield wrote: > HI Mourad, > > On Fri, Nov 20, 2009 at 5:51 PM, Mourad Boufarguine > wrote: > > When using an ImageStream object (using ffmpeg, gif, quicktime... plugins > > for instance),

Re: [osg-users] broken osgconv.exe

2009-11-25 Thread Mourad Boufarguine
t; t > > > > Well, I tried dependencywalker.com and opened up the pluggins. > > On Mon, Nov 23, 2009 at 7:24 PM, Mourad Boufarguine <> wrote: > >> Hi Ted, >> >> You can use the Dependency Walker (http://www.dependencywalker.com/) to >> check t

Re: [osg-users] broken osgconv.exe

2009-11-23 Thread Mourad Boufarguine
Hi Ted, You can use the Dependency Walker (http://www.dependencywalker.com/) to check the version number of the runtime, the dependencies were compiled against. I just tried it with the zlib and png dlls contained in "VisualStudio 9 (2008) SP1" prebuild dependencies ( http://www.openscenegraph.or

  1   2   >