[osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Community,

I have done the first steps with the android development (thanks to you as
well). Now I am facing problem with animations. I have exported animated
model from Blender and for some reason (as obvious :) ...) the model is not
displayed on the android, it works ok with osganimationviewer though on pc.
Is there any magic to be done to make the model appear? Only this, I know
how to manage animations later

Thanks a bunch!

Nick

-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] vpbmaster --splits

2013-04-16 Thread Robert Osfield
Hi Tinino,

The splits that VPB uses are required to control how many levels get built
by each indivual osgdem task, the more levels built by each osgdem task the
more memory it uses and the more time it takes to run, but of course
reduces the number of tasks required to complete the overall build.  The
key constraint that is optimized for is the memory footprint.  As VPB only
equalizes the colour and normals within the tiles of a single osgdem task
having more tasks results in more tile boundaries that might not be perfect
matched, this is usually something is very visible but can be something to
be aware of.

Robert.

On 15 April 2013 21:56, Tonino Tarsi tony.ta...@gmail.com wrote:

 Hi,

 Can somebody explain me or address me to some documentation on what
 primary and secondary splits level are ?

 I'm trying to make a  VPB model working with osgearth but without success.


 osgearth  works fine with a model generated with osgdem in which all files
 are in the XXX_root_L0_X0_Y0 folder . I does not work  with models
 generated with vpbmaster with a more complex folder structure. I tried all
 options in  vpbmaster and osgearth  VPB driver .

 At the end I founfd this tricky solution but do not like it.
 - I generate the model with vpbmaster
 - move all generated files in the XXX_root_L0_X0_Y0 folder

 This works fine wth osgearth_view ( no mather which option on primary o
 secondary split or directory structure ) but then it does not work with
 osgviewer



 Thank you!

 Cheers,
 Tonino

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=53643#53643





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jan Ciger
On Tue, Apr 16, 2013 at 9:52 AM, Trajce Nikolov NICK 
trajce.nikolov.n...@gmail.com wrote:

 Hi Community,

 I have done the first steps with the android development (thanks to you as
 well). Now I am facing problem with animations. I have exported animated
 model from Blender and for some reason (as obvious :) ...) the model is not
 displayed on the android, it works ok with osganimationviewer though on pc.
 Is there any magic to be done to make the model appear? Only this, I know
 how to manage animations later

 Thanks a bunch!


I haven't had particular problems with animations on Android, but make sure
you actually link in support for osgAnimation - otherwise the
osgAnimation-related parts are going to be ignored while loading the model.
There are some macros to put in your code - search the archive, it has been
discussed about a month ago.

Regards,

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgWidget::EventInterface possible memory leak

2013-04-16 Thread Robert Osfield
Hi Judson and Jeremy,

On 15 April 2013 22:15, Judson Weissert jud...@mfrac.com wrote:

 I know the feeling :) I am having difficulties trying to figure out the
 likelihood of circular references if the type is switched from observer_ptr
 to ref_ptr. I noticed that there are some clients that call the
 osgWidget::Callback constructor and pass this as the obj argument. That
 is, the callback IS an osgWidget::Window. Currently, I am not thinking
 clearly enough to identify the repercussions of the aforementioned behavior
 if the callbacks were stored as a ref_ptr. See osgwidgetnotebook for
 example.


I've looked at the code and the way the osgwidget examples use the
addCallback() method and it looks to me like the list should be a
ref_ptr, I looked for potential for circular references and didn't spot
any.  I've modified the code to use a ref_ptr and the osgwidget examples
I tried all worked fine so have now checked this change into svn/trunk.

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Jan,

I found the conversation in the archive. I do have support for
osgAnimation. Here is the listing. Also, you have mentioned use of osg2.
What is this plugin for?

//Static plugins Macro
USE_OSGPLUGIN(ive)
USE_OSGPLUGIN(osg)
USE_OSGPLUGIN(osg2)
USE_OSGPLUGIN(terrain)
USE_OSGPLUGIN(rgb)
USE_OSGPLUGIN(OpenFlight)
USE_OSGPLUGIN(dds)
USE_OSGPLUGIN(glsl)
//Static DOTOSG
USE_DOTOSGWRAPPER_LIBRARY(osg)
USE_DOTOSGWRAPPER_LIBRARY(osgFX)
USE_DOTOSGWRAPPER_LIBRARY(osgParticle)
USE_DOTOSGWRAPPER_LIBRARY(osgTerrain)
USE_DOTOSGWRAPPER_LIBRARY(osgText)
USE_DOTOSGWRAPPER_LIBRARY(osgViewer)
USE_DOTOSGWRAPPER_LIBRARY(osgVolume)
//Static serializer
USE_SERIALIZER_WRAPPER_LIBRARY(osg)
USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation)
USE_SERIALIZER_WRAPPER_LIBRARY(osgFX)
USE_SERIALIZER_WRAPPER_LIBRARY(osgManipulator)
USE_SERIALIZER_WRAPPER_LIBRARY(osgParticle)
USE_SERIALIZER_WRAPPER_LIBRARY(osgTerrain)
USE_SERIALIZER_WRAPPER_LIBRARY(osgText)
USE_SERIALIZER_WRAPPER_LIBRARY(osgVolume)


On Tue, Apr 16, 2013 at 11:23 AM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 9:52 AM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Community,

 I have done the first steps with the android development (thanks to you
 as well). Now I am facing problem with animations. I have exported animated
 model from Blender and for some reason (as obvious :) ...) the model is not
 displayed on the android, it works ok with osganimationviewer though on pc.
 Is there any magic to be done to make the model appear? Only this, I know
 how to manage animations later

 Thanks a bunch!


 I haven't had particular problems with animations on Android, but make
 sure you actually link in support for osgAnimation - otherwise the
 osgAnimation-related parts are going to be ignored while loading the model.
 There are some macros to put in your code - search the archive, it has been
 discussed about a month ago.

 Regards,

 Jan



 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Jan,

what version of osg are you using? I am finding the later versions are not
that 'user friendly' to android? All the time with some issues. And seam
you went far with osg on android based on your emails

Thanks

Nick


On Tue, Apr 16, 2013 at 11:57 AM, Trajce Nikolov NICK 
trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 I found the conversation in the archive. I do have support for
 osgAnimation. Here is the listing. Also, you have mentioned use of osg2.
 What is this plugin for?

 //Static plugins Macro
 USE_OSGPLUGIN(ive)
 USE_OSGPLUGIN(osg)
 USE_OSGPLUGIN(osg2)
 USE_OSGPLUGIN(terrain)
 USE_OSGPLUGIN(rgb)
 USE_OSGPLUGIN(OpenFlight)
 USE_OSGPLUGIN(dds)
 USE_OSGPLUGIN(glsl)
 //Static DOTOSG
 USE_DOTOSGWRAPPER_LIBRARY(osg)
 USE_DOTOSGWRAPPER_LIBRARY(osgFX)
 USE_DOTOSGWRAPPER_LIBRARY(osgParticle)
 USE_DOTOSGWRAPPER_LIBRARY(osgTerrain)
 USE_DOTOSGWRAPPER_LIBRARY(osgText)
 USE_DOTOSGWRAPPER_LIBRARY(osgViewer)
 USE_DOTOSGWRAPPER_LIBRARY(osgVolume)
 //Static serializer
 USE_SERIALIZER_WRAPPER_LIBRARY(osg)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgFX)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgManipulator)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgParticle)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgTerrain)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgText)
 USE_SERIALIZER_WRAPPER_LIBRARY(osgVolume)


 On Tue, Apr 16, 2013 at 11:23 AM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 9:52 AM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Community,

 I have done the first steps with the android development (thanks to you
 as well). Now I am facing problem with animations. I have exported animated
 model from Blender and for some reason (as obvious :) ...) the model is not
 displayed on the android, it works ok with osganimationviewer though on pc.
 Is there any magic to be done to make the model appear? Only this, I know
 how to manage animations later

 Thanks a bunch!


 I haven't had particular problems with animations on Android, but make
 sure you actually link in support for osgAnimation - otherwise the
 osgAnimation-related parts are going to be ignored while loading the model.
 There are some macros to put in your code - search the archive, it has been
 discussed about a month ago.

 Regards,

 Jan



 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Robert Osfield
