Larry Gritz

Results 616 comments of Larry Gritz

Aside: It's on the roadmap to add a real vector2 type to the language at some point soon.

Note that `TypeDesc(FLOAT,2)` is an array of 2 floats, but vec2 is a different type and is specified as `TypeDesc(TypeDesc::FLOAT,TypeDesc::VEC2)`.

No, like I said, vector2 is not actually a type in OSL (yet). For MaterialX, it's implemented as a struct, so you can't use Parameter() to set the value, because...

On the CPU side, this kind of thing turns into a call to RendererServices::get_matrix() and get_inverse_matrix to retrieve the named matrix. In essence, the renderer supplies the implementation of retrieving...

I like this, totally makes sense. And at first glance, the code looks fine. Some things that are clearly needed to complete this work: * Docs -- can you take...

After I wrote that comment, I took the dog for a walk and had an important insight. You don't technically need TextureSystem::get_texture_info_type at all (though it's nice to have and...

Yes, they are expected to work. I will amend the docs.

Those errors are all inside the LLVM headers, not in the OSL source code. I was going to hypothesize that maybe you had either a very old llvm, or were...