firefly9000

firefly9000

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Baking an ID map March 28, 2019, 9:37 a.m.

Surely it cannot be this complicated. I've watched many tuts on baking maps out of Houdini, both with Mantra and the Game Baker sop, but when it comes to baking out a material id map, I don't understand how to do it.

There is no Id map option as far as I can see. All the solutions seem to point to baking them out in the basecolor channel. But how to take Cd and assign it?

So I have random colors (via color sop - Cd) on all the pieces as such.



No matter what I do, basecolor doesn't work. It comes out black

I've added a Constant material. I check the “use point color” box on the shader and then export the Cf on the extra image planes on Mantra and I get somewhat close, except that now I have bleed colors. See attached. I don't know how to get rid of the bleed.



If I dial down Unwrapping > Ray Bias from 0.01 to 0.00001 I get closer and have only specks to contend with. BTW if I go lower that 0.00001 then the bleed comes back (???).



Am I on the right track here? Doesn't seem so. Can someone point me please to a tut or docs where this is addressed? Or maybe a small example.

Thank you!

Edit SOP Transforms Jan. 11, 2019, 10:49 a.m.

tamte
Edit SOP will not lose the transform values just by doing that
the edit will be committed and values reset however if you select other points or press Commit button, maybe something else

but not just by selecting other nodes and then coming back to the edit at later time

but yes, always keep in mind that Edit is for tweaking and all commited edits are stored in the geometry delta data which lives on the node
the UI reflects just the last live Edit that has not been commited yet, so in theory can be used procedurally as a transform, but it may be dangerous

use Transform SOP or Soft Transform SOP if you want to apply transform to a group of points instead


Thank you for the heads up. Was expecting it to be procedural and therefore have access to these edits, but now I understand. Sometimes they'd work, I'd come back later and still have the info there for editing… but lately, especially in 17, they just blank out as soon as I move on.

I'll try the other sops. Thanks again

Edit SOP Transforms Jan. 11, 2019, 9:48 a.m.

Why do edit sops lose their transforms after you move on from them? Is there a way to get them back.

So to clarify, I put down an edit sop, select some points, do a transform, let's say Y=3 and move on. Then, I come back to the edit sop to edit the transform (increase, decrease etc) but while the point selection is there in the group, the transform is wiped clean. Y shows as 0, even though clearly the points edited are still at Y=3.

How can I get it back?

Thanks