Jump to content
Sign in to follow this  
aguzowski

Pass solid color from map into instanced objects

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

what you can do is have a id for each instance and transfer based on that, that should eliminate the blending from transferring via points. 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Yes, it works perfect. Even more open new possiblities ;)

Thanks for solving this!

 

Regards

Adam

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×