drexel

drexel

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

BUG: mi texture output Dec. 13, 2010, 7:22 p.m.

Hello,
When using an mental ray shader with an miTag for texture input, the output .mi has the texture call but it has double quotes around the filename, resulting in a syntax error. Looks like removing the quotes from the filename in Texture in the MIapi.py fixes this…just for future builds, if possible.
Thanks,
Chris

mr ccmesh/tessellation Nov. 1, 2010, 12:33 p.m.

Thanks Mark, I'll take a look at the file and grab the new daily build.
Chris

mr ccmesh/tessellation Oct. 31, 2010, 9:19 a.m.

Hello,
Outputting a polygonal mesh with the mi_rendersubd appends the ccmesh block to the geometry, but the overall tessellation is being regulated by the mental ray ROP. By default this is using “fine length 1 angle 5 all” which goes for the whole scene. (Changing this to grid prevents anything from being put into the .mi, which is a step in the right direction)
However, it would be better not to be specifying a tessellation for the whole scene, rather allowing a per object setting. Unfortunately, applying the tessellation parameters to a Geometry object does nothing in the resulting .mi file.
Even more important is outputting the correct ccmesh tessellation settings, otherwise the ccmesh block isn't really being used correctly.
For example, with a simple cube, the block should be:
ccmesh “name” polygon 6 vertex 24 # {
p 0 1 2 3
p 4 5 6 7
p 8 9 10 11
p 12 13 14 15
p 16 17 18 19
p 20 21 22 23
end ccmesh # }
approximate ccmesh fine angle 5 “name” <—missing

Is there any way to get the approximate ccmesh tessellation appended to the geometry?
Thanks,
Chris