Page 1 of 1

problem with using a Mops instances

Posted: Sun Jul 19, 2020 10:15 pm
by AndreAndre_1986
New folder.rar
example scene

I have a problem with using a Mops instances, the fact is that I want to use a texture but it does not read the vertex coordinates, I have to convert to points and do a vertex split, which distorts and breaks the topology. further if I want to unpack(for editing) the uv geometry, it is erased altogether uv.
In general, now the MOPs is not suitable for textured models, unfortunately
2020-07-20_080211.jpg
2020-07-20_082728.jpg

Re: problem with using a Mops instances

Posted: Sun Jul 19, 2020 10:35 pm
by toadstorm
Packed geometry in MOPs is no different from packed geometry anywhere else in Houdini. If your objects have vertex UVs prior to being packed (or input into the Instancer), those UVs remain embedded in the geometry. They will not be directly accessible to you without unpacking, but the render engine will still use packed UVs as texture coordinates.

I'll take a look at the scene tomorrow and see what's going wrong, but I have a feeling it's not specific to MOPs.

Re: problem with using a Mops instances

Posted: Mon Jul 20, 2020 12:27 am
by AndreAndre_1986
i think is not specific MOPS, but intresting to use textured instances for MOPS

Re: problem with using a Mops instances

Posted: Mon Jul 20, 2020 10:32 am
by AndreAndre_1986
sorry.I figured it out.all ok !!!!!!!!!!

Re: problem with using a Mops instances

Posted: Mon Jul 20, 2020 10:53 am
by toadstorm
In your example file, the problem is that in the Unpack SOP you're transferring "UV" from the packed geometry to the unpacked geometry, which mangles your original UVs. Just leave the UVs as vertex attributes before the Instancer, then when you're done with the MOPs stuff, unpack using the default options (don't transfer UVs). Your UVs should remain exactly as they were.

Re: problem with using a Mops instances

Posted: Mon Jul 20, 2020 10:58 am
by AndreAndre_1986
"problem with using a Mops instances" is solved
thanks toadstorm!