Grasshopper

algorithmic modeling for Rhino

Left: mesh with no coloring, Mesh with vertex coloring and face color
Using: Mesh(+) and Weaverbird

Views: 305

Comment

You need to be a member of Grasshopper to add comments!

Comment by Wieland Schmidt on May 6, 2014 at 2:30pm

Sorry for being to impatient... with ReMap the gradient of course works:

Comment by David Mans on May 6, 2014 at 2:26pm

Wieland,

For the color, you need to remap the z values from their bounds to (0-1).

In regards to the weaverbird issue, there could be two causes, one of the t inputs could be null, or welding the mesh may solve it.

Comment by Wieland Schmidt on May 6, 2014 at 2:23pm

Okay, it works with cullVertices:

Comment by Wieland Schmidt on May 6, 2014 at 2:14pm

David,

thanks a lot for your explanation. My definition woks quite well now, somehow the third gradient color doesn't show up and WB is not willing to subdivide the mesh... 

I got WB version 9.0.1 , this error message balloon shows up:

1. WbProcessingException: Two consecutive edges, 3 and 0, have the same value,0, in face 0. This topology is invalid. Try using Weaverbird's Clean Up Mesh first. - Weaverbird was unable to produce a valid result because of this

BTW: I like Mesh(+) a lot, its a great tool! Thanks for that.

Comment by David Mans on May 6, 2014 at 12:33pm

Wieland,

Sure thing, the process is fairly simple:

1: Created a Mesh Sphere Ex

2: Deconstructed the mesh and extracted the Z parameter from each vertex

3: Applied a Color Mesh pattern where the unitized Z parameters sampled a three color gradient

4: Used the mesh(+) Polyp component and applied a yellow color swatch to the "clr" input.

5: Smoothed the mesh with the Weaverbird Catmull Clark subdivision component.

Comment by Wieland Schmidt on May 6, 2014 at 10:32am

Hi David,

the vertex coloring looks really great! Can you explain or post a example how you apply the color?

Thanks and greetings from Munich, Wieland 

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service