Jump to content


Eterea

Control polygons color with PolyFX?

Recommended Posts

Hi guys!

 

Is possible to get color variation using PolyFX in the same way that we can get it using Cloners?

 

The attached image is self-explanatory, I think: with Cloner we can control color variation, side by side with deformation, using a Plain Effector with a Linear Field. But I don’t know how to get a similar effect with PolyFX.

 

PolyFX_color_variation.thumb.png.b5a2b2a8a1e8cca9dd1b1416e831f3cf.png

 

What I really need: I want to render an extra pass where my polys render WHITE on that areas where the PolyFX deformation apply at 100% and BLACK on that areas where the PolyFX apply at 0%

 

Is this possible?

 

Thanks for your help! :-)

 

PD. Attached is the C4D project corresponding to this image.

PolyFX_color_variation.zip

Share this post


Link to post
Share on other sites

PolyFX doesn't support colors, however, given that you have R20 you can create vertex maps with field, so simply convert your mesh to polygons and use vertex map with field. Then you can render out the vertex map as you want...

  • Namaste 1

Share this post


Link to post
Share on other sites
  • Topic Author
  • Thank you so much for your reply, HSrdelic!

    Now I am away of my computer… Tomorrow will try your suggestion!

     

    BIG THANKS! :signthankspin:

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Hi again!

     

    I have been testing your suggestion, HSrdelic, but a strange problem arises.

     

    If I create a VertexMap with LinearField, and then a material making use of that Vmap for the Luminance, all goes fine, as you can see on this image (where Plain Effector is disabled and PolyFx has not effect yet):

    01.thumb.png.dce15141bb5d9caa15f3610637f32e28.png

     

    But once I activate the PlainEffector for the PolyFX, making use of the same LinearField, then I get this strange result in the render (attached is the C4D file):

    02.thumb.png.4817b539343d0c87e8d23c9d843c62b7.png

     

    A close up:

    02_detail.thumb.png.e94a6eb45f275a250d451367026ea229.png

     

    As you see, there is a kind of linear gradient inside of each polygon (?!)

     

    And no matter I test different things (like change the Material Projection from UV to other, just to try), the thing does not work better.

     

    And the most strange thing, lot of times I arrive to this kind s**t on my render, instead of previous result, for the same settings (?!?):

    03_crap.png.29a615be850d503d0d68865f43622ba8.png

     

    I’m pretty sure that I’m forgiving some trivial but important thing, but after a couple of hours I can not get it :-(

     

    Any help will be appreciated!

     

    BIG THANKS!

    Share this post


    Link to post
    Share on other sites

    Oh, I thought you wanted to create gradient per face, oops my bad. PolyFX creates clones from faces. Vertex maps are therefore a bit troublesome since surface is discontinued. For what you want, I would say best route is use Fracture. Check the attached file :)

     

     

    PolyFX_color_variation_0001.c4d

    • Namaste 1

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • WOW, you are a wizard, HSrdelic!

    I would never have imagined this solution! 
    It works wonderfully.

     

    THANK YOU SO MUCH (again) :signthankspin:

    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

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×