zpelgrims / zoic

Extended camera shader for the ever-awesome Arnold Renderer
http://www.zenopelgrims.com/zoic
67 stars 25 forks source link

Removing OpenImageIO Dependency #4

Closed gatgui closed 8 years ago

gatgui commented 8 years ago

Starting arnold 4.2.9.0, the api provides a new function 'AiTextureLoad' to read a texture pixel data. I added a way to take advantage of this and thus removing straight dependency to OpenImageIO. It is disabled by default and is enabled by adding 'NO_OIIO' to the compiler defines.

Given the change or prototype between 4.2.9.0 and 4.2.10.0, I would suggest not to build against 4.2.9.0 at all.