set point color attributes from a texture map

   37022   9   5
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
Is there a way in Houdini to set point color attributes in a mesh from a texture map? I have some point colors I exported from Maya as a map, and I would like to bring them to Houdini

any help is greatly appreciated
-G
User Avatar
Member
330 posts
Joined: July 2007
Offline
take a look at these videos here :
http://www.sidefx.com/index.php?option=com_content&task=view&id=1500&Itemid=254 [sidefx.com]

not sure exactly in which video , but maybe you might start from the 5th one … ( not sure exactly which one had a similar application )


.cheers
except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
691 posts
Joined: June 2006
Offline
Hi!!

Look at this example.

Attachments:
Point Map.hipnc (134.3 KB)

Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
1799 posts
Joined: Oct. 2010
Offline
This is exactly what I was looking for thank you!
-G
User Avatar
Member
8 posts
Joined: Oct. 2010
Offline
I'm also looking for a method to do this.Thanks a lot!!!!!!
User Avatar
Member
1 posts
Joined: Dec. 2013
Offline
Hey guys,

Is it possible to use this with a mesh that has its own uvs?
Ive tried bypassing and using modify source on the uvtexture sop.
No go… : /
I have no idea what to google.
:shock:
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Also we have other ways in the Houdini to set point colors from specify Map or Texture like :

1.Read map directly with tex expression
2.Read map from composite network with pic expression
3.Read map and set to point's color directly with “AttribFromMap SOP”
4.use VOP SOP exactly like previous post

** I think simplest way is third method **

Check Attached file to see others method

Attachments:
JKPointColor.zip (2.0 MB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
when you import your mesh with it's own uv in the Houdini , uv attributes type is Vertex by default , So you should convert it to point's attribute type before VOP SOP.

But In the expression method like tex ,If your imported mesh has it's own uv ,then Houdini use this uv by default and you don't need to convert it. (Because we use $MAPU , $MAPV for read uv )

Check my attached project (JKPointColor.Zip) in the my last post.

I made a grid in the Maya and import it with obj format in the Houdini ,and I used attribPromote SOP to convert vertex attr to point attr
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
100 posts
Joined: Aug. 2014
Offline
Really helpful post Joker386 thank you!
User Avatar
Member
280 posts
Joined:
Offline
what if its the other way arround?
from attribute export to image map without rendering?
anyone knows?
  • Quick Links