OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

OSG Python bindings


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Joel
Newbie


Joined: 02 Apr 2018
Posts: 3

PostPosted: Fri Apr 20, 2018 10:12 pm    Post subject:
OSG Python bindings
Reply with quote

Hi,

Is anyone aware of any active projects on OSG bindings for Python, or if there are any plans/interest in creating them?

There used to be osgswig and osgBoostPython among others, but they all seem to be abandoned.


Thanks

-Joel
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12132

PostPosted: Sun Apr 29, 2018 11:25 am    Post subject:
OSG Python bindings
Reply with quote

Hi Joel,

I don't know of any active Python/OSG projects.

There is integrated Lua support, see the
OpenSceneGraph/src/osgPlugins/lua, this leverages the OSG's
serailizers to set/get properties from the scene graph as well as
create scene graph objects. You could possible us this instead of
Python.

If Python support was to be added for the OSG the approach I would
recommend is using the same approach that the lua plugin uses -
utilizing the osg::ScriptEngine and osgDB::ClassInterface classes as
the Lua plugin does.

Robert

On 20 April 2018 at 23:12, Joel Reed <> wrote:
Quote:
Hi,

Is anyone aware of any active projects on OSG bindings for Python, or if there are any plans/interest in creating them?

There used to be osgswig and osgBoostPython among others, but they all seem to be abandoned.


Thanks

-Joel

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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 475
Location: France

PostPosted: Mon Apr 30, 2018 6:53 pm    Post subject:
Re: OSG Python bindings
Reply with quote

Hi,
not update since 2012 doesn't necessary mean it's abandonned...
I've checked osgswig at the time, but don't found it very usefull. it's not a proper wrapping and it avoid extensibility (you can't subclass generated). However as it's parser based you can make it work with a minimum effort.

I haven't checked osgBoostPython but it seams more promising than swig. I would recommend this one if you have time to maintain it.

Cheers

Joel wrote:
Hi,

Is anyone aware of any active projects on OSG bindings for Python, or if there are any plans/interest in creating them?

There used to be osgswig and osgBoostPython among others, but they all seem to be abandoned.


Thanks

-Joel
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Normal and color bindings (in Geometry) arennuit General 2 Tue Jun 14, 2016 4:06 pm View latest post
No new posts Added CMake options to disable V8, L... robertosfield General 1 Mon Dec 22, 2014 10:44 am View latest post
No new posts Added CMake options to disable V8, L... James Turner General 1 Thu Jan 30, 2014 8:55 am View latest post
No new posts Added CMake options to disable V8, Lu... Hamm, Brandon Submission 0 Thu Jan 30, 2014 5:03 am View latest post
No new posts Disabling Python plugin James Turner General 2 Sat Nov 16, 2013 11:07 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP