[OT]? add GPL to code

23 views
Skip to first unread message

Stefan Andersson

unread,
May 22, 2013, 4:38:15 AM5/22/13
to soft...@listproc.autodesk.com
Hello everyone,

I was just wondering if anyone has added GPL to their code, and how the practice is. I looked at how they have done in the blender python scripts. So I need to add that block to each file?

Anyone experienced in this sort of thing?

regards
stefan


--
Stefan Andersson | Digital Janitor | Generalist for hire
blog | showreel | twitter | LinkedIn | Instagram | cell: +46-73-6268850 | skype:sanders3d


Raffaele Fragapane

unread,
May 22, 2013, 4:52:28 AM5/22/13
to soft...@listproc.autodesk.com
If you're distributing, since you never pay for comments, just add it in every file. If you're not distributing just avoid caring altogether :p
--
Our users will know fear and cower before our software! Ship it! Ship it and let them flee like the dogs they are!

Stefan Andersson

unread,
May 22, 2013, 6:36:03 AM5/22/13
to soft...@listproc.autodesk.com
well I'm adding it to a public bitbucket repo, so I guess I'll have to add it to each file.

regards
stefan


olivier jeannel

unread,
May 22, 2013, 7:13:22 AM5/22/13
to soft...@listproc.autodesk.com
Hi there !
I'm emiting particles from curve. I'd like to emit more particle at the
beginning of the curve and less at the end of the curve.

Since I cannot plug the the U value in the Rate port of the emitter, I
think I should create a Delete rule based on particle IDs.
So that I delete more particles closer to the U end (0) and and delete
less particle that are closer to the U begining (1) value of the curve.
I "think", I should do it with a random on the ID, and probably some
Fcurve... But so far, I can't have it working...

Any idea ?

Thanks !

Leo Quensel

unread,
May 22, 2013, 7:31:41 AM5/22/13
to soft...@listproc.autodesk.com
On top of my head:
 
Get Self.emitlocation -> Get PointU -> FCurve -> Test Random Probability -> Delete Point -> Execute on Emit
 
Gesendet: Mittwoch, 22. Mai 2013 um 13:13 Uhr
Von: "olivier jeannel" <olivier...@noos.fr>
An: soft...@listproc.autodesk.com
Betreff: Delete particles based on U value

Rob Chapman

unread,
May 22, 2013, 7:33:58 AM5/22/13
to soft...@listproc.autodesk.com
filter by probability multiplied by a linearly interpolated curve U of 0 - 1

et viola! :)

olivier jeannel

unread,
May 22, 2013, 9:03:24 AM5/22/13
to soft...@listproc.autodesk.com
Exactly !
...Damn the compound was already existing !
Thank's Leo, thank's Rob :)

Ben Houston

unread,
May 22, 2013, 9:05:33 AM5/22/13
to soft...@listproc.autodesk.com
If you are using a library, just add a GPL license to that folder or
something like that.

One piece of GPL code in a project tends to make the whole project GPL.

I'd recommend keeping it very simple and just put a LICENSE.TXT file
at the root of the whole project and append the various licenses
together with a mention where each project came from. Updating
per-file licenses is a pain in the ass.

Best regards,
-ben
--
Best regards,
Ben Houston
Voice: 613-762-4113 Skype: ben.exocortex Twitter: @exocortexcom
http://Exocortex.com - Passionate CG Software Professionals.

Vincent Ullmann

unread,
May 22, 2013, 6:59:54 PM5/22/13
to soft...@listproc.autodesk.com
Here might be another Solution, using the UV-to-Location-Node, with an
Build_Linear_Interpolated_Array Node and ..... and fCurve.
This allows you to be very specizic
emitCurve.JPG

olivier jeannel

unread,
May 23, 2013, 11:36:57 AM5/23/13
to soft...@listproc.autodesk.com
Hey Vincent,
Thank's alot for that one. It must be possible to implement in the
EmitFromCurve compound, no ?
Not in front of SI atm, look's really handy :)


Le 23/05/2013 00:59, Vincent Ullmann a �crit :
Reply all
Reply to author
Forward
0 new messages