Skip to content

Add a logo to object via a .TGA import and extrude #17

Answered by josefinelissner
thsmit asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Thijs!

Images can be used as 2D-SurfaceModulation objects and inputed into any base shape that can do SurfaceModulations.
However, there is a base shape called "BaseLogoBox" that is specifically designed for the use as a Logo plate. It's internal meshing strategy will copy the pixel resolution of your image.

I am attaching a example code that showcases how to use this base shape:
Ex_LogoShowCase.txt

Here is the output of Step 1, which is the simples case.

Note that there is a mapping function which correlates pixel grayscale value (normalized between 0 and 1) to an "emboss" height. A different function (e.g. Option 2) will allow you to invert the image emboss.

As a Step 2 you can add…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@josefinelissner
Comment options

@thsmit
Comment options

Answer selected by josefinelissner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants