<?xml version="1.0" encoding="UTF-8"?>
<rss version='2.0' xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Christian López Barrón</title>
    <description>Data enthusiast. Passionate about digital art &amp; life experiences.</description>
    <link>http://blog.christianlb.io/feed</link>
    <atom:link href="http://blog.christianlb.io/feed" rel="self" type="application/rss+xml"/>
    <category domain="blog.christianlb.io">Content Management/Blog</category>
    <language>en-us</language>
      <pubDate>Sun, 29 Aug 2021 22:16:09 +1000</pubDate>
    <managingEditor>christianlb.vfx@outlook.com (Christian López Barrón)</managingEditor>
      <item>
        <guid>http://blog.christianlb.io/in-usd-what-prims-are-affected-by-layer-x#52471</guid>
          <pubDate>Sun, 29 Aug 2021 22:16:09 +1000</pubDate>
        <link>http://blog.christianlb.io/in-usd-what-prims-are-affected-by-layer-x</link>
        <title>In USD, What Prims are Affected by Layer X?</title>
        <description>A Network Snapshot of USD Stage Composition</description>
        <content:encoded><![CDATA[]]></content:encoded>
      </item>
      <item>
        <guid>http://blog.christianlb.io/building-usd-on-windows-for-python-3#49933</guid>
          <pubDate>Mon, 08 Jun 2020 18:57:35 +1000</pubDate>
        <link>http://blog.christianlb.io/building-usd-on-windows-for-python-3</link>
        <title>Building USD for Python 3 on Windows</title>
        <description>With the help of conda</description>
        <content:encoded><![CDATA[<p>Building USD<br>
For testing software versions, I use the package and environment manager conda&nbsp;as it isolates every install and environment modification, plus it fits my minimal python development setup.<br>
Using&nbsp;usd-build-club&#39;s&nbsp;Building USD on Windows&nbsp;wiki as a foundation, these are my conda steps:<br>
1. Create a new environment with the target python version<br>
(base) C:&amp;gt;conda create -n py38usd205build python=3.8<br>
2. Jump into that environment<br>
Everything following will occur inside that environment.<br>
(base) C:&amp;gt;conda activate py38usd205build<br>
3. Conda Install Jinja2 and CMake<br>
(py38usd205build) C:&amp;gt;conda install -c anaconda jinja2 cmake<br>
...<br>
The following NEW packages will be INSTALLED:<br>
  cmake              anaconda/win-64::cmake-3.17.2-h33f27b4_0<br>
  jinja2             anaconda/noarch::jinja2-2.11.2-py_0<br>
...<br>
4. Pip Install PySide2 and PyOpenGL<br>
(py38usd205build) C:&amp;gt;python -m pip install PySide2 PyOpenGL<br>
...<br>
Successfully installed PyOpenGL-3.1.5 PySide2-5.15.0 shiboken2-5.15.0<br>
5. Get the Developer Command Prompt for Visual Studio 2019<br>
I had some issues with the conda-forge&nbsp;vs2017_win-64&nbsp;package but found&nbsp;rdonnelly vs2019_win-64&nbsp;to be a working one. You might need to install the Visual Studio 2019 C++ compiler as well.<br>
(py38usd205build) C:&amp;gt;conda install -c rdonnelly vs2019_win-64<br>
...<br>
The following NEW packages will be INSTALLED:</p>

<p>vs2019_win-64      rdonnelly/win-64::vs2019_win-64-19.25.28614-h4025799_0<br>
  vswhere            pkgs/main/win-64::vswhere-2.7.1-h21ff451_0<br>
...<br>
Executing transaction: done<br>
...<br>
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools&gt;CALL &quot;VC\Auxiliary\Build\vcvars64.bat&quot; -vcvars_ver=14.25 10.0.18362.0</p>

<hr>

<p>** Visual Studio 2019 Developer Command Prompt v16.5.4<br>
** Copyright (c) 2019 Microsoft Corporation</p>

<hr>

<p>[vcvarsall.bat] Environment initialized for: &#39;x64&#39;<br>
6. Run the build_usd python script<br>
(py38usd205build) C:&amp;gt;python &quot;B:\write\code\git\USD\build_scripts\build_usd.py&quot; -v &quot;B:\write\builds\py38usd205build&quot;</p>

<p>Building with settings:<br>
  USD source directory          B:\write\code\git\USD<br>
  USD install directory         B:\write\builds\py38usd205build<br>
  ...<br>
    Python support              On<br>
      Python 3:                 On<br>
...<br>
Success! To use USD, please ensure that you have:</p>

<p>The following in your PYTHONPATH environment variable:<br>
    B:\write\builds\py38usd205build\lib\python</p>

<p>The following in your PATH environment variable:<br>
    B:\write\builds\py38usd205build\bin<br>
    B:\write\builds\py38usd205build\lib</p>

<p>Try it out<br>
After setting the environment variables, the python snippet that previously failed should work now:<br>
(py38usd205build) C:&amp;gt;set PYTHONPATH=%PYTHONPATH%;B:\write\builds\py38usd205build\lib\python<br>
(py38usd205build) C:&amp;gt;set PATH=%PATH%;B:\write\builds\py38usd205build\bin;B:\write\builds\py38usd205build\lib<br>
(py38usd205build) C:&amp;gt;python -c &quot;from pxr import Usd;print(Usd)&quot;<br>
&lt;module &#39;pxr.Usd._usd&#39; from &#39;B:\write\builds\py38usd205build\lib\python\pxr\Usd\_usd.pyd&#39;&gt;<br>
<br>
&nbsp;Great! USD tools like usdview should work now (don&#39;t forget that Windows is still marked as experimental on the official USD repo).<br>
(py38usd205build) C:&amp;gt;usdview &quot;B:\write\code\git\USD\extras\usd\tutorials\convertingLayerFormats\Sphere.usd&quot;<br>
&nbsp;<br>
Please feel free to comment any discoveries you have made!</p>
]]></content:encoded>
      </item>
      <item>
        <guid>http://blog.christianlb.io/about-naming-conventions#30813</guid>
          <pubDate>Tue, 28 Mar 2017 00:18:11 +1100</pubDate>
        <link>http://blog.christianlb.io/about-naming-conventions</link>
        <title>About Naming Conventions</title>
        <description>Or: How should I name this article?</description>
        <content:encoded><![CDATA[]]></content:encoded>
      </item>
  </channel>
</rss>