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

Cg runtime bindings
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
Linker



Joined: 06 Nov 2006
Posts: 29
Location: Almaty, Kazakhstan

PostPosted: Fri Sep 14, 2007 11:00 am    Post subject: Cg runtime bindings Reply with quote

Hello everyone.

I'm in the process of derelictifying Cg.
I think that the new bindings should be added to Derelict, if they are needed by anyone else.

Unfortunately, Cg has some platform dependencies... I'm talking about Direct3D support. Right now, I omit all those things -- is this okay?

Regards.
Back to top
View user's profile Send private message
aldacron



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

PostPosted: Fri Sep 14, 2007 8:38 pm    Post subject: Reply with quote

I doubt I'll be adding any Cg bindings to the trunk any time soon. It was brought up before, but I just don't think it worthwhile. For now anyway.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Extrawurst



Joined: 14 Mar 2007
Posts: 41

PostPosted: Thu Jan 31, 2008 8:54 am    Post subject: Reply with quote

aldacron wrote:
I doubt I'll be adding any Cg bindings to the trunk any time soon. It was brought up before, but I just don't think it worthwhile. For now anyway.


why is that ? well if u change your mind, my own convertion of it could be used. i just recently created them to be able to use geometry shaders in D via CG. so i have derelictified bindings for CG 2.0 lying around here.
Back to top
View user's profile Send private message
Extrawurst



Joined: 14 Mar 2007
Posts: 41

PostPosted: Thu Jan 31, 2008 8:57 am    Post subject: Reply with quote

ooops i havent read that Linker also converted them.. well as u can see its a flaw that everyone converts them by theirselfs, it would be so much easier to add them to derelict Wink
Back to top
View user's profile Send private message
aldacron



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

PostPosted: Thu Jan 31, 2008 11:17 pm    Post subject: Reply with quote

If you want to make the bindings available, you can put them up for download somewhere and add a link to the Derelict project wiki. I'll consider adding it to the trunk, but no promises.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
mwarning



Joined: 01 Apr 2007
Posts: 56

PostPosted: Sun Feb 03, 2008 7:27 am    Post subject: Reply with quote

I would like to have Cg bindings (to avoid the work doing it myself).
Can i get them from somewhere? (aka *can has link*)
Back to top
View user's profile Send private message
Extrawurst



Joined: 14 Mar 2007
Posts: 41

PostPosted: Sun Feb 03, 2008 7:45 am    Post subject: Reply with quote

ok so here is the link Wink

NOTE: these are the CG 2.0 bindings and i converted just the cgCore and cgGl stuff cause i guess the directX side is unnecessary under D anyway.

www.extrawurst.org/downs/cg2_0.zip
Back to top
View user's profile Send private message
mwarning



Joined: 01 Apr 2007
Posts: 56

PostPosted: Sun Feb 03, 2008 9:01 am    Post subject: Reply with quote

thanks!

I also don't use directx stuff.
Back to top
View user's profile Send private message
MM



Joined: 13 Jun 2006
Posts: 60

PostPosted: Sun Sep 07, 2008 12:25 pm    Post subject: bump Reply with quote

Very Happy

Why no Cg (gl) for derelict?
Back to top
View user's profile Send private message
Extrawurst



Joined: 14 Mar 2007
Posts: 41

PostPosted: Sun Sep 07, 2008 3:16 pm    Post subject: Reply with quote

what do you mean ? my bindings are for derelict !?
Back to top
View user's profile Send private message
MM



Joined: 13 Jun 2006
Posts: 60

PostPosted: Sun Sep 07, 2008 6:29 pm    Post subject: My bad Reply with quote

Why no official (in trunk) Cg (gl) for derelict? Embarassed

Or can I just not find them?
Back to top
View user's profile Send private message
aldacron



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

PostPosted: Sun Sep 07, 2008 9:41 pm    Post subject: Re: My bad Reply with quote

MM wrote:
Why no official (in trunk) Cg (gl) for derelict? Embarassed

Or can I just not find them?


For several reason, a big one being maintainability, I'm very strict on adding new packages to the trunk. Each new package adds source to keep updated and bug free as well as documentation. I don't devote enough time to manage what's already there. So unless I think a package is really worthwhile to add, it likely isn't getting in.

And really, if people want a package enough to host it and maintain it externally, I don't see how that's any different than having it in the Derelict trunk. It could actually be a better option if they put the effort in keeping it up to date.

That said, I would change my mind about a CG binding if I ever get around to adding a DirectX binding to Derelict. Then it would make sense, IMO. For now, I don't want to be bothered maintaining a DerelictCG package when you can use GLSL with DerelictGL.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
MM



Joined: 13 Jun 2006
Posts: 60

PostPosted: Mon Sep 08, 2008 8:42 am    Post subject: Reply with quote

Ok, I think you are right about the external hosting/maintaining of packages.
Why not encourage people to do so by making a central list of externally unofficial derelict packages? (sticky on the forums or maybe on the project page)
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Mon Sep 08, 2008 9:46 am    Post subject: Reply with quote

MM wrote:
Why not encourage people to do so by making a central list of externally unofficial derelict packages? (sticky on the forums or maybe on the project page)
There is such a list already at the Derelict project page ("Although not official Derelict packages, members of the community have produced the following bindings (these packages may or may not be compilable with the latest DMD or GDC)").
Back to top
View user's profile Send private message AIM Address
aldacron



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

PostPosted: Mon Sep 08, 2008 7:17 pm    Post subject: Reply with quote

jcc7 wrote:
MM wrote:
Why not encourage people to do so by making a central list of externally unofficial derelict packages? (sticky on the forums or maybe on the project page)
There is such a list already at the Derelict project page ("Although not official Derelict packages, members of the community have produced the following bindings (these packages may or may not be compilable with the latest DMD or GDC)").


And I've just added to it the link to the CG bindings.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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