Re: [osg-users] PositionAttitudeTransform - rotation and translation

2009-10-23 Thread Mourad Boufarguine
Hi Ash, You can use MatrixTransform instead of PositionAttitudeTransform. Then you have access to the transform matrix. Cheers, Mourad On Fri, Oct 23, 2009 at 5:34 PM, Ash Pat ash_zz...@yahoo.com wrote: Hi, I'm using PositionAttitudeTransform to add multiple instances of a geometry node.

Re: [osg-users] PositionAttitudeTransform - rotation and translation

2009-10-23 Thread Mourad Boufarguine
Hi Ash, The OSG matrices are treated as row-major matrices (unlike OpenGL). So, you should write : osg::Matrixd mat; mat.set ( 1, 0, 0, 0 0, 1, 0, 0, 0, 0, 1, 0, 0, 20, 0, 1 ); to get a rigid translation. The second matrix isn't a rotation matrix, for a

Re: [osg-users] OpenGL error 'out of memory'

2009-11-10 Thread Mourad Boufarguine
Hi, I have the same problem as Cory. I am using svn/trunk. My last tests were using rev 10710 approx (i am not sure). My config is : Seven 64bits (OSG compiled in 32bits), 4GB of RAM, 2 x GTX280 Nvidia cards. I didn't have this problem before. Strangely, I don't have the same problem with

Re: [osg-users] Warning: Could not find plugin to read objects from file *.jpg

2009-11-19 Thread Mourad Boufarguine
Hi James, It is most probably a side-by-side problem. If you are using the precompiled binairies provided here http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies , make sure you have installed SP1 for VS2005. These binairies are compiled using VS 2005 SP1. To be sure, you can

[osg-users] Image update in ImageStream objects

2009-11-20 Thread Mourad Boufarguine
Hi All, When using an ImageStream object (using ffmpeg, gif, quicktime... plugins for instance), is there a way to catch the image uptade event without messing with the plugins source code ? I am willing to apply image processing algorithms on video streams and I want to intercept new images to

Re: [osg-users] Does anybody know how to include OSGViewer using MFC?

