[Bf-committers] Alembic support in Blender

Jeffrey italic.rendezvous at gmail.com
Sun Mar 8 07:06:40 CET 2015


I got Alembic building thanks to Martijn's fork on github and got 
blender building with support. I've tested that it works within blender 
and reads from stored caches. Where is the best place we can ask 
questions or give feedback? Here or on the patch tracker?

On 03/05/2015 04:15 AM, Sergey Sharybin wrote:
> Just  quick update,
>
> Linux build environment should be now ready for alembic.
>
> On Tue, Mar 3, 2015 at 9:45 PM, Jeffrey<italic.rendezvous at gmail.com>  wrote:
>
>> Neither can I. For what it's worth, I have tried building from their
>> sources, which gives me a linking error, as well as with
>> install_deps.sh, which tells me "getopt: unrecognized option
>> --with-alembic" and --with-all does not download or build it.
>>
>> Also Fedora 20 x64
>>
>> On 03/03/2015 05:34 AM, Thomas Volkmann wrote:
>>> I guess I have to wait for the buildbot. I didn't manage to compile
>> Alembic on
>>> my system (Fedora20).
>>> Is there an estimated time when you want to set it up?
>>>
>>> thx,
>>> Thomas
>>>
>>>
>>>> Lukas Tönne<lukas.toenne at gmail.com>  hat am 3. März 2015 um 13:49
>> geschrieben:
>>>> Martijn Berger (Juicyfruit) has done a great job making an Alembic fork
>> on
>>>> github, to get rid of all the annoying cmake errors in Alembic sources.
>>>>
>>>> https://github.com/martijnberger/alembic
>>>>
>>>> A pull request has been made to try and get these changes into Alembic.
>> For
>>>> the time being i would suggest using Martijn's version, which apart from
>>>> build file fixes is the same as official Alembic.
>>>>
>>>> On Tue, Mar 3, 2015 at 11:48 AM, Lukas Tönne<lukas.toenne at gmail.com>
>> wrote:
>>>>> I didn't manage to compile with scons yet, but that's mostly because of
>>>>> library path issues and time constraints on my side. The buildbot also
>> uses
>>>>> scons, so if there are remaining issues we will fix them in the
>> process of
>>>>> getting the buildbot updated.
>>>>>
>>>>> On Tue, Mar 3, 2015 at 10:54 AM, Piotr Arlukowicz <
>>>>> piotao at polskikursblendera.pl> wrote:
>>>>>
>>>>>> WOW, that's a long awaited news! Thank you Lucas!!!
>>>>>>
>>>>>> what about scons integration? Can I check this out?
>>>>>>
>>>>>> regards
>>>>>> Pio
>>>>>>
>>>>>> Piotr
>>>>>> Arlukowicz, BFCT
>>>>>>
>>>>>> *YT: /user/piotao?feature=guide*
>>>>>> *FB:* */polskikursblendera* *TW:*
>>>>>> */piotao*
>>>>>> *Blender Network:* *https://www.blendernetwork.org/piotr-arlukowicz
>>>>>> <https://www.blendernetwork.org/piotr-arlukowicz>*
>>>>>> *Polski Kurs Blendera:*http://polskikursblendera.pl
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2015-03-02 19:24 GMT+01:00 Lukas Tönne<lukas.toenne at gmail.com>:
>>>>>>
>>>>>>> It's about to get real!
>>>>>>>
>>>>>>> The Gooseberry team would like to start using the new caching system
>>>>>> with
>>>>>>> Alembic ASAP. This means that we should make sure Alembic
>> dependencies
>>>>>> and
>>>>>>> the library itself can be properly built and linked by Blender. First
>>>>>> goal
>>>>>>> is Linux (since we use it in the Blender Institute), but of course it
>>>>>>> should work on all platforms. To avoid confusion i will specify
>> exactly
>>>>>>> which versions we need to use.
>>>>>>>
>>>>>>> The plan is to first merge the Alembic branch into our gooseberry
>> branch
>>>>>>> for testing and refinement. However, setting up Alembic build
>> systems on
>>>>>>> the official buildbot and release build systems would help avoid
>> future
>>>>>>> problems and smooth out the procedure of merging with master later
>> on.
>>>>>>> As a template for working around build system quirks the usual
>>>>>>> install_deps.sh script is available. This builds the Alembic library
>> on
>>>>>> a
>>>>>>> standard Ubuntu 14.10 installation. In addition, it tweaks a couple
>> of
>>>>>>> build files in the Alembic sources in order to disable certain parts
>>>>>> that
>>>>>>> have badly defined build scripts (examples, tests) - there may be
>> more
>>>>>>> proper ways of treating these build file issues.
>>>>>>>
>>>>>>> First a couple of links:
>>>>>>>
>>>>>>> Official Alembic site:
>>>>>>> http://alembic.io/
>>>>>>>
>>>>>>> The branch on phabricator:
>>>>>>>
>> https://developer.blender.org/diffusion/B/repository/alembic_pointcache/
>>>>>>> Can be checked out using:
>>>>>>> git clone git://git.blender.org/blender.git -b alembic_pointcache
>>>>>>>
>>>>>>> The main Alembic section of the install_deps.sh script (see XXX parts
>>>>>> ...):
>> https://developer.blender.org/diffusion/B/browse/alembic_pointcache/build_files/build_environment/install_deps.sh;1a9c74a3a8fcd4dda3ec2ca09b3fd00e85cb0627$1733
>>>>>>> The Alembic version we use is 1.5.5 (official release), which can be
>>>>>>> checked out using mercurial/hg like so:
>>>>>>> hg clone -u 1_05_05https://code.google.com/p/alembic/  <target dir>
>>>>>>>
>>>>>>>
>>>>>>> The README.txt file in the Alembic source directory mentions the
>>>>>> principle
>>>>>>> build procedure and dependencies.
>>>>>>>
>> https://code.google.com/p/alembic/source/browse/README.txt?name=1_05_05
>>>>>>> All of the mandatory dependencies are already part of the standard
>>>>>> Blender
>>>>>>> dependencies in their required versions, so no major additions other
>>>>>> than
>>>>>>> Alembic itself should be needed. For reference, here are the required
>>>>>>> dependencies of Alembic with their minimum versions (as stated in
>> their
>>>>>>> README) and the current versions installed by Blender's
>> install_deps.sh
>>>>>>> script:
>>>>>>>
>>>>>>> Alembic minimum Blender Ubuntu 14.10
>>>>>>> Boost 1.44.0 1.51.0
>>>>>>> IlmBase 1.0.3 2.2.0
>>>>>>> HDF5 1.8.9 ----- 1.8.12
>>>>>>> OpenEXR 1.7.1 2.2.0
>>>>>>> zlib (unspecified) (unspecified) 1.2.8
>>>>>>>
>>>>>>> HDF5 is entirely optional and can be installed to enable this
>> container
>>>>>>> format for file storage. The branch now uses the Ogawa format by
>>>>>> default,
>>>>>>> which seems to have become the new standard backend (and does not
>> need
>>>>>>> additional libraries). The default system version of HDF5 on ubuntu
>> also
>>>>>>> seems to work fine ('libhdf5-7' package).
>>>>>>>
>>>>>>>
>>>>>>> Blender itself has 2 new build options:
>>>>>>> WITH_ALEMBIC : Build with Alembic caching support. Currently this is
>>>>>> needed
>>>>>>> for the branch to work, otherwise there is no available
>> implementation
>>>>>> of
>>>>>>> the cache interface and a number of functions would probably crash
>>>>>> trying
>>>>>>> to access a NULL pointer.
>>>>>>> WITH_HDF5 : Optional linking with HDF5. This backend is not used
>> atm, so
>>>>>>> the build option should not be needed.
>>>>>>>
>>>>>>> New cmake modules FindAlembic.cmake and FindHDF5.cmake have been
>> added
>>>>>> to
>>>>>>> simplify setting up library and include paths for Blender builds.
>>>>>>>
>>>>>>>
>>>>>>> I would very much appreciate help in ironing out remaining issues and
>>>>>>> getting libraries for OSX and Windows set up.
>>>>>>> Thank you!
>>>>>>> _______________________________________________
>>>>>>> Bf-committers mailing list
>>>>>>> Bf-committers at blender.org
>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Bf-committers mailing list
>>>>>> Bf-committers at blender.org
>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>> --
>> Jeffrey "Italic_" Hoover
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>

-- 
Jeffrey "Italic_" Hoover



More information about the Bf-committers mailing list