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

2011-08-10 Thread J.P. Delport
Hi, you could also try setting the LODscale: view->getCamera()->setLODScale(scale); I'm doing this when creating an ortho camera for osgEarth scenes and placing the camera far from the earth. jp On 10/08/2011 16:14, Emmanuel Roche wrote: Thanks for those inputs Sergey, but actually I tried

Re: [osg-users] osgAndroidExampleGLES1 crashed

2011-08-10 Thread Jorge Izquierdo Ciges
(Sorry if I go to the basics but there are lot of steps wich you didn't say if you did or not) 1rst: Did you compile OSG (full library) whith 3rd party package? The link is in one of the posts. I have to post it in the wiki. http://www2.ai2.upv.es/difusion/osgAndroid/3rdpartyAndroid.zip 2nd: This

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

2011-08-10 Thread Jorge Izquierdo Ciges
Wang, I've been thinking the same thing for a week but I've been working on my final year project (I think that's how is called in english) and i've put it in the pile of things to look. Theoretically there's a new official version of Android that can run in x86 and should run in VMware and similar

Re: [osg-users] osgAndroidExampleGLES1 crashed

2011-08-10 Thread anurag mairal
Hi Jorge, > > Sorry i am troubling you again, i got the button pressing it, i got the sub-menu for load model. i am trying to load .3DS / .PNG files; but its showing error in adb "could not find pluging to load data" image is at /mnt/sdcard/osg.png if i copy libpng.a in osgViewer.apk; its not ge

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 h

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] [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] 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 : > This question is for anyone who has used the new serialization interface > introduced by Wang Rui in

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 fai

[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 dis

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 http://lists.openscenegraph.or

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: http://forum.opensceneg

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 l

[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 t

[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 argumen

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 > 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 devel

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 genera

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 > > https://gi

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.

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 CullVisi

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

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 osg-users@l

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" :Hi everyone,I've have a specific question for which I could use some help/advises:- I'm qui

[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 i

[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 v

[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 p

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 direc

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] [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 http://lists.openscenegraph.org/

[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 alread

[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 w

[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

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 ad

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.