2009-11-22 Thread Mourad Boufarguine
Hi, There is an example called osgViewerMFC that may help you. You need to check the BUILD_MFC_EXAMPLE option in CMake. On Sat, Nov 21, 2009 at 7:28 AM, SoDong Jang wrote: I`m trying to make a very simple CAD program but, all examples aren`t based on MFC... I`ve seen the example called

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 (

Re: [osg-users] broken osgconv.exe

2009-11-25 Thread Mourad Boufarguine
at 7:24 PM, Mourad Boufarguine wrote: 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

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), is there a way to catch

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

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

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ş tas.tu...@gmail.com wrote: I have tried all of your comments add the

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ş tas.tu...@gmail.com wrote: The following is my code for the openflight mode. Am I missing something in the code? Only blue screen

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 dominic.stal...@bluewin.ch wrote: Hi there I have the

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 suky0...@free.fr wrote:

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] 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 overse...@hotmail.comwrote: 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

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,

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 robert.osfi...@gmail.comwrote: Hi Paul, Hi Robert -- This change is generating warnings in

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

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

2010-02-11 Thread Mourad Boufarguine
, Feb 10, 2010 at 9:27 PM, Mourad Boufarguine mourad.boufargu...@gmail.com wrote: 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

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 robert.osfi...@gmail.comwrote: Hi All, I've been beavering away for the last two weeks on addressing issues with DatabasePager performance and

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.orghttp://cash.openscenegraph.org/ and not http://cash.openscenegraph.org :) Mourad On Mon, Feb 22, 2010 at 5:11

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 into

Re: [osg-users] Committing to SVN problem

2010-02-23 Thread Mourad Boufarguine
You may clear the authetication data in tortoise (settingSaved 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 mplati...@gmail.comwrote: Yes Update works fine. Your idea of checking out with full credentials

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 config

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 shayne.tuel...@hill.af.mil wrote: It's in the same place as the other plugins. The other plugins appear to work fine. It's only

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] Setting Camera Properties

2010-03-01 Thread Mourad Boufarguine
. 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 Boufarguine mourad.boufargu...@gmail.com To: OpenSceneGraph Users osg-users

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 zxl1...@gmail.com

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,

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 zxl1...@gmail.com wrote: Thanks, Mourad. Exactly as what you said, with Debug multithreaded DLL (/MDd), the errors are all gone. best, Zhenlong ___ osg-users mailing list

Re: [osg-users] Download Not Working

2009-07-26 Thread Mourad Boufarguine
Hi, I also have the same problem under windows and tortoise. I need to make a dozen of updates to get the whole trunk. Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] create a image

2009-07-29 Thread Mourad Boufarguine
Martin, And for the second question, yes, you can use 16 bits per channel. GL_UNSIGNED_BYTE means 8 bits per channel, so GL_UNSIGNED_SHORT is for 16 bits. Mourad 2009/7/29 Martin Großer grosser.mar...@gmx.de Year! That is right. I feel awful about this mistake. First I try GL_FLOAT and I

Re: [osg-users] create a image

2009-07-29 Thread Mourad Boufarguine
is possible for the data value? And what happens when I use GL_FLOAT? There are 32 bits? My main problem is, I don't understand the data value. Cheers, Martin Am 29.07.2009 13:25, schrieb Mourad Boufarguine: Martin, And for the second question, yes, you can use 16 bits per channel

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 mgre...@hiwaay.net wrote: I have some source code where I use a trackballmanipulator to rotate a terrain. If I drag the mouse I

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 attempt to

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 solid_david...@hotmail.comwrote: 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

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 : 1Animation.cpp 1..\..\..\OpenSceneGraph\src\osgAnimation\Animation.cpp(129) : error C2666: 'fmod' : 3 overloads have similar conversions 1C:\Program Files (x86)\Microsoft Visual Studio

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 m...@mikewoz.com wrote:

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 schul...@engr.orst.eduwrote: Sorry if this seems

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 para...@cheapnet.it 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

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 martin.nay...@dsl.pipex.comwrote: Hi, I am having a few errors in building the

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] 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 :

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] 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] 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 sanat.sch...@gmail.comwrote: 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

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 http://old.uvr.gist.ac.kr/wlee/web/techReports/ar/Camera%20Models.html Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org

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 rickyflint...@gmail.comwrote: Hi, I am a little confused now. I was wondering if I can do this now:

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 QObject. Hi Rakesh, This problem concerns the cmake file src/osgQt/CmakeLists.txt. This was solved in

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 g.da...@mclink.it wrote: Hi,

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 g.da...@mclink.it 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

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

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 mcindafi...@gmail.com wrote: I found a solution for this task using a HUD: http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/HudsAndText Although I do

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 aitoralt...@terra.es 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] 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

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@@hpa...@z)

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 lewandow...@ai.com.pl Hi

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).

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 becase i also

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

Re: [osg-users] osg question

2010-12-24 Thread Mourad Boufarguine
On Thu, Dec 23, 2010 at 9:44 PM, Michael W. Hall hal...@att.net 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

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 error

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 osgfo...@tevs.eu 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

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

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] 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 osgneo...@laposte.netwrote: 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

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 christian@gmail.comwrote: 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

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 osgfo...@tevs.eu 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:

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 osgfo...@tevs.eu wrote: Hi Mourad, Thanks for the reply. i have attached the project file and the source file. ...

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

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 almir@gmail.com wrote: Hi hybr! I can feel that I'm getting close. I've done all what

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

2011-02-22 Thread Mourad Boufarguine
http://forum.openscenegraph.org/viewtopic.php?t=4673 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] [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

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

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 ffmpeg,

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()){ coutNo estoy leyendoendl; exit(0);} Mourad On Wed, Mar 9, 2011 at 5:56 PM, Josue Hernandez osgfo...@tevs.eu

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()){ coutNo estoy leyendoendl; exit(0);} Mourad On Wed, Mar 9, 2011 at 6:33 PM, Josue Hernandez osgfo...@tevs.eu wrote: Hi, 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

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 osgfo...@tevs.eu wrote: Hi, everybody: anyone know how to activate an animation. fbx? ... Thank you! Cheers, Josue -- Read this topic online here:

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 para...@cheapnet.it 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:

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 maxgam...@gmail.com Hi all. how to change the page content?http://www.openscenegraph.org/projects/osg/wiki/Screenshots/

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] osgDB ifstream / ofstream conflict

2011-04-20 Thread Mourad Boufarguine
Hi Vincent, On Mon, Apr 4, 2011 at 4:36 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: 2TsLib_MDdNET2010.lib(IwPoly.obj) : error LNK2005: public: void __thiscall std::basic_ifstreamchar,struct std::char_traitschar ::close(void)

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 aitoralt...@terra.eswrote: 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

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 aitoralt...@terra.eswrote: 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

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. 1osgDB.lib(osg77-osgDB.dll) : error LNK2005: public: void __cdecl std::basic_ifstreamchar,struct std::char_traitschar ::`vbase destructor'(void) (??_D?$basic_ifstream@DU?$char_traits@D@std@@@std@@QEAAXXZ)

Re: [osg-users] ffmpeg plugin

2011-07-07 Thread Mourad Boufarguine
On Fri, Jul 8, 2011 at 1:58 AM, He, Yefei yefei...@uiowa.edu 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

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 mairal2...@gmail.com a écrit : Sir I have build osg on android with osg3.0.0 tried to run example program osgAndroidExampleGLES1 on

Re: [osg-users] OSG for Android

2011-08-08 Thread Mourad Boufarguine
2011/8/8 Héctor Martínez hector.marti...@sensetrix.com 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

Re: [osg-users] OSG for Android

2011-08-10 Thread Mourad Boufarguine
Hi Hector, 2011/8/10 Héctor Martínez hector.marti...@sensetrix.com 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

Re: [osg-users] OSG for Android

2011-08-11 Thread Mourad Boufarguine
Hi Hector, 2011/8/11 Héctor Martínez hector.marti...@sensetrix.com 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

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 hector.marti...@sensetrix.com Thank you Mourad and Jorge. ** ** I have never used CygWin and I am trying to follow those instructions:*** * ** ** http

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 riccardo.co...@kairos3d.itwrote: 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

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 inyp0...@hotmail.com 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

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 sti...@sticki.de 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

Re: [osg-users] Getting Started - VS2010

2011-11-21 Thread Mourad Boufarguine
Hi, On Mon, Nov 21, 2011 at 12:03 AM, Markus Kahl machisuji...@googlemail.com 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

Re: [osg-users] Getting Started - VS2010

2011-11-21 Thread Mourad Boufarguine
On Mon, Nov 21, 2011 at 3:24 PM, Markus Kahl machisuji...@googlemail.com 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] VS2010 64bit compile problem

2012-01-04 Thread Mourad Boufarguine
Hi, On Wed, Jan 4, 2012 at 10:52 AM, Peter Bako osgfo...@tevs.eu 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

  1   2   >