<div dir="ltr">Hi Guillaume,<div><br><div>Nice work!</div><div><br></div><div>Making Cycles use of OpenImageIO optional is fine with me, we could have that upstream.</div><div><br></div><div>Be aware that we use it for a bit more than just loading images. We also use some of its utilities for handling paths, unique strings, argument parsing, etc. Those could be replaced and I think that could be good in the interest of making core Cycles easier to build, but it's not trivial.</div><div><br></div><div>Alternatively you keep use the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">OpenImageIO_Util</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span> </span>library that is part of OpenImageIO. It is much smaller and includes just these utilities, so you'd only have to make the image reading/writing part in Cycles optional.</span></div><div><br></div><div>Regards,</div><div>Brecht.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 11:01 AM, Guillaume Chéreau <span dir="ltr"><<a href="mailto:guillaume.chereau@gmail.com" target="_blank">guillaume.chereau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all, this is my first message to this list.<br>
<br>
I am interested in integrating cycles into my open source voxel editor<br>
project 'goxel':<br>
<a href="https://github.com/guillaumechereau/goxel" rel="noreferrer" target="_blank">https://github.com/<wbr>guillaumechereau/goxel</a><br>
<br>
Today I had some success compiling cycles along goxel and rendering<br>
some cubes with it!<br>
<br>
One thing that I want to do is reducing the size of cycles as much as<br>
I can to make it lightweight and more portable (for example I would<br>
like to be able to compile if for iOS).<br>
<br>
One of the dependencies I want to remove is OpenImageIO, since I don't<br>
really need that in goxel.  I was thinking of simply creating a dummy<br>
library with the mimimal api required to compile cycles, or maybe<br>
modifying cycles itself to make the image support optional.<br>
<br>
Any hint on the best way to do that?  If I make OpenImageIO optional,<br>
would there be interest to merge the changes upstream?<br>
<br>
Regards,<br>
Guillaume<br>
______________________________<wbr>_________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="https://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">https://lists.blender.org/<wbr>mailman/listinfo/bf-cycles</a><br>
</blockquote></div><br></div>