Jump to content

Pass solid color from map into instanced objects


aguzowski

Recommended Posts

Hi,

 

Im looking for clever method to pass color from one object onto instanced objects. But, I want to pass only solid color...

My friend gave an idea to use foreach. Works perfect for simple boxes but it takes eons of time when I change my instaced "spheres" into real complex model.

 

Anyone got idea how to pass or convert that color data?

 

Regards

Adam

 

 

 

 

solid_color_from_map.hipnc.hip

post-13590-0-65588900-1432564235_thumb.p

post-13590-0-13159100-1432564796_thumb.j

Link to comment
Share on other sites

Notice the Use Template Attrs is ticked on on the Copy SOP

 

edit; Actually is that what you're looking for or do you want the entire texture to be mapped to every single piece of geo ? I'm sorry, I guess I'm just confused ?

template.hipnc

Edited by Georgie
  • Like 1
Link to comment
Share on other sites

Thanks for quick replay. I think your setup works fine so far.  Thanks for it.

All I wanted is to pass the color information onto my instanced object but I dont want any color variation on my object just constant color.

When You look closer on my attached image from post 1 you'll see that some of the spheres got "gradient" solor. I want to get rid of that. I want them to inherit just single/constant color.

 

Sorry for my awkward explanation ;)

Thanks

 

Adam

Link to comment
Share on other sites

Hey Adam, looks like the file from George is doing what you need.  Each points transfers a color to each sphere, so there's no variation of color on the vertices/faces on those spheres.

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...