It looks like (default) shadow map generation is broken using mental ray, mr throws a syntax error with the resolution (it's being fed x and y, when it expects a single int) and the file name (which expects to be quoted). In HoudiniLightMI.py, lines 178 and 179 read:
if not obj.evalInt('res', now, value):
value =
and should read something like:
if not obj.evalInt('resx', now, value):
value =
and 200 reads:
value =
and should be:
value =
Also, since the optional rendering parameter mi_opt_shadowmap defaults to “on”, nothing gets put in the Option block of the mi, when it should get the option “shadowmap on”. Same goes for mi_opt_shadowmap_rebuild…
Chris
BUG: mental ray Shadow Map generation
2452 1 0- drexel
- Member
- 41 posts
- Joined: March 2006
- Offline
- mark
- Staff
- 2593 posts
- Joined: July 2005
- Offline
drexel
It looks like (default) shadow map generation is broken using mental ray, mr throws a syntax error with the resolution (it's being fed x and y, when it expects a single int) and the file name (which expects to be quoted). In HoudiniLightMI.py, lines 178 and 179 read:
if not obj.evalInt('res', now, value):
value =
and should read something like:
if not obj.evalInt('resx', now, value):
value =
and 200 reads:
value =
and should be:
value =
Also, since the optional rendering parameter mi_opt_shadowmap defaults to “on”, nothing gets put in the Option block of the mi, when it should get the option “shadowmap on”. Same goes for mi_opt_shadowmap_rebuild…
Chris
This should be fixed in tomorrow's build of H9.1 (263 I think?)
-
- Quick Links