Materials¶
Set color¶
Set texture¶
Set material¶
Basic material¶
Lambert material¶
Phong material¶
Texture loader¶
Use a texture loader to load image resources as textures, to add a texture loader block go to CAD, then, Material, find the texture loader block and click it.
Once you have an object loader in your workspace, click on the gear icon to open a file selection window, if you want to load a file from your PC click the “load” button” and browse your PC for an OBJ or STL file. Also you can enter or paste an URL in the text box and then click the “load url” button to load from a web location.
you will see a preview of the file, then you can enter or click the “close” button, to close the window and go back to your workpsace
Then, to use the loaded texture you can go to CAD - Material, select a “setTexture” Block, and snap the texture loader instead of the default texture loader of the block, the result shoud look as follows: