About Us   Contact Us   Site Security  
 
 
 
Home V-Ray for 3ds Max / Design V-Ray for Maya V-Ray for Softimage V-Ray for SketchUp V-Ray for Rhino V-Ray for C4D
 
     

 Subscribe to our V-Ray News Feed

Categories Categories
V-Ray for 3ds Max / Design
V-Ray for Maya
V-Ray for SketchUp
V-Ray for Rhino
V-Ray for C4D
V-Ray for Softimage
V-Ray for Blender
V-Ray Materials
V-Ray Training

V-Ray Gallery
V-Ray Tutorials
V-Ray Manuals
V-Ray Artist Spotlight


Product Select Product Select
V-Ray 3.0 for 3ds Max / Design(New)
V-Ray for 3ds Max / Design (EDU)
MultiScatter
AutoGrass for V-Ray
V-Ray 2.0 for Maya
V-Ray for Maya Educational Edition
V-Ray 2.0 for SketchUp (New)
V-Ray for SketchUp EDU
V-Ray for SketchUp EDU to Commercial Upgrade
V-Ray for SketchUp EDU Lab Bundle
V-Ray for SketchUp Mac OS X
V-Ray 2.0 for Rhino (New)
V-Ray 2.0 for Rhino EDU (New)
V-Ray for Rhino EDU to Commercial Upgrade
V-Ray 2.0 for Rhino EDU Lab Bundle (New)
V-Ray 1.8 for C4D (New)
V-Ray 1.8 for C4D EDU (New)


V-Ray Resources V-Ray Resources
Free V-Ray Demo
Free V-Ray Tools


Help Help
V-Ray Product Support
Contact us
Retrieve Account Information
Privacy statement
Terms & Conditions


Payment Options Payment Options
Visa Accepted
 
MasterCard Accepted
 
Discover/Novus Accepted
 
American Express Accepted
 
PayPal Accepted
 
Official PayPal Seal

VRay.com - Your source for all things VRay  ::  VRay for Rhino  ::  Manual  ::  Transparency Mapping

VRay for Rhino Manual

VRay for Rhino Manual

Transparency Mapping

What is Transparency Mapping?

Transparency mapping is another method using Bitmap to create materials. The difference is that this is using alpha channel to get rid of unwanted part of the Bitmap, saving only the part covered by alpha channel. This is called a mask.

This is used mostly for creating product logos, stickers and numbers. Many users try to avoid using transparency mapping and model the actual object in the scene. Although you can ignore material settings by creating the actual model of objects, that will increase both the number of objects in the scene and the file size. The more objects you get, the longer the rendering time you would need.

You will get the result as left image if you apply the texture map directly without transparency map. The black background of the texture map is blocking part of the cup. The image on the right is rendered with transparency map.

Transparency Map example

Open Cup_Decals.3dm. Here is the object and the transparency map that we will use to create our label.

Transparency Mapping - Object

Transparency Mapping - transparency map

You will get the result as the image below if you apply the texture map directly without transparency map. The black background of the texture map is blocking part of the cup. The second image below is rendered with transparency map.

Transparency Mapping - result without transparency map

Transparency Mapping - result with transparency map

1. Click on the cup and open its Material Editor. Open Cup_Red; right click on Diffuse Layers to add a new layer and you will have the dialog window as the second image below. A Diffuse1 control panel is added under the Diffuse.

Transparency Mapping - Mini Tutorial - Step 1

Transparency Mapping - Mini Tutorial - Step 1

2. Click on the "m" at the right of Transparency under Diffuse to enter the Texture Editor. Load the Bitmap for Transparency texture map. Make sure you uncheck the Tile first to avoid repeating this Bitmap on the object.

Use Photoshop, PhotoImpact and similar image editing software to create black and white image and save as .bmp, .jpg or .png which are the formats accepted by V-Ray.

Transparency Mapping - Mini Tutorial - Step 2

Transparency Mapping - Mini Tutorial - Step 2

3. Use Diffuse1 color to edit the color for this Transparency map. Click on the "m" at the right of Color to add more texture to this map if needed.

Transparency Mapping - Mini Tutorial - Step 3

Render it and will get image like below. The Transparency map is covering the entire cup. That's because there is no mapping applied to this cup yet.

Transparency Mapping - Mini Tutorial - Step 3

4. Under Properties>Mapping, add a new channel, change the projection type to Planar, and adjust the mapping widget's size and position as image showed below. If the Tile remains checked, it will render as the second image below.

Transparency Mapping - Mini Tutorial - Step 4

Transparency Mapping - Mini Tutorial - Step 4

How Transparency Mapping works

The diagram below depicts transparency mapping. The idea is using a grayscale image as mask, black area will not be penetrated and only white area will let light through, other gray area will then become translucent.

The white area get the color assigned in Diffuse1 and end up showing on the surface of the object after rendered.

For the cup example above, after assign a mask to the Transparency, the red color of the cup is affected by the white area of the mask and no longer showing red. The second layer of the Diffuse1 color at the diagram below is used to cover the white area of the first layer.

How Transparency Mapping works

Another method for creating the same result