Hi Nick,

On 16 April 2013 10:57, Trajce Nikolov NICK
trajce.nikolov.n...@gmail.comwrote:

 I found the conversation in the archive. I do have support for
 osgAnimation. Here is the listing. Also, you have mentioned use of osg2.
 What is this plugin for?


osg2 is for the new serializers that support the .osgb (binary), .osgt
(text) and .osgx (xml) file formats.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Robert Osfield
On 16 April 2013 11:11, Trajce Nikolov NICK
trajce.nikolov.n...@gmail.comwrote:

 what version of osg are you using? I am finding the later versions are not
 that 'user friendly' to android? All the time with some issues. And seam
 you went far with osg on android based on your emails


svn/trunk has several fixes for Android support so should be a safer bet
than the last few dev releases.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Robert,

I am up to date with the trunk but stucked with 3.1.3. I was experiencing
crashes on android, was not able to run it, no bluish screen, no nothing :/

Thanks

Nick


On Tue, Apr 16, 2013 at 12:26 PM, Robert Osfield
robert.osfi...@gmail.comwrote:

 On 16 April 2013 11:11, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com
  wrote:

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 svn/trunk has several fixes for Android support so should be a safer bet
 than the last few dev releases.

 Robert.

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jordi Torres
Hi Nick and Robert,

There is a pending submission about static initialization not merged yet.
This is the cause of the crash in the trunk version.

Cheers.


2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Robert,

 I am up to date with the trunk but stucked with 3.1.3. I was experiencing
 crashes on android, was not able to run it, no bluish screen, no nothing :/

 Thanks

 Nick


 On Tue, Apr 16, 2013 at 12:26 PM, Robert Osfield robert.osfi...@gmail.com
  wrote:

 On 16 April 2013 11:11, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 svn/trunk has several fixes for Android support so should be a safer bet
 than the last few dev releases.

 Robert.

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jan Ciger
On Tue, Apr 16, 2013 at 11:57 AM, Trajce Nikolov NICK 
trajce.nikolov.n...@gmail.com wrote:

 I found the conversation in the archive. I do have support for
 osgAnimation. Here is the listing. Also, you have mentioned use of osg2.
 What is this plugin for?


The osg2 plugin enables support for the serializers - support for the new
.osgt/.osgb/.osgx formats. I believe the osgAnimation will not be loaded
correctly from an .osg file, make sure to use .osgt/.osgb formats.

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jan Ciger
On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions are not
 that 'user friendly' to android? All the time with some issues. And seam
 you went far with osg on android based on your emails


I have several working demos with OSG on a tablet and phone. The version I
have is trunk from 7.2.2013. The issues are unfortunately the way it is -
the Android support is very young still and with the complexity of the
framework, some bugs will creep in. However, with more people working on it
and testing it, the faster they get solved. However, I have found that most
problems I had were caused by the Android SDK/NDK issues, not really by OSG.

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Jan,

that's nice you have it working. Well, with your help I have a demo running
on the phone as well :)  But, the requirements just grow and I am to
stress and test other features (like animation, picking etc ...) due to the
project scope. That's where the benefits from the community come from.
Might be a good idea to update wiki with findings so far. The one at
present is very basic and brief for a very basic run. For other, we
beginners have to struggle and rely on you with more experience if you
are willing to share.

I will wait for Jordi to submit the patch then I will try again with the
trunk. And thanks for the hints so far !

Cheers,
Nick


On Tue, Apr 16, 2013 at 1:18 PM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 I have several working demos with OSG on a tablet and phone. The version I
 have is trunk from 7.2.2013. The issues are unfortunately the way it is -
 the Android support is very young still and with the complexity of the
 framework, some bugs will creep in. However, with more people working on it
 and testing it, the faster they get solved. However, I have found that most
 problems I had were caused by the Android SDK/NDK issues, not really by OSG.

 Jan

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jordi Torres
Hi Nick,

