Grasshopper

algorithmic modeling for Rhino

0 | Ladybug
1 | AnalyzeWeatherData
2 | VisualizeWeatherData
3 | EnvironmentalAnalysis
4 | Renewables
5 | Extra
6 | Developers
7 | WIP

Texture Maker

Component Index > Ladybug > 5 | Extra > Texture Maker

Use this component to generate textures from colored meshes.
In order to export model as *obj you should Bake the new mesh and apply texture to its layer material.
It is also compatible with Google Earth.
How to use it:
1) connect colored mesh which comes from LB analysis component
2) run the component
The output are: a new mesh that you have to bake and a texture that you should add to material of the layer where your mesh will be.
Special thanks goes to the author of the function, Vincente Soler.
.
http://www.grasshopper3d.com/forum/topics/how-to-render-mesh-colors

Inputs

NameIDDescriptionType
_analysisMesh_analysisMeshA list of colored Meshes that comes from Grasshopper OR . "radiationMesh" of "Ladybug_Radiation Analysis" . "viewStudyMesh" of "Ladybug_View Analysis" . and so on..Goo
transparency_transparency_An optional number between 0 and 1 to set the opacity/transparency of the image. Note that Rhino may not display this transparency but rendering programs like V-Ray will be able to render it.Goo
folder_folder_The folder into which you would like to write the image file. This should be a complete file path to the folder. If no folder is provided, the images will be written to C:/USERNAME/AppData/Roaming/Ladybug/LB_TextureMesh.Goo
name_name_The file name that you would like the image to be saved as. If no input is provided it will be created automatically.Goo
_layerName__layerName_An optional text string to set the name of the layer onto which the image-mapped mesh will be baked.Goo
softBake_softBake_Set to "True" to run the component and bake the mesh with image material. However, if this component runs again, the old geometry in the Rhino scene will be overwritten by new geometry, allowing you to make things like rendered animations.Goo
_bakeIt_bakeItSet to "True" to run the component, generate texture images, and bake the mesh into the scene with the image as a material.Goo

Outputs

NameIDDescriptionType
outreadMe!...String
imagePathimagePathUse this image as texture for the new mesh. Connect imagePath to "DB" input of "Human Create/Modify material" and its output to "Human Create/Modify Layers" to apply material to a layer.Goo
alphaPathalphaPathScript variable Texture MakerGoo
meshmeshA new mesh that is structured to correctly accept the image map. This has been baked into the scene for you.Goo

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service