Bake Texture ROP error

   3356   4   2
User Avatar
Member
18 posts
Joined: Oct. 2010
Offline
Hi,

I made a bunch of HDAs in h15 that include baketexture ROP. Everything works fine in H15, but in H15.5, they don't work anymore.

The problem seems to come from a python error in the ROPs:

“File”<stdin>“, line 1, in <module>
ImportError: No module named baketextureutil”

Anyone knows where it comes from and how to solve it?

Thanks in advance
Edited by Shasha - June 12, 2016 19:10:31
User Avatar
Member
9 posts
Joined: April 2006
Offline
Yeah, even the BakeHirestoLowres example from the docs is broken and displays the same error. The old bake texture node imports baketextureutil as a pre & post-render script which might be deprecated. I'd suggest editing your HDAs and replacing the old bake texture ROPs with the new one.

That being said, in 15.5 I'm having a terribly hard time finding out how to transfer surface normals from a hires to a lowres object. I guess you need a material assigned to the highres object to see at least a neutral normal map, but that is about how far I got…
blog [blog.schdbr.de]
User Avatar
Member
18 posts
Joined: Oct. 2010
Offline
Ah I see, I guess that's what I'll do then.

I never tried to transfer surface normals, so I can't help you with that.
User Avatar
Member
18 posts
Joined: Feb. 2013
Offline
jwoelper
Yeah, even the BakeHirestoLowres example from the docs is broken and displays the same error. The old bake texture node imports baketextureutil as a pre & post-render script which might be deprecated. I'd suggest editing your HDAs and replacing the old bake texture ROPs with the new one.

That being said, in 15.5 I'm having a terribly hard time finding out how to transfer surface normals from a hires to a lowres object. I guess you need a material assigned to the highres object to see at least a neutral normal map, but that is about how far I got…


Been trying to use it as well, seems like they didnt connect something correctly, writing out just N from the object gives us a world space normal map, (which even when i try to convert doesnt give me a proper result).

when i say just writing out N , I mean just bind exporting N from the global position root. strangely, the Tangent Normals gives me a flat .5 .5 1.0 color space but nothing else, no details. Id submit a bug report
User Avatar
Member
9 posts
Joined: April 2006
Offline
moferad
jwoelper
Yeah, even the BakeHirestoLowres example from the docs is broken and displays the same error. The old bake texture node imports baketextureutil as a pre & post-render script which might be deprecated. I'd suggest editing your HDAs and replacing the old bake texture ROPs with the new one.

That being said, in 15.5 I'm having a terribly hard time finding out how to transfer surface normals from a hires to a lowres object. I guess you need a material assigned to the highres object to see at least a neutral normal map, but that is about how far I got…


Been trying to use it as well, seems like they didnt connect something correctly, writing out just N from the object gives us a world space normal map, (which even when i try to convert doesnt give me a proper result).

when i say just writing out N , I mean just bind exporting N from the global position root. strangely, the Tangent Normals gives me a flat .5 .5 1.0 color space but nothing else, no details. Id submit a bug report

Thanks for following up. Was pulling out my hair over this - looks like a bug after all.
blog [blog.schdbr.de]
  • Quick Links