Changing a renderer can be of dubious utility from an artistic perspective. It smells to me like software people changing editors, Linux distros, or programming languages, so I was reluctant to dive in. What could possibly come from changing renderers if they’re so similar?
Working with Arnold
I had previously been using Autodesk’s Arnold for car rendering because they ship native Apple Silicon builds and have solid support for OSL (Gritz et al. 2010). I put together a shader library for some specific things and found the overall experience reasonable. Given that the car itself is in USD, I chose to adopt USD for the rest of the pipeline. This was possibly to my detriment.
While Arnold is an amazing, production-proven renderer (Georgiev et al. 2018; Kulla et al. 2018), its USD integration was firmly in its early stages. When I started, kick was using its own translation layer from USD into its internal scene representation, which was slow, didn’t support instancing, didn’t resolve material assignments correctly, and some other things. OK, annoying, but they fixed it two months into the project. What about shaders?
Arnold’s support for OSL, including closures, meant that I could futz with both pattern creation and material response. For patterns, I wrote a couple of shaders for MSDF textures (Chlumský et al. 2018; msdfgen). These load a signed distance field approximation of decals from a texture (Green 2007). They are cheap to load (like 128 by 128) and have “infinite” resolution since the boundary is computed from a signed distance field. They can also be styled with graphic patterns such as outlines and infill. One node loads one decal, while OSL struct parameters carry the mask, color, texture coordinates, and other values. Then, I create a big chain of all the decals on the car which makes for some pretty clean shader graphs.

After seeing a talk on Imageworks’ use of OSL (Kerley 2020; see also Martinez 2012), I thought implementing something similar for OpenPBR Surface (Portsmouth et al. 2025) would be cool for mixing materials. Weighted mixing allowed multiple materials to be combined cleanly. For a car, this meant decals atop splatter paint atop carbon fiber.
Performance left a little to be desired. I tagged many of the shader parameters with [[ int interactive = 1 ]] to prevent constant-folding and so on, but interactive rendering was still slow. What about Arnold GPU? The bad news is that OptiX ran out of stack space because of course it does. There is no good news.
Quick Aside: Why do I insist on using OSL? Important question. Good engineers question constraints, right? While I made use of OSL for what is essentially utility code for the MSDF textures, I’d like to think that I can make the overall shader writing process more efficient. Cars are a somewhat constrained domain: a lot of metals, a lot of surface wear, loads of subtle variation. I’d like to explore how I can make shader writing more efficient in the future. But anyways…
Using an environment variable (OSL_OPTIONS), OSL provides effectively a back door into the shading system, so I had hope (this is blocked in the RenderMan fork of OSL). There are a few presets that I thought might help increase whatever JIT allocations go into compilation. What about groupdata size? Nothing. What about disabling OptiX inlining? Nothing. What about random combinations of the lazy_* options? Nothing. Arnold provides great logging, so I had a reasonable idea of which changes were helping. Memory usage was going down but not nearly enough. Nothing I did got my car onto the GPU using anything above basic shading networks. :(
Switching to PRMan
My interest in RenderMan came from better USD support and more production-oriented GPU rendering.
For USD, RenderMan exposes a substantial amount of functionality through its shipped schemas, which could be interesting, though I had only just started using it.
XPU (Christensen et al. 2025) is focused on getting the CPU and GPU paths to behave the same. RenderMan doesn’t use OptiX, though. There are a couple of differences relating to visibility bit masks, custom intersectors, and memory usage. They do support OSL, but don’t expose closures to end users even though they are used internally (they literally bake the .oso bytecode into the shipped .so).
I know this is basic, but step 1 was just opening usdview and seeing if it would take kindly to the car’s geometry.
$ usdview mk11.usda --renderer "RenderMan XPU"
Segmentation fault (core dumped)
Crap. Because all the car’s prototypes (~1700 in total) are meshed at once, I was worried that just one of those prototypes could be weirdly meshed and causing the trouble. Successfully rendering the prototypes individually told me this wasn’t the case. I gave myself a pat on the back for my mesh validation in step-to-usd. I decided to take the blue pill, crack open gdb, and see if that got me anywhere. The call stack told me it was trace rays and volume shading related which was weird.
The crash happens while rendering curves, and yet the prototypes were fine individually. I concluded that there was something wrong with the assembly as a whole. This is where RenderMan’s absolutely supreme deluxe supersized set of primvar controls came in. I thought the easiest thing to try was to disable presence caching on the curves (via primvars:ri:curve:opacitysamples). No. Nothing. To my surprise, the issue was actually quite trivial.
Engineers are exactly like 3D artists in that they don’t always produce clean CAD models. Though instancing already removes a lot of duplication, it doesn’t address accidentally authored duplication. In production rendering, this is a somewhat common problem in texture systems, for example, which often do a prepass on requested textures to sniff out ones that are visually similar, and then prevent them from being loaded twice in memory.
For Mk11, there were two instances of one of the powertrain assemblies (below), which led to curves occupying the same region in space and thus caused the crash. In some ways, I’m glad the crash occurred because it forced me to scan the entire car for duplication, of which there was quite a bit! Though some duplicated parts didn’t cause any crashes, they certainly increased memory usage and render time. Perhaps it would be worth performing some texture-system-like deduplication on input assemblies in step-to-usd before meshing.

References
- Christensen, P., Fong, J., Kilpatrick, C., Gonzalez, F., Ravichandran, S., Shah, A., Jaszewski, E., Friedman, S., Burgess, J., Roy, T. M., Nettleship, T., Seshadri, M., and Salituro, S. 2025. RenderMan XPU: A Hybrid CPU+GPU Renderer for Interactive and Final-frame Rendering. Computer Graphics Forum 44(8). DOI: 10.1111/cgf.70218.
- Georgiev, I., Ize, T., Farnsworth, M., Montoya-Vozmediano, R., King, A., Van Lommel, B., Jimenez, A., Anson, O., Ogaki, S., Johnston, E., Herubel, A., Russell, D., Servant, F., and Fajardo, M. 2018. Arnold: A Brute-Force Production Path Tracer. ACM Transactions on Graphics 37(3).
- Kulla, C., Conty, A., Stein, C., and Gritz, L. 2018. Sony Pictures Imageworks Arnold. ACM Transactions on Graphics 37(3).
- Gritz, L., Stein, C., Kulla, C., and Estevez, A. 2010. Open Shading Language. ACM SIGGRAPH 2010 Talks. Project: OpenShadingLanguage.
- Kerley, L. 2020. Putting the Pieces Together: A Physically(ish) Based Approach to Material Composition. In Physically Based Shading in Theory and Practice, SIGGRAPH 2020 Courses.
- Martinez, A. 2012. Physical Production Shaders with OSL. In Practical Physically Based Shading in Film and Game Production, SIGGRAPH 2012 Courses.
- Portsmouth, J., Kutz, P., and Hill, S. 2025. OpenPBR: Novel Features and Implementation Details. arXiv:2512.23696. Specification: OpenPBR Surface.
- Green, C. 2007. Improved Alpha-Tested Magnification for Vector Textures and Special Effects. Valve, SIGGRAPH 2007.
- Chlumský, V., Sloup, J., and Šimeček, I. 2018. Improved Corners with Multi-Channel Signed Distance Fields. Computer Graphics Forum. DOI: 10.1111/cgf.13265. Code: msdfgen.
- Autodesk. Introduction to Arnold USD. Arnold documentation.
- Pixar Animation Studios. OpenUSD.