We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
0 | Ladybug
1 | AnalyzeWeatherData
2 | VisualizeWeatherData
3 | EnvironmentalAnalysis
4 | Renewables
5 | Extra
6 | Developers
7 | WIP

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
Analysis Mesh_analysisMeshA list of colored Meshes that comes from Grasshopper OR . "radiationMesh" of "Ladybug_Radiation Analysis" . "viewStudyMesh" of "Ladybug_View Analysis" . and so on..Goo
Transparencytransparency_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
Folderfolder_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
Namename_The file name that you would like the image to be saved as. If no input is provided it will be created automatically.Goo
Layer Name_layerName_An optional text string to set the name of the layer onto which the image-mapped mesh will be baked.Goo
Soft BakesoftBake_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
Bake It_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
Image PathimagePathUse 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
Alpha PathalphaPathScript 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

Video Tutorials

Site design © Robin Rodricks.   Site co-created by Andrew Heumann.   Ladybug and associated data © 2024 Ladybug Tools.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service