Import texture relative reference to grid size

   140   2   0
User Avatar
Member
10 posts
Joined: Dec. 2019
Offline
I'm using people 2d image And Tree in scene,How I can procedural grid change scale,if I change Image Texture different path in UV quick shade node,The plane Adapter same measure pixel Width And Height.Manually you can put same number pixel in parameters grid.



Edited by snapag - May 24, 2020 01:48:25
User Avatar
Member
496 posts
Joined: Sept. 2013
Offline
You can set the grid size to the image pixel resolution using python:
https://www.sidefx.com/docs/houdini/hom/hou/imageResolution.html [www.sidefx.com]

Have a look at this example:
https://forums.odforce.net/topic/41816-a-good-way-for-making-grid-divisions-depend-on-pixel-resolution/ [forums.odforce.net]
User Avatar
Member
10 posts
Joined: Dec. 2019
Offline
Thanks That's Helpfull.
  • Quick Links