Unity-Raytracer icon indicating copy to clipboard operation
Unity-Raytracer copied to clipboard

Updating the ray tracer to C# for Unity 2017

Open Charleston314 opened this issue 7 years ago • 4 comments

Good day, I am translating the ray tracer that BenjaminSchaaf wrote to C#, so that I may use it as a base to write my own raytracer. @BenjaminSchaaf: I am still working on the translation. When I am done, can I distribute the code and possibly sell it(I will give credit).

Charleston314 avatar Mar 27 '18 00:03 Charleston314

This repository does not have a license attached, so it is beholden to default copyright and may not be copied, distributed or modified. I'd be happy to slap a GPLv3 license on my code though.

My original purpose behind this tutorial was to introduce people to the concept of raytracing, so I'm not comfortable with a more liberal license. So you may modify, distribute and (indeed) sell in accordance with the GPLv3 license.

BenjaminSchaaf avatar Mar 27 '18 03:03 BenjaminSchaaf

@BenjaminSchaaf: Thank you for the license and the tutorial. I will probably just use this for learning how to build a basic ray-tracer, and then code my own. Having somewhere to start from is quite helpful.

Side note: With the GPLv3, it seems as though it would let other people than the author sell the program once they bought it, since the license is the same for everyone(I probably just misread though). Regardless, it is still a good license for helping the public to the maximum extent. Thank you again.

Charleston314 avatar Mar 27 '18 06:03 Charleston314

@Charleston314 Yes, under GPLv3 you can sell the software, but you must distribute it under GPLv3 and make the source code available. So while you could sell it, the people you sell to may pass it on for free.

BenjaminSchaaf avatar Mar 27 '18 06:03 BenjaminSchaaf

Ok, thanks for the info. I'll place the GPLv3 in the code I'm working on. Do you want me to close this pull request?

Charleston314 avatar Mar 27 '18 21:03 Charleston314