2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jan,

 that's nice you have it working. Well, with your help I have a demo
 running on the phone as well :)  But, the requirements just grow and I
 am to stress and test other features (like animation, picking etc ...) due
 to the project scope. That's where the benefits from the community come
 from. Might be a good idea to update wiki with findings so far. The one at
 present is very basic and brief for a very basic run. For other, we
 beginners have to struggle and rely on you with more experience if you
 are willing to share.


It would be nice if you can update the Android documentation section, or
write another article for beginners as you said. Just register yourself
in the joomla site at openscenegraph.com and write to me (with copy to
Robert) a private mail with your username, I'll give you publisher rights
to update the documentation.



 I will wait for Jordi to submit the patch then I will try again with the
 trunk. And thanks for the hints so far !


The code is submitted already by Jorge, but still not merged. Anyway you
can merge the code yourself and write to the thread of this submission[1]
and confirm if the patch is working for you. It would be nice too ;).

Thank you :).

[1]http://forum.openscenegraph.org/viewtopic.php?t=11939


Cheers,
 Nick


 On Tue, Apr 16, 2013 at 1:18 PM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 I have several working demos with OSG on a tablet and phone. The version
 I have is trunk from 7.2.2013. The issues are unfortunately the way it is -
 the Android support is very young still and with the complexity of the
 framework, some bugs will creep in. However, with more people working on it
 and testing it, the faster they get solved. However, I have found that most
 problems I had were caused by the Android SDK/NDK issues, not really by OSG.

 Jan

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
Hi Jordi,

thanks for the offers :) .. But at the moment I still don't feel confident
to publish it officially :/  What I did I wrote just about every
finding so far in my email conversation with Jan and you. Let wait then for
the merge, I don't think I can do it - the mergal.

I might come up with something and will email it to you and Jan for review
before publishing. Also, fyi, I rather write code then doc :)  but
anyway, for help of very beginners in the android and osg world would be
nice from me. Thanks again

Nick


On Tue, Apr 16, 2013 at 1:39 PM, Jordi Torres jtorresfa...@gmail.comwrote:

 Hi Nick,

 2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jan,

 that's nice you have it working. Well, with your help I have a demo
 running on the phone as well :)  But, the requirements just grow and I
 am to stress and test other features (like animation, picking etc ...) due
 to the project scope. That's where the benefits from the community come
 from. Might be a good idea to update wiki with findings so far. The one at
 present is very basic and brief for a very basic run. For other, we
 beginners have to struggle and rely on you with more experience if you
 are willing to share.


 It would be nice if you can update the Android documentation section, or
 write another article for beginners as you said. Just register yourself
 in the joomla site at openscenegraph.com and write to me (with copy to
 Robert) a private mail with your username, I'll give you publisher rights
 to update the documentation.



 I will wait for Jordi to submit the patch then I will try again with the
 trunk. And thanks for the hints so far !


 The code is submitted already by Jorge, but still not merged. Anyway you
 can merge the code yourself and write to the thread of this submission[1]
 and confirm if the patch is working for you. It would be nice too ;).

 Thank you :).

 [1]http://forum.openscenegraph.org/viewtopic.php?t=11939


 Cheers,
 Nick


 On Tue, Apr 16, 2013 at 1:18 PM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 I have several working demos with OSG on a tablet and phone. The version
 I have is trunk from 7.2.2013. The issues are unfortunately the way it is -
 the Android support is very young still and with the complexity of the
 framework, some bugs will creep in. However, with more people working on it
 and testing it, the faster they get solved. However, I have found that most
 problems I had were caused by the Android SDK/NDK issues, not really by OSG.

 Jan

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 Jordi Torres Fabra

 gvSIG 3D blog
 http://gvsig3d.blogspot.com


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Jordi Torres
2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jordi,

 thanks for the offers :) .. But at the moment I still don't feel confident
 to publish it officially :/  What I did I wrote just about every
 finding so far in my email conversation with Jan and you. Let wait then for
 the merge, I don't think I can do it - the mergal.


 I might come up with something and will email it to you and Jan for review
 before publishing. Also, fyi, I rather write code then doc :)  but
 anyway, for help of very beginners in the android and osg world would be
 nice from me.


