Jump to content

[SOLVED]Convert N attribute to Orient attribute to Instance after a DO


Alkyum

Recommended Posts

Hi guys,

I have a problem when I'm orienting instanced meshes on points. I know what the problem is, I'm using the Copy SOP with "N" attribute to scatter low-poly on a mesh. Then I simulate the result (lot of packed geometries) in a DOP. At the end of the Dop I have an "orient" and my "N" from the COPY SOP. The problem is that the Instancer only take the "orient" attribute as rotation information and not the "N" from the beginning.

My instances are completely in the wrong way but they follow the rotation from the "orient" (Dop).

I just need to mix my N (Vector) and my Orient (Quaternion) into a new Orient that match with my pieces at the end of the Dop.

I tried to be as clear as I can...  :lol:

 

Thank you !

post-12496-0-53688600-1443716302_thumb.j

Edited by Alkyum
Link to comment
Share on other sites

I'm crying right now..
Working on that the entire day, using quaternion, matrix and alignement to finally find this at 7PM !

Thank you Tomas, I tried this Yesterday and I was convince that it wasn't working  :mellow:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...