FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OpenCTM

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
Stanley Pancakes



Joined: 26 Dec 2009
Posts: 18

PostPosted: Sat Jan 23, 2010 4:43 pm    Post subject: OpenCTM Reply with quote

Hello again!

What would you think of adding OpenCTM support to Derelict2? Shortly speaking, it's a nice and clean C library that allows to work with 'ctm' 3D mesh format.

I actually already 'derelictified' it in my sandbox - that was little effort thanks to its' clean design, so if you're interested, I'll just polish it up, reformat the code, insert licenses, makefile targets and put all this on tracker.

I realize that maybe it would be better to add new bindings after resolving '__gshared' issue, but this may be quite the meantime, and OpenCTM is only one small but so nice library... Wink
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sun Jan 24, 2010 4:56 am    Post subject: Reply with quote

I'll definitely consider it. I've got a bit of a backlog right now, but I'll revosot this at some point. If you post a ticket, I likely won't forget about it.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Stanley Pancakes



Joined: 26 Dec 2009
Posts: 18

PostPosted: Sun Jan 24, 2010 11:48 am    Post subject: Reply with quote

I've added a ticket with patches.

There is one thing of concern here: OpenCTM is supplied with additional header, openctmpp.h. This header isn't related to the library itself, but it provides C++ wrappers for OpenCTM functionality, mainly two classes: CTMimporter and CTMexporter.

The header provides full source code for these classes, but I don't know whether its D counterpart should be included in Derelict, and if it should, what license should it be accompanied with (as the original source itself comes with zlib-style license). I could submit additional ticket/patch with openctmpp.d if you think it's OK to provide additional licensing info in this file.
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon Jan 25, 2010 6:59 pm    Post subject: Reply with quote

Stanley Pancakes wrote:

The header provides full source code for these classes, but I don't know whether its D counterpart should be included in Derelict, and if it should, what license should it be accompanied with (as the original source itself comes with zlib-style license). I could submit additional ticket/patch with openctmpp.d if you think it's OK to provide additional licensing info in this file.


My first instinct is to say no. If we do fold the bindings in, the openctmpp stuff could be hosted outside of the project and linked to on the main Wiki page.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Stanley Pancakes



Joined: 26 Dec 2009
Posts: 18

PostPosted: Tue Jan 26, 2010 1:58 pm    Post subject: Reply with quote

Then I guess current ticket it is.
That additional header doesn't add anything new to the library anyway, so I was concerned more about 'consistency' of binding rather than about preserving all the functionality.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group