Re: [osg-users] OSG for Android

2011-08-10 Thread Héctor Martínez
Thank you for the response. I am having some problems with the MINGW/MSYS make. Here is the problem: Android NDK: Trying to define local module ‘OpenThreads’ in C:/Projects/OpenSceneGraph-3.0.1/OpenSceneGraph/build32_Android/src/OpenThre ads/pthreads/Android.mk.

Re: [osg-users] Mac OSX | Problem loading curl-plugin inside OSG-web-plugin

2011-08-10 Thread Guido Lucci Baldassari
Thank you very much :) Regards G. Il giorno 09.ago.2011, alle ore 11:56, Stephan Maximilian Huber ha scritto: Hi, Am 08.08.11 18:22, schrieb Guido Lucci Baldassari: Does anyone know how I can obtain the path of @loader_path at runtime (a better solution than getenv(PWD))? Thanks in advance

[osg-users] [forum] osgAnimation to update bone position

2011-08-10 Thread Leoenl Serra
Hi, I placed this question in a thread, but decided to placed also in here, to be more visible. Hope you can forgive me. I'm using a CyberGlove II and my task is to translate my hand movements to a simple FBX 3D model. I managed to place the model and the data from the glove. I also managed

[osg-users] osgText:FadeText attaching small object seems invisible initiatly

2011-08-10 Thread Lv Qing
Hi, ... I have used osgText:FadeText attaching a model for displaying it's text information.I set the osgText:FadeText always It is OK in most case.Then I found if the model's size is small enough and the distance from viewer is too long(like 3000KM),the osgText:FadeText is not visible

[osg-users] osg::Lod and osgText::FadeText

2011-08-10 Thread Lv Qing
Hi, I have used osgText::FadeText for displaying some GIS lables. I also want to use osg::Lod for displaying the FadeText in a certain distance away from viewer. osg:OD* lod = new osg:od; lod-setRangeMode(osg:OD:ISTANCE_FROM_EYE_POINT); lod-addChild(textGeod,0,3000*1000); //textGeod already

Re: [osg-users] [vpb] vector layer made by osgGIS take too much cpu usage

2011-08-10 Thread Lv Qing
Hi, ... No solution? Thank you! Cheers, Lv -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41969#41969 ___ osg-users mailing list osg-users@lists.openscenegraph.org

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 2.8.3 3.0.1 view dependent shadow clippingplane

2011-08-10 Thread Wojciech Lewandowski
Hi Cyril, Sorry I am on vacations and have not spotted your question before. Also I will not be able to look at the source code before I get back next week. MinimalShadowMap or MinimalCulllBoundsShadowMap should work correctly with large LightMargin. Does your light source is an infinite

[osg-users] Timers for OSG Application

2011-08-10 Thread Ankur Gandhi
Dear All, I am making a scene graph in OSG and things are going great. Extensive support is available in forums and tutorials of OSG. Thanks a lot for that. I have one doubt. It may not be related to OSG but may be related general application development based on OSG. To update my scenegraph

[osg-users] Changing eye position in cull traversal

2011-08-10 Thread Emmanuel Roche
Hi everyone, I've have a specific question for which I could use some help/advises: - I'm quite up-to-date with OSG 3.0.0 and osgEarth current git version - I'm build an app where I use the osgEarth library to display the earth model. - When I setup a camera on that model, I use a camera with a

[osg-users] blender2.5 exporter

2011-08-10 Thread Cedric Pinson
Hi, just to talk about the blender 2.5 exporter. The plugin is on github https://github.com/cedricpinson/osgexport I fixed a few things and optimized model. I setup unittest too. Sadly the exporter does not support animation yet. It should come in a near futur. if you want to report bug/improve

Re: [osg-users] Changing eye position in cull traversal

2011-08-10 Thread Sergey Polischuk
Hi, osg::LOD have option to use object's size on screen (in pixels?) instead of distance to camera to determine which lod to use, you can try these setting. Cheers,Sergey.10.08.2011, 16:03, "Emmanuel Roche" roche.emman...@gmail.com:Hi everyone,I've have a specific question for which I could use

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Paul Leopard
I successfully built v3.0.1 last night and tried it this morning. Same issue ... Still a NULL pointer -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41976#41976 ___ osg-users mailing list

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Paul Leopard
Ok now I am making some progress. If I set the environment variable OSG_SCREEN to 1 then the problem goes away and the pointer returns valid. Evidently this is related to another problem that I've been having ... I have dual monitors and OSG apps open up spanning both monitors with the left

Re: [osg-users] Camera returns NULL viewport on Windows but not Linux

2011-08-10 Thread Sebastian Messerschmidt
Hi Paul, This is expected behaviour as far as I know. The viewer camera won't return you a viewport if more than one device context is used (i.e. more than monitor) Ok now I am making some progress. If I set the environment variable OSG_SCREEN to 1 then the problem goes away and the pointer

Re: [osg-users] Changing eye position in cull traversal

2011-08-10 Thread Emmanuel Roche
Thanks for those inputs Sergey, but actually I tried to follow the way described in another OSG post: to create a custom CullVisitor and override the getDistanceFromViewPoint() method: And this seems to work great !! Just in case someone would need some hints on this: 1. To override the

Re: [osg-users] blender2.5 exporter

2011-08-10 Thread Jeremy Moles
On Wed, 2011-08-10 at 14:21 +0200, Cedric Pinson wrote: Hi, just to talk about the blender 2.5 exporter. The plugin is on github https://github.com/cedricpinson/osgexport I fixed a few things and optimized model. I setup unittest too. Sadly the exporter does not support animation yet. It

Re: [osg-users] blender2.5 exporter

2011-08-10 Thread Cedric Pinson
Hi, Both, api changed and some internal stuff too. But it's not so different. Cedric On Wed, 2011-08-10 at 10:16 -0400, Jeremy Moles wrote: On Wed, 2011-08-10 at 14:21 +0200, Cedric Pinson wrote: Hi, just to talk about the blender 2.5 exporter. The plugin is on github

Re: [osg-users] Timers for OSG Application

2011-08-10 Thread Jeremy Moles
On Wed, 2011-08-10 at 12:35 +0200, Ankur Gandhi wrote: Dear All, I am making a scene graph in OSG and things are going great. Extensive support is available in forums and tutorials of OSG. Thanks a lot for that. I have one doubt. It may not be related to OSG but may be related general

Re: [osg-users] OSG for Android

2011-08-10 Thread Jorge Izquierdo Ciges
YAOUCH! I missed that! xD you are damn right. 2011/8/10 Mourad Boufarguine mourad.boufargu...@gmail.com 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

[osg-users] Serialization Question (Proto Constructors)

2011-08-10 Thread Jeremy Moles
This question is for anyone who has used the new serialization interface introduced by Wang Rui in 2010 (osgWrappers/serializers). Is it possible to pass arguments to the object's constructor? The 2nd argument to the REGISTER_ macro lets you define the protocol for object creation, but the

[osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Su Gang
Hi, I am building the two Android examples of OSG 3.0.1. The building seems successful but while I run them on Android 2.3.3 AVD emulator, there is following error: Code: The application osgAndroidExample (process osg. AndroidExample) has stopped unexpectedly. Please try again. Another

Re: [osg-users] Can't get osgText to display text using osgViewer::GraphicsWindow

2011-08-10 Thread Su Gang
Hi, I think you can try to add something else such as a primitive in void GOSGView::populate(). Code: m_viewer-setSceneData(geode); I see there is only one text node in the scene. I guess maybe the cull process ignored it. Cheers, Su pau.estalella wrote: Hi, I'm trying to add text

Re: [osg-users] Question about TerrainManipulator

2011-08-10 Thread Su Gang
Hi caijun, In CoordinateSystemNode.h: Code: /** CoordinateFrame encapsulates the orientation of east, north and up.*/ typedef Matrixd CoordinateFrame; I think it is used to tell the directions of the model. Cheers, Su -- Read this topic online here:

Re: [osg-users] Crash on startup on Win7 x64

2011-08-10 Thread Jorja Standish
i also experienced this but it's all fine now.:) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41959#41959 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Cylindrical Display for OSG?

2011-08-10 Thread Esim Takleef
Hi, I'm really new to OSG and I've inherited a project for it. Actually, that's the reason I'm new to it. =/ The problem I'm debugging at the moment has to do with taking the scene, and projecting it to a curved surface. I'm using 3 projectors with edge-blending. I see some really ugly

Re: [osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Jorge Izquierdo Ciges
Google is reminding me that it's not a good hour to answer question... In any way... we have a very cool page in the wiki for Android that explains pretty much every mistake you've done. First NO emulator. OSG only works in real devices because the emulator doesn't have a good GLES support. It

Re: [osg-users] Serialization Question (Proto Constructors)

2011-08-10 Thread Wang Rui
Hi Jeremy, Yes. The serializers at present don't support constructor with arguments. It is welcome if you and anyone else could provide the functionality. :-) Wang Rui 2011/8/11 Jeremy Moles jer...@emperorlinux.com: This question is for anyone who has used the new serialization interface

Re: [osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Wang Rui
Hi Jorge, I just wonder if it is possible to use OSG on Android-x86, which 'should' support GLES and GLES2. And as virtual machines like Virtual Box and VMWare can at least support OpenGL 2.0, maybe we could emulate OSG applications in virtual machines after some tests. Will it be a good idea for

Re: [osg-users] [build] Problem with building the Android examples

2011-08-10 Thread Su Gang
Hi Jorge, Thanks very much for your reply. I misunderstanded about something you said so I had some errors. I'll try it later. Cheers, Su -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41989#41989

Re: [osg-users] Serialization Question (Proto Constructors)

2011-08-10 Thread Jeremy Moles
On Thu, 2011-08-11 at 08:16 +0800, Wang Rui wrote: Hi Jeremy, Yes. The serializers at present don't support constructor with arguments. It is welcome if you and anyone else could provide the functionality. :-) I'll see if I can do it... BTW: Working with the new serializer interfaces has