View previous topic :: View next topic |
Author |
Message |
Linker
Joined: 06 Nov 2006 Posts: 29 Location: Almaty, Kazakhstan
|
Posted: Fri Sep 14, 2007 11:00 am Post subject: Cg runtime bindings |
|
|
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Fri Sep 14, 2007 8:38 pm Post subject: |
|
|
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 |
|
|
Extrawurst
Joined: 14 Mar 2007 Posts: 41
|
Posted: Thu Jan 31, 2008 8:54 am Post subject: |
|
|
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 |
|
|
Extrawurst
Joined: 14 Mar 2007 Posts: 41
|
Posted: Thu Jan 31, 2008 8:57 am Post subject: |
|
|
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 |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Thu Jan 31, 2008 11:17 pm Post subject: |
|
|
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 |
|
|
mwarning
Joined: 01 Apr 2007 Posts: 56
|
Posted: Sun Feb 03, 2008 7:27 am Post subject: |
|
|
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 |
|
|
Extrawurst
Joined: 14 Mar 2007 Posts: 41
|
Posted: Sun Feb 03, 2008 7:45 am Post subject: |
|
|
ok so here is the link
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 |
|
|
mwarning
Joined: 01 Apr 2007 Posts: 56
|
Posted: Sun Feb 03, 2008 9:01 am Post subject: |
|
|
thanks!
I also don't use directx stuff. |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Sun Sep 07, 2008 12:25 pm Post subject: bump |
|
|
Why no Cg (gl) for derelict? |
|
Back to top |
|
|
Extrawurst
Joined: 14 Mar 2007 Posts: 41
|
Posted: Sun Sep 07, 2008 3:16 pm Post subject: |
|
|
what do you mean ? my bindings are for derelict !? |
|
Back to top |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Sun Sep 07, 2008 6:29 pm Post subject: My bad |
|
|
Why no official (in trunk) Cg (gl) for derelict?
Or can I just not find them? |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sun Sep 07, 2008 9:41 pm Post subject: Re: My bad |
|
|
MM wrote: | Why no official (in trunk) Cg (gl) for derelict?
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 |
|
|
MM
Joined: 13 Jun 2006 Posts: 60
|
Posted: Mon Sep 08, 2008 8:42 am Post subject: |
|
|
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 |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Mon Sep 08, 2008 9:46 am Post subject: |
|
|
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Sep 08, 2008 7:17 pm Post subject: |
|
|
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 |
|
|
|