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 

[General Purpose CPP Graphical Introspection]


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Announcement [ANN]
View previous topic :: View next topic  
Author Message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 316

PostPosted: Fri Jan 16, 2015 9:50 am    Post subject:
[General Purpose CPP Graphical Introspection]
Reply with quote

Hello dear OSG-community,

http://youtu.be/yAYs5-lYj7k

Here's an eldest video showing how to create a particle system
https://www.youtube.com/watch?v=mAxGVT_d1bE

dirty-not-up2date and not-always-available french website:
http://osg4noob.olympe.in

My basic idea was to use QT wrapping in order to do create and call method object at runtime as cppintrospection [google.fr]…
But QML seamed quite promising in order to bring both wrapping and graphical boxing

So I develop some kind of preprecompiler (before moc so I called it pmoc) that read cpp headers and generates customisable QMLplugin code in order to handle:
-Nodal logic ( via config file:copy/paste+fx ambiguities leverage)
-Pointer life cycle ( via config file: handle smartpointer/normalpointer)
-Native object boxing (put native object in QT boxes)
-Graphical Menu for method ambiguities leverage
-QML method wrapping (not finished..I’m doing it by hand for the moment)

I tryied to explain a test case applying code generation to OpenSceneraph library on the website but it’s not very technically detailled….(and written in French)


So the purpose of the underlying tool is not restricted to osg but almost all cpp libraries (without twisted stuff…ex: I have some grammar problems parsing Bullet headers)

So Before you tell it “Yes, the interface is ugly” because osg is my testbench and I have lower level things to do like improve the generated code for ex…

Here’s an external reference about something near to what i’m doing (https://www.qtdeveloperdays.com/2013/sites/default/files/presentation_pdf/QtDevDaysSFO-2013_WrappingCppForQml_final.pdf)
Is anyone know how to raise money for this kind of project?


Best regards,
Julien


Last edited by mp3butcher (Julien Valentin) on Fri Jan 16, 2015 10:19 am; edited 1 time in total
Back to top
View user's profile Send private message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 316

PostPosted: Tue Nov 03, 2015 3:03 am    Post subject:
Re: [General Purpose CPP Graphical Introspection]
Reply with quote

Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 233

PostPosted: Tue Nov 03, 2015 11:55 am    Post subject:
[General Purpose CPP Graphical Introspection]
Reply with quote

Hi.

Please, add screenshots, video and some information. Currently there's not enough motivation even to click the project link.


2015-11-03 10:03 GMT+07:00 Julien Valentin < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
Here's sources
https://github.com/mp3butcher/osg4noob/ [/url]

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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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


Joined: 17 Feb 2010
Posts: 316

PostPosted: Tue Nov 03, 2015 12:56 pm    Post subject:
Re: [General Purpose CPP Graphical Introspection]
Reply with quote

Hello all

My basic idea was to use QT wrapping in order to do create and call method object at runtime as cppintrospection [google.fr]…
But QML seamed quite promising in order to bring both wrapping and graphical boxing

So I develop some kind of preprecompiler (before moc so I called it pmoc) that read cpp headers and generates customisable QMLplugin code

pmoc aims toward C++ runtime graphical manipulation through:
*javascript
*and QML
It generates stubs and skeletons of customizable Qt Components to describe the logic of your libraries in a common graphical environment.

pmoc features:
-Native object boxing (put native object in QT boxes)
-javascript/QML method wrapping
-Nodal logic ( via config file:copy/paste+fx ambiguities leverage)
-Pointer life cycle ( via config file,ex: handle ref_pointer/normalpointer)
-Multiple inheritance via delegation

pmoc limitations:
-no polymorphism in javascript
-no macro parsing
-template are not handled

PMOC trial version for MSVC2013
https://github.com/mp3butcher/osg4noob/blob/master/pmoc-beta-libbuiltQt5.5-msvc2013-trial.zip?raw=true

I tried to explain a test case applying code generation to OpenSceneraph library (the so called osg4noob) on the following website but it’s not very technically detailled….(and written in French)
(Videos are not up to date...I recently added a javascript console)
http://osg4noob.olympe.in

Here are sources:
https://github.com/mp3butcher/osg4noob/

So the purpose of the underlying tool (pmoc) is not restricted to osg but almost all cpp libraries

And before you tell it “Yes, the GUIs are ugly” because osg is my testbench and I have lower level things to do ( like improving the generated code for ex…)

Here’s an external reference about something near to what i’m doing (https://www.qtdeveloperdays.com/2013/sites/default/files/presentation_pdf/QtDevDaysSFO-2013_WrappingCppForQml_final.pdf)
And if anyone knows how to raise money for this project, it would be very nice.


Best regards,
Julien



kornerr wrote:
Hi.

Please, add screenshots, video and some information. Currently there's not enough motivation even to click the project link.


2015-11-03 10:03 GMT+07:00 Julien Valentin < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
Here's sources
https://github.com/mp3butcher/osg4noob/ [/url]

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





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Announcement [ANN] 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 OutputStream::writePrimitiveSet purpose mp3butcher General 0 Tue Aug 01, 2017 11:58 am View latest post
No new posts [3rdParty/maybe OSG general] osgoculu... Trajce Nikolov NICK General 2 Wed Mar 01, 2017 11:24 pm View latest post
No new posts [General Purpose Graphical Introspect... robertosfield Announcement [ANN] 11 Sat Jan 17, 2015 11:00 am View latest post
No new posts osgDB::ReadWriter General Options Str... NavyBas General 1 Thu Aug 09, 2012 5:59 pm View latest post
No new posts What's the purpose of ARToolkitTracke... praveenaj General [3rdparty] 0 Sun Aug 05, 2012 2:37 pm 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