Umm...Weird! You are the first developer in the world to prefer coding
rather than documenting ;) hehehe

Cheers


 Thanks again






 Nick


 On Tue, Apr 16, 2013 at 1:39 PM, Jordi Torres jtorresfa...@gmail.comwrote:

 Hi Nick,

 2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jan,

 that's nice you have it working. Well, with your help I have a demo
 running on the phone as well :)  But, the requirements just grow and I
 am to stress and test other features (like animation, picking etc ...) due
 to the project scope. That's where the benefits from the community come
 from. Might be a good idea to update wiki with findings so far. The one at
 present is very basic and brief for a very basic run. For other, we
 beginners have to struggle and rely on you with more experience if you
 are willing to share.


 It would be nice if you can update the Android documentation section, or
 write another article for beginners as you said. Just register yourself
 in the joomla site at openscenegraph.com and write to me (with copy to
 Robert) a private mail with your username, I'll give you publisher rights
 to update the documentation.



 I will wait for Jordi to submit the patch then I will try again with the
 trunk. And thanks for the hints so far !


 The code is submitted already by Jorge, but still not merged. Anyway you
 can merge the code yourself and write to the thread of this submission[1]
 and confirm if the patch is working for you. It would be nice too ;).

 Thank you :).

 [1]http://forum.openscenegraph.org/viewtopic.php?t=11939


 Cheers,
 Nick


 On Tue, Apr 16, 2013 at 1:18 PM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions are
 not that 'user friendly' to android? All the time with some issues. And
 seam you went far with osg on android based on your emails


 I have several working demos with OSG on a tablet and phone. The
 version I have is trunk from 7.2.2013. The issues are unfortunately the way
 it is - the Android support is very young still and with the complexity of
 the framework, some bugs will creep in. However, with more people working
 on it and testing it, the faster they get solved. However, I have found
 that most problems I had were caused by the Android SDK/NDK issues, not
 really by OSG.

 Jan

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org

 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 Jordi Torres Fabra

 gvSIG 3D blog
 http://gvsig3d.blogspot.com


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] animation on android

2013-04-16 Thread Trajce Nikolov NICK
lol ..:) ... Let first wait then for something stable where I can run with
models, animations, with picking. Then I will share my findings in a public
document.

Nick


On Tue, Apr 16, 2013 at 1:57 PM, Jordi Torres jtorresfa...@gmail.comwrote:




 2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jordi,

 thanks for the offers :) .. But at the moment I still don't feel
 confident to publish it officially :/  What I did I wrote just about
 every finding so far in my email conversation with Jan and you. Let wait
 then for the merge, I don't think I can do it - the mergal.


 I might come up with something and will email it to you and Jan for
 review before publishing. Also, fyi, I rather write code then doc :) 
 but anyway, for help of very beginners in the android and osg world would
 be nice from me.


 Umm...Weird! You are the first developer in the world to prefer coding
 rather than documenting ;) hehehe

 Cheers


 Thanks again






 Nick


 On Tue, Apr 16, 2013 at 1:39 PM, Jordi Torres jtorresfa...@gmail.comwrote:

 Hi Nick,

 2013/4/16 Trajce Nikolov NICK trajce.nikolov.n...@gmail.com

 Hi Jan,

 that's nice you have it working. Well, with your help I have a demo
 running on the phone as well :)  But, the requirements just grow and I
 am to stress and test other features (like animation, picking etc ...) due
 to the project scope. That's where the benefits from the community come
 from. Might be a good idea to update wiki with findings so far. The one at
 present is very basic and brief for a very basic run. For other, we
 beginners have to struggle and rely on you with more experience if you
 are willing to share.


 It would be nice if you can update the Android documentation section, or
 write another article for beginners as you said. Just register yourself
 in the joomla site at openscenegraph.com and write to me (with copy to
 Robert) a private mail with your username, I'll give you publisher rights
 to update the documentation.



 I will wait for Jordi to submit the patch then I will try again with
 the trunk. And thanks for the hints so far !


 The code is submitted already by Jorge, but still not merged. Anyway you
 can merge the code yourself and write to the thread of this submission[1]
 and confirm if the patch is working for you. It would be nice too ;).

 Thank you :).

 [1]http://forum.openscenegraph.org/viewtopic.php?t=11939


 Cheers,
 Nick


 On Tue, Apr 16, 2013 at 1:18 PM, Jan Ciger jan.ci...@gmail.com wrote:



 On Tue, Apr 16, 2013 at 12:11 PM, Trajce Nikolov NICK 
 trajce.nikolov.n...@gmail.com wrote:

 Hi Jan,

 what version of osg are you using? I am finding the later versions
 are not that 'user friendly' to android? All the time with some issues. 
 And
 seam you went far with osg on android based on your emails


 I have several working demos with OSG on a tablet and phone. The
 version I have is trunk from 7.2.2013. The issues are unfortunately the 
 way
 it is - the Android support is very young still and with the complexity of
 the framework, some bugs will creep in. However, with more people working
 on it and testing it, the faster they get solved. However, I have found
 that most problems I had were caused by the Android SDK/NDK issues, not
 really by OSG.

 Jan

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org

 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org

 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 Jordi Torres Fabra

 gvSIG 3D blog
 http://gvsig3d.blogspot.com


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 trajce nikolov nick

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 Jordi Torres Fabra

 gvSIG 3D blog
 http://gvsig3d.blogspot.com


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] rendering context

2013-04-16 Thread Sajjadul Islam
Hi forum,

I need to get the handle of the current OpenGL rendering context and handle to 
the device context. 

Is there any class in OSG that provides us with these information in a platform 
independent manner. Theses functions are accessed in the windows platform 
through windows.h , in linux through glx.h.

Or may be i need to use some macros to deal with different platforms.  

I need those information to initialize an OpenCL context to share the resources.


Your inputs will be greatly appreciated!

Thank you!

Cheers,
Sajjadul

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53666#53666





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgWidget::EventInterface possible memory leak

2013-04-16 Thread Judson Weissert

Robert,

On 4/16/2013 5:26 AM, Robert Osfield wrote:

Hi Judson and Jeremy,

On 15 April 2013 22:15, Judson Weissert jud...@mfrac.com 
mailto:jud...@mfrac.com wrote:


I know the feeling :) I am having difficulties trying to figure
out the likelihood of circular references if the type is switched
from observer_ptr to ref_ptr. I noticed that there are some
clients that call the osgWidget::Callback constructor and pass
this as the obj argument. That is, the callback IS an
osgWidget::Window. Currently, I am not thinking clearly enough to
identify the repercussions of the aforementioned behavior if the
callbacks were stored as a ref_ptr. See osgwidgetnotebook for example.


I've looked at the code and the way the osgwidget examples use the 
addCallback() method and it looks to me like the list should be a 
ref_ptr, I looked for potential for circular references and didn't 
spot any.  I've modified the code to use a ref_ptr and the osgwidget 
examples I tried all worked fine so have now checked this change into 
svn/trunk.


Thanks! I will test it some more on my end and post back to the list if 
I find any unintended consequences.


Regards,

Judson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] site down ?

2013-04-16 Thread Sajjadul Islam
Hi,

Can anyone access the following osg site ? 

http://www.openscenegraph.org/

Cheers,
Sajjadul

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53668#53668





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] site down ?

2013-04-16 Thread Jordi Torres
Hi Sajjadul,

The server is down at the moment so the trac and the svn repository are not
accesible at this moment. It has to wait until tomorrow to be fixed :(.
SOrry for the inconvenience. There is a chance you can find what you are
looking for at the new site (http://www.openscenegraph.com)

Sorry for the inconvenience.


2013/4/16 Sajjadul Islam dosto.wa...@gmail.com

 Hi,

 Can anyone access the following osg site ?

 http://www.openscenegraph.org/

 Cheers,
 Sajjadul

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=53668#53668





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [vpb] vpbmaster --splits

2013-04-16 Thread Tonino Tarsi
Thanks Robert

Cheers,
Tonino

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53671#53671





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org