Totally opposite from the method above, set the Diffuse to white, Transparency as mask, but switch the black and white area, and let the Diffuse1 color show up at the upper layer. Assign the Diffuse1 color to red and will get the same result as above after rendered.

Another method for creating the same result

Another method for creating the same result

Other Uses for transparency mapping

There are many ways to use transparency map, not just used only for text mask as example before. Here are some more examples often used to create a texture map. First is using a gradient Bitmap as the Diffuse Transparency mask; let the yellow color of Diffuse1 show up through the white area at the cup and create two gradient colors on the cup as the second image below. This is the better way then using a gradient Bitmap directly as the Diffuse texture because of its flexibility of changing the colors. You will have to make another Bitmap of different colors combination if the color need to be changed.

Other Uses for transparency mapping - using a gradient Bitmap as the Diffuse Transparency mask

Other Uses for transparency mapping - using a gradient Bitmap as the Diffuse Transparency mask example render

The second example is using other grayscale Bitmap as the transparency mask. Although it is not a gradient image, but they work exact the same. A rendered image is below.

Other Uses for transparency mapping - using other grayscale Bitmap as the transparency mask

Other Uses for transparency mapping - using other grayscale Bitmap as the transparency mask example render

The third example is adding another Diffuse2 layer, and assigns a 0 degree and a 180 degree gradient Bitmaps to Diffuse and Diffuse1 in Transparency. Give the Diffuse2 a third color to create this three-color gradient rendering effect for the cup. A rendered image is below.

Other Uses for transparency mapping - adding another Diffuse2 layer, and assigns a 0 degree and a 180 degree gradient Bitmaps to Diffuse and Diffuse1 in Transparency

Other Uses for transparency mapping - adding another Diffuse2 layer, and assigns a 0 degree and a 180 degree gradient Bitmaps to Diffuse and Diffuse1 in Transparency - example render

The forth example is to use gradient color in refractive material. Similar to previous examples, use a gradient grayscale Bitmap as the Diffuse Transparency mask. Add a Refraction layer to create the half transparent and half opaque effect.

Other Uses for transparency mapping - use gradient color in refractive material

Other Uses for transparency mapping - use gradient color in refractive material example render

The fifth Example is the same as the third example, with the difference being a refraction layer, and changing the transparency color of Diffuse2 to white. This will make the white area at the middle become transparent. A rendered image is below.

Other Uses for transparency mapping - using a refraction layer

Other Uses for transparency mapping - using a refraction layer example render

The example above can not have the transparent quality at the top and bottom of the cup because of the black color in the grayscale gradient Bitmap. The last example below is to use a pre-made gradient Bitmap as the Refraction Transparency map. Set the Diffuse Transparency to a usual white, and then assign the Bitmap to Refraction under Refraction control panel, and you will get the same result as the second image shown below.

Other Uses for transparency mapping - use a pre-made gradient Bitmap as the Refraction Transparency map

Other Uses for transparency mapping - use a pre-made gradient Bitmap as the Refraction Transparency map example render


Buy VRay for Rhino
Buy VRay for Rhino

V-Ray 1.5 for Rhino includes many new features and improvements, including real-time rendering using V-Ray RT, optimized image-based lighting with the new Dome Light and efficient memory management using Proxy objects.

View Product Page




Buy VRay for Rhino EDU

The EDU edition provides students and training centers a substantial educational discount.

View Product Page


V-Ray Newsletter

V-Ray Newsletter
Renderings by Dennis Brunn

 
Subscribe to our V-Ray Newsletter

Subscribe to our V-Ray Newsletter and receive new V-Ray product announcements, special sales, tutorial updates and more!

Brought to you by Visual Dynamics LLC.


  Your email address is never shared and is always kept strictly confidential. Each newsletter that we send always has a single click unsubscribe link so that you can unsubscribe at any time if you decide that you wish to do so.


*  Your email address:
*  Enter the security code shown:


Your cart Your cart
View cart
Checkout
Wish list
Orders history


News News

Monday, March 24, 2014

V-Ray 2.0 for SketchUp now supports SketchUp 2014

V-Ray 2.0 for SketchUp now supports SketchUp 2014

V-Ray 2.0 for SketchUp Service Pack 1 is now available for download. A few new features have been added and improvements have been made to many current ones.

Click here for more information



Your e-mail:

Type the characters you see in the picture. (If you do not see any picture here, please enable images in your web browser options and refresh this page):

Get a different code
Subscribe 


Follow Us on Twitter

Follow Us on Twitter



Feedback Feedback

Truly a great service experience! I'd recommend this site to anyone.

Jeff O.
Click Draw
Richmond, Canada


I emailed with a query as I am intending to purchase V-Ray but had some reservations about the products compatibilities etc. A big thank you to Scott Slauson who replied extremely quickly and answered all my questions clearly and concisely, very impressed!

Kris R.


Great service!

Artem T.
Leipzig, Germany


very soon & very good

Oscar
Taipei, Taiwan


Thank You Scott, congratulations by your competence and kind!!!

Carlos S.
TKS Educacao e Tecnologia
Curitiba, Brazil
 


Robin A.
RA Design
Measham, United Kingdom


View More Feedback Results




VRay.com is a service of Visual Dynamics LLC Copyright 2014 VRay.com - Your source for all things V-Ray