Search code examples
3dmeshlab

How to change color of shillouette of mesh on backgroud grid?


I render background grid and enable show shillhouette of mesh on the background grid but i want to change color to black.How can I do that I cant find in Tools->Options.Shillhouette on background grid


Solution

  • I'm sorry to have to say that you can't do that without changing the code. I have find a workaround that may or may not be valid for you.

    1. Start from your current configuration, enabling "Render->Background Grid" and "Show Shilhouette", which will be rendered in white color.

    2. Select option "File->Save Snapshot" and choose the option "Background: Solid Black" before of click con "Save button"

    Save Snapshot configuration

    1. You'll end with a image similar to this one. White Shilhouette over black background.

    White Shilhouette over Black background

    1. Disable "Render->Background Grid" and take another snapshot, this time with "Transparent backgroud" Transparent Background

    2. Open the grid image with an image editor (photoshop, gimp, imagemagick, etc...) and Invert Colors in the image. You will get something like this:

    Screenshot after invert

    If this shilhouette is what you expected... congratulations. Dont worry about the surface mesh being inverted.

    1. Combine the inverted screenshot of the previous step with transparent background screenshot (taken in step 4) to obtain one image like this one: enter image description here