Python ->Apply textures

   6070   4   0
User Avatar
Member
15 posts
Joined: April 2008
Offline
Hi friends!

I need apply textures (jpg or similar) to the primitives (box, grid…), with python code.

Have you some idea?

Thaaaaanks!
User Avatar
Member
4140 posts
Joined: July 2005
Offline
I might be wrong, but I don't think HOM is supposed to replace the functions of all the OPs. You could add UV attributes, but the method of actually mapping uvs and creating and assigning a shader isn't reproduced in HOM. I think the intent is that you can create the nodes you wish and alter their parameters with HOM. At least that's my understanding.

Cheers,

J.C.
John Coldrick
User Avatar
Member
15 posts
Joined: April 2008
Offline
mmm Ok.
But, I have searched in the houdini interface, and I have discovered that I can create Nodes with textures in the “/shop” place, and link this nodes with nodes from “/obj”. I don't know if this is correct. Can I create this “/shop” nodes with python?

My problem is that I need create a geometry only using python code.

Thanks for all and sorry for my english ;P
User Avatar
Member
4140 posts
Joined: July 2005
Offline
You can create nodes with Python, and alter their parameters. You can connect the nodes too. That's the way you should approach your problem, I think.

Cheers,

J.C.
John Coldrick
User Avatar
Member
15 posts
Joined: April 2008
Offline
OK!! I will try it!

Thaaaanks!!!!!!!
  • Quick Links