[osg-users] [osgOcean] osgOcean unhandled exception error

2010-05-31 Thread Saravanan Sivaprahasam
Hi, We've compiled the osgOcean sucessfully and the osgExample runs well. When we quit the application, the compiler vc++ 2008 (express edition) shows an unhandled exception hxxp://img514.imageshack.us/img514/4452/unhandle.jpg Thank you! -- Read this topic online here:

Re: [osg-users] [osgPlugins] FBX texture export problem.

2010-05-31 Thread Sukender
Hi Dario, Maybe the FBX code doesn't use the FBX file's directory as a base dir for textures; try copying the FBX+textures in osgconv's dir for testing. I may (should?) investigate this, but I'm far too busy right now. Help, anyone? Sukender PVLE - Lightweight cross-platform game engine -

Re: [osg-users] [osgPlugins] FBX texture export problem.

2010-05-31 Thread Dario Minieri
Hi, Thanks for your reply. I tried your trick but the result seems the same as above. Seems strange that nobody else in the forum has the same problem. You've encountered this kind of problem? Some friends also, are having this problem and, as I said earlier, we used both version 2.8.3 (with

Re: [osg-users] LOD simple textures strategy

2010-05-31 Thread Robert Osfield
Hi Dean, The OSG doesn't have any scene graph level LOD system specifically for textures. The OSG supports mipmapping which is a form of LOD, but I guess you probably ain't thinking of this. In terms of best performance you are typically best to reduce the number vertics, the number of separate

Re: [osg-users] CityGML

2010-05-31 Thread Alexandre Amalric
Hi, I'm also interested in your submission ;-) Kind regards, 2010/5/27 Aitor Moreno aitormor...@gmail.com Hi, On Wed, Apr 21, 2010 at 10:07 PM, Joachim Pouderoux j...@mazengon.frwrote: I have coded a CityGML reader for OSG ! It successfully parses all geometry, material (color texture)

Re: [osg-users] bvh plugin

2010-05-31 Thread Aitor Ardanza
Hi, I can get the bones as nodes, but I need to know the position and rotation matrices of these. Code: osg::Node* boneNode = checkName(skelroot.get()-asGroup(),animList[0]-getChannels()[i]-getTargetName()); Any help?! Thank you! Cheers, Aitor -- Read this topic online

Re: [osg-users] [osgPlugins] FBX plugin: transparency and reflection maps...

2010-05-31 Thread Alessandro Terenzi
I'm am adding support for opacity, reflection and lighting maps to the FBX plugin...so far I've got good results and I'm going to post the new code as soon as I've reviewed and 'cleaned' it ;) by the way how and where should I upload my modifications? Is there a good repository for FBX models

[osg-users] How to pick a vertex of quad by mouse

2010-05-31 Thread manjeet sudhanshu
___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] morph animation

2010-05-31 Thread Daniele Cittadini
hi! the osgexp plugin for 3dsmax works great. I'm asking if it's possible to export also not only transform animation (translate, rotate, scale) but also morph animation (verteces mesh modification). Thanks a lot. -- Read this topic online here:

Re: [osg-users] mouse handling

2010-05-31 Thread Jean-Sébastien Guay
Hello Manjeet, How to pick a vertex of any triangle by mouse. You already posted that question not once, not twice but three times. Plus, Nick gave you a possible solution, and you replied to that message by repeating the question in large font. That seems a bit rude to me, so please

[osg-users] gDebugger see memory leaks in 14 lines of set up code when FBOs are used

2010-05-31 Thread Sam Warns
Hi, I spent the whole day chasing a weird memory leak on my GPU. The following code is part of a (not working well) FBO render solution. Code: #include osg/CameraNode #include osgViewer/ViewerEventHandlers void foo() { osg::ref_ptrosg::Camera c = new osg::Camera();

[osg-users] [osgPlugins] FBX plugin and Y-up/Z-up...

2010-05-31 Thread Alessandro Terenzi
It looks like that models exported with either the Y-up or Z-up option are displayed always in the same way (Z-up). I'm using OSG 2.9.8 and FBX SDK 2011.2 (models exported from 3dsMax - FBX Plugin 2011.2). Cheers, Alessandro -- Read this topic online here:

