- Chapter 4–MayaUSD Plugin Fundamentals
- Chapter 6 - Building LiveLink Services
Inter-Process Communication in Real-Time 3D Applications : First Edition
A Practical C++ Guide to Live-Linking Pixar'S OpenUSD With Modern gRPC.
A hands-on introduction to IPC in real-time 3D Applications using modern C++, gRPC, and OpenUSD, featuring a practical LiveLink pipeline between Autodesk Maya and a custom USD viewer.
Minimum price
$35.00
$45.00
You pay
$45.00Author earns
$36.00About
About the Book
Inter-Process Communication in Real-Time 3D Applications is a practical guide to building production-ready IPC systems using gRPC and Protocol Buffers in C++.
Targeted at experienced developers in VFX, animation, and games, it covers effective message design, service architecture, performance optimization, and both synchronous RPCs and the modern callback-based asynchronous API—with real-world code examples throughout.
The book concludes with a hands-on capstone project: building a LiveLink system that connects Autodesk Maya to a custom UsdViewer using gRPC. You'll stream live edits and state changes across processes while working directly with OpenUSD stages—gaining a solid, adaptable foundation for creating responsive, real-time integrations in your own pipeline.
Before diving in, it helps to have some familiarity with the tools and technologies used throughout this book. You don't need to be fluent in all of them and every major concept is introduced with clear, step-by-step examples. However, having a basic working knowledge will make the material easier to absorb.
Helpful Background Knowledge:
· C++: Solid understanding of modern C++ (C++11/14/17/20), including memory management, object lifetimes, and threading concepts.
· OpenGL: Familiarity with modern OpenGL concepts, including framebuffers, shaders, and rendering pipelines.
· Pixar’s OpenUSD: Working knowledge of core USD concepts such as stages, prims, attributes, and layers.
· Maya API: Experience with C++ plugin development for Maya, including MObject usage and Function Set patterns.
· MayaUSD Plugin: Understanding of how OpenUSD integrates into Maya through the MayaUSD plugin.
· Cmake: Familiarity with configuring, building, and linking C++ projects using CMake.
· Qt: Comfortable with creating Qt widgets, signal/slot communication model, and the Qt event loop.
If you are not fully comfortable with one or more of these topics, don't worry. Each chapter introduces the concepts you need as they become relevant and builds on them progressively.
Chapter 1 – Protocol Buffers Fundamentals
Introduces Protocol Buffers as a language-agnostic data serialization format. This chapter covers schema design, type systems, versioning rules, and best practices for evolving message definitions in long-lived pipelines.
Chapter 2 – Modern gRPC Fundamentals
Explores gRPC as a high-performance RPC framework built on HTTP/2. The chapter explains RPC models, streaming semantics, synchronous and asynchronous APIs in C++.
Chapter 3 – OpenUSD Fundamentals
Provides a foundational understanding of Universal Scene Description.
Chapter 4 – MayaUSD Plugin Fundamentals
Examines how OpenUSD is integrated into Autodesk Maya through the MayaUSD plugin. This chapter covers stage access, observing scene changes, interacting with prims and attributes, and using the MayaUsd API to react to edits in real time.
Chapter 5 – Building a Custom USD Viewer
Focuses on constructing a lightweight custom USD viewer. It introduces stage loading, viewport rendering, basic interaction, and how a standalone viewer can serve as a receiving endpoint for live USD updates.
Chapter 6 – Building LiveLink Services
Brings the previous chapters together by implementing a real-time LiveLink service. This chapter demonstrates detecting changes in Maya, serializing USD data, streaming updates via gRPC, and safely applying those updates to a live stage in the viewer.
Chapter 7 – OpenTelemetry Instrumentation
Introduces observability for real-time systems using OpenTelemetry and Prometheus. The chapter shows how to instrument gRPC clients and servers, collect metrics, and use measurement to guide performance and design decisions.
Feedback
Author
About the Author
Hamed Sabri is a software developer specializing in high-performance computer graphics and real-time systems, with over a decade of professional experience. He has played key roles in production at world-class studios and companies, including Autodesk, Weta Digital, and Sony Santa Monica Studio. His work spans diverse industries, including Media & Entertainment, Advanced Manufacturing, and Video Game.
In his spare time, Hamed enjoys baking and cherishing quality moments with his young son.
Contents
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.