Attribute mismatch - small problem but....

   12632   7   2
User Avatar
Member
237 posts
Joined: June 2006
Offline
Hi,
as a newbie I cannot figure out why I have an attribute mis-match in my merge SOP.

Thanks in advance

Attachments:
mismatch.hip (58.1 KB)

User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
You created a volume , so your other stream of date is missing name()

Rob
Gone fishing
User Avatar
Member
237 posts
Joined: June 2006
Offline
but how should I fix that…?
User Avatar
Member
237 posts
Joined: June 2006
Offline
ahhh, I understand. Inserting an attribute SOP and deleting the primitive name attribute.

Thank you very much
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
There's nothing to fix, its a warning and not an error

Rob
Gone fishing
User Avatar
Member
322 posts
Joined:
Offline
If you merge two streams of data which have different attributes, Houdini doesn't know what to set the attributes to on the stream of geometry which didn't have that attribute, so it basically guesses (might be a bit more to it than that). This is why on the warning it says (something like) “attribute values may be initialised to unexpected values”.

The only way around it is to manually balance your attributes before merging the two data streams by deleting and/or creating attributes on both sides so both streams have the same attributes.

Like Rob said, its not an error though, its a just warning that Houdini is telling you its setting some attributes on geometry to values that you may not want.
User Avatar
Member
9313 posts
Joined: July 2007
Online
Dean_19
…Houdini doesn't know what to set the attributes to on the stream of geometry which didn't have that attribute, so it basically guesses (might be a bit more to it than that)…

guessing would be dangerous
Houdini sets them to default value of that attribute, which you can set in Attribute Create
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
322 posts
Joined:
Offline
Aha!, I learnt something, Cheers Tomas!
  • Quick Links