In our example we captured a model of a transparent bottle by painting it with white paint first. The interior has not been modelled so the bottle is incorrectly closed over at the top. In this tutorial we will show how to enhance the model so that the bottle appears semi-transparent and glossy with the top removed and an opaque non-glossy label will be added to the side.
If required, make any necessary edits to the texture map using the texture copy and paste tools (see Editing the textures). To summarise we rotate the 3d model in 3DSOM Pro and hit the button (or CTRL-C) then paste from the clipboard into a 2D image editing package (e.g. Photoshop). Then using the 2D image editing tools make the required changes. The edited image should then be brought back into 3DSOM Pro by copying onto the clipboard and hitting the button or for Photoshop users flattening the image and dragging the whole image into 3DSOM Pro with the move tool.
If parts of your object are transparent, you will need to create a transparency channel. This is an additional texture map that defines which parts of the object are transparent, semi-transparent or opaque.
Select the "Transparency" type from the drop-down list. In our case the bottle is predominantly semi-transparent so we selected the "Fill with single colour" option and picked a dark grey colour by clicking the coloured button next to this option.
To create the new transparency channel we select "OK". The new channel will be created and displayed as the texture for the model. You can switch to view the default diffuse channel and back using the menu item and menu item.
To edit the transparency make sure it is selected as the current channel using the menu item. Then you can use the standard "Copy/ Paste" editing mechanism to make changes to the texture map for this channel.
In our example we need to paint the label region as white so that it is opaque. To do this we orient the model so we can see the label. To help with the editing we choose to copy the diffuse layer into our editor from this viewpoint - selecting menu item then copying and pasting into the image editor.
To edit the transparency channel it is first selected (without changing the model orientation) and then copied to clipboard (CTRL-C) and pasted into the image editor. We then paint the label region to be white...
To do this we select menu item and select the "Specular colour" type from the drop-down menu. In our example we start with the existing (transparency) channel selecting "copy currently selected map".
Finally, to remove the top of the bottle we can create a circular hole by painting a black circle in both the specular and transparency channels (using the "Copy/ Paste" mechanism) to ensure this region is completely invisible.
|< Previous topic|
(Modelling a part of an object)
|Next topic >
(About the 3DSOM Pro WebGL Viewer)