[osg-users] problem in changing view from perspective to orthographic

2010-05-31 Thread Nitin Rangari
hi all, i am trying to change Projection matrix from perspective to Orthographic i am not finding proper way to do that.. i am trying.. void GraphicsScene::makeOrtho() { osg::BoundingSphere bs = mRootNode-getBound(); double

Re: [osg-users] Fwd: How to pick a vertex of quad by mouse

2010-05-31 Thread Gordon Tomlinson
I suggest reading this before posting any other questions http://catb.org/~esr/faqs/smart-questions.html __ Gordon Tomlinson

Re: [osg-users] mouse handling

2010-05-31 Thread Gordon Tomlinson
database 5157 (20100531) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] problem in changing view from perspective to orthographic

2010-05-31 Thread Robert Osfield
Hi Nitin, There isn't really any proper way to convert between orthographic and perspective projections, the two are essentially incompatible projections. You can try to make best mappings based the eye point, center of rotation and your field of view in perspective, which makes the scene look

[osg-users] [build] Issues with OSG Freetype Dependency Under Linux

2010-05-31 Thread Carlo del Mundo
Hello! I've spent quite some time figuring out this dependency issue. Whenever I view the sample cow.osg program and press the key 'h,' I receive the following problem in std::cout (console): Code: Warning: Could not find plugin to read objects from file

[osg-users] How to add an alpha channel as average of RGB values?

2010-05-31 Thread alessandro terenzi
I have an Image coming from a texture, and I'd like to add an alpha channel with values that are an average of the corrensponding pixel RGB values. Is there any example that could help? Thanks. Alessandro ___ osg-users mailing list

Re: [osg-users] [build] Issues with OSG Freetype Dependency Under Linux

2010-05-31 Thread Jean-Sébastien Guay
Hi Carlo, According to yum, FreeType is already installed. Code: Package freetype-2.2.1-21.el5_3.i386 already installed and latest version Remember that to be able to build anything with it, the -dev package needs to be installed too... Otherwise you just have the shared libs installed (so

Re: [osg-users] [build] Issues with OSG Freetype Dependency Under Linux

2010-05-31 Thread Carlo del Mundo
Hi Skylark, That helps a lot! I appreciate your responesI'll try that out in the next few hours, but I'm more confident now. Carlo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28386#28386

[osg-users] SetImage problem

2010-05-31 Thread Osman Hancer
Hi, I want to convert an OpenCV IplImage to an OSG image. For this, I first fliped image from top-left to bottom-left by cvConvertImage(cvImg , cvImg, CV_CVTIMG_FLIP); then converted BGR to RGB color format by cvCvtColor( cvImg, cvImg, CV_BGR2RGB ); then I used setImage to do the actual

[osg-users] Trying to render an ortogonal scene

2010-05-31 Thread José Carlos Ruiz
Hi community! I'm José Carlos. Since a few months I'm using OSG, but now I've a problem trying to render a scene with a orthogonal view. There are not problems with Perspective or Frustrum, but when I change to ortogonal the scene doesn't shows nothing. Here's the code! //Loading the model

Re: [osg-users] Modifying scenegraph and update

2010-05-31 Thread Jimmy Lin
Hi, On relative issue. What if viewer-frame() is running on different thread that is different to the thread that modifies the scene graph. In that case I don't really have the control when is frame() get called. the modification can happen during the rendering time, which I guess is bad. I

Re: [osg-users] SetImage problem

2010-05-31 Thread Ümit Uzun
Selam Osman, Did you try void osg::Image::setOrigin ( Originhttp://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00305.html#3eb3fb7f290c3b5ef6122b76d5fe6c69 *origin* ) [inline]function before convert TopLeft image to BottomLeft? May be you won't need any flipping operation

Re: [osg-users] SetImage problem

2010-05-31 Thread Ulrich Hertlein
Hi Osman, On 29/05/10 23:38 , Osman Hancer wrote: then converted BGR to RGB color format by cvCvtColor( cvImg, cvImg, CV_BGR2RGB ); then I used setImage to do the actual conversion. osgImg-setImage(cvImg-width,cvImg-height, 3, GL_RGB, GL_RGB,