Import texture relative reference to grid size

   1621   2   0
User Avatar
Member
41 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 anon_user_35845555 - May 24, 2020 01:48:25
User Avatar
Member
670 posts
Joined: Sept. 2013
Online
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]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
41 posts
Joined: Dec. 2019
Offline
Thanks That's Helpfull.
  • Quick Links