Jump to content
pasto

convert point colors to texture map

Recommended Posts

Hello,

 

 

Sorry guys if it is a real stupid question but I am trying to convert some point colors (promoted to primitive with a attrib promote) to a texture map in order to use it outside Houdini.

 

I managed to export an .obj for the geometry but I need the colors too.

 

Is there a way to do this ?

 

Many thanx.

 

 

Share this post


Link to post
Share on other sites

Thanx a lot Ben,

 

I get the principle but it doesn't render anything, it just warn me about adding a headlight.

If I do understand right, it would export some uv map, but what if I promoted the color to primitives ?

 

Many thanx.

 

J

Share this post


Link to post
Share on other sites

It works fine with color assign to primitive.
Warning doesn't matter. If you render it with a constant shader (what I did in the file)  you don't need any light.
I'm not sure why it's not working for you. Do not try to render it in the Render view as render view is raytracing and Uv render dones't work with raytracing. Just press the render button on the mantra node or the ropnet.

Share this post


Link to post
Share on other sites

Thanx for the answer, 

 

Maybe related to my Indie version ? It really doesn't make anything, the render window doesn't pop or anything (and of course no file is created.

 

Merci encore.

Share this post


Link to post
Share on other sites

Just tried with an apprentice version and it works.
Maybe in the Mantra node, Properties / Output / Output Picture, try to specify a file to output to instead of "ip" (ip just render the image in mplay but doesn't save it).

edit : in hkey(License Administrator) check if you have a mantra token installed

Edited by ben

Share this post


Link to post
Share on other sites

Well I don't even know where to look at, the licence administrator gave me 3 lines, one of them is Render-NonCommercial 13.0, could be this ?

 

I tried with a specific name instead of "ip" with the same result.

 

Strange, thank you very much anyway.

 

J

Share this post


Link to post
Share on other sites

Thx a lot Eetu, I will check this out.

 

Have a nice saturday afternoon anyway :)

 

Cheers

Share this post


Link to post
Share on other sites

Hello,

 

You were talking about the point texture ql sop ?

Very nice tool but I am looking for the exact opposite, I would like to get a texture from the primitive Cd attribute.

 

Many thanx anyway, the ql tools are just great !

 

Cheers

Edited by pasto

Share this post


Link to post
Share on other sites

No no, that's exactly what I meant, and what the hip does. uvPointCloud SOP and COP are the ones I'm talking about.

 

post-2678-0-78722800-1413103435_thumb.jp

Share this post


Link to post
Share on other sites

Oh OK sorry, I must have misunderstood the help card.

 

I will try asap, many thanx.

 

Cheers

Share this post


Link to post
Share on other sites

Hello,

 

It does work perfectly Eetu, I just mixed up the Qlib nodes, thank you very much, your file was very helpful.

 

Cheers.

Share this post


Link to post
Share on other sites

Hey guys! I have a question about this.

Is it possible to use this technique to render out an image sequence? I have a fluid simulation. One fluid interacting with another fluid. Where the meshes blend I am wanting to render out that map. So if I apply a black color to one fluid mesh and a white color to the second mesh and use the attribute transfer technique from Peter Quint, can I render out a black and what map with the blending being grey? I want to use the maps in another package to differentiate between two shaders.

Is this possible?

Thanks!!  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×