VEX 简介
VEX is a high-performance expression language used in many places in Houdini, such as writing shaders.
VEX是一种高性能的表达式语言,在 Houdini 的许多地方都使用,比如编写着色器。
VEX evaluation is typically very efficient giving performance close to compiled C/C++ code. VEX is not an alternative to scripting, but rather a smaller, more efficient general purpose language for writing shaders and custom nodes.
VEX 计算通常非常高效,其性能接近编译后的C/ c++代码。VEX不是脚本的替代品,而是一种更小、更有效的通用语言,用于编写着色器和自定义节点。
VEX is loosely based on the C language, but takes ideas from C++ as well as the RenderMan shading language.
VEX 不是严格的基于C语言,只是和RenderMan着色语言一样从c++中汲取灵感。
VEX is used in several places in Houdini:
Houdini 中 用到VEX的几点:
-
Rendering – mantra uses VEX for all shading computation. This includes