Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating transparent surfaces

From: CINEMA 4D Essentials 4: Materials, Texturing, and Lights

Video: Creating transparent surfaces

Transparent objects are really about three things: what you can see through the glass, how you can see through the glass, and then what you see reflected in the glass. When you answer those three questions, you'll end up with a really decent-looking glass material. I've got a very simple scene here. I've got a Sky object that surrounds it, and the sky has this gradient material on it. It's just a series of bands. That's going to give us a nice reflective pattern on our objects. I've got these different spheres. Now, the ones that have stripes on them, we're going to leave them alone, we're not going to touch.

Creating transparent surfaces

Transparent objects are really about three things: what you can see through the glass, how you can see through the glass, and then what you see reflected in the glass. When you answer those three questions, you'll end up with a really decent-looking glass material. I've got a very simple scene here. I've got a Sky object that surrounds it, and the sky has this gradient material on it. It's just a series of bands. That's going to give us a nice reflective pattern on our objects. I've got these different spheres. Now, the ones that have stripes on them, we're going to leave them alone, we're not going to touch.

We're going to focus on the gray ones. The reason I have the striped ones in there is to give our objects something to see through, because remember, glass is about what you can see through it. Let's create a new material by double-clicking in the Material Manager, and let's call this material Glass. Let's take that Glass material and apply it to the empty cube and then apply it to the empty sphere. The reason I have both a sphere and a cube is that glass looks very different based on the shape of the object that it's being applied to.

Let's take a look at our Glass properties, and I'll select the Glass in the Material Manager and take a look at its attributes. If we look at the Basic properties here, we've got Color already on. We know we're going to need that. We're going to turn on Transparency, and let's focus on just the transparency for a moment to take a look at the properties. Then we'll come back to the Reflective and the Shiny bits. So let's start off by making it transparent. Here in the Editor window, let's hit Command+R or Ctrl+R and render our scene. You can see that both our sphere and our cube are gone. So we don't have to keep hitting Command+R or Ctrl+R.

Let's bring up the Interactive Render Region. The keyboard shortcut is Option+R. And let's take the Quality level up to 100%. Let's also enlarge the Interactive Render Region. It's a little bit hard to see the corner of the Interactive Render Region. In order to do that, let's turn off the Sky object. I'll double-click on the top gray dot. Now I could see my Interactive Render Region, and let's drag that down just a bit. It makes it much easier. The top gray dot refers to whether or not the object is visible in the Editor window.

The bottom gray dot is whether or not the object is visible in the render engine. So, by leaving the bottom gray dot on, we now see our object in the render, but we don't see it out here in the Editor window. Now that we've got our Interactive Render Region set, we can focus on the materials again. Let's deselect the Sky object by clicking over here. Let's go back to our Glass material. The only type of glass that really is completely transparent is window glass, and most other types of glass have a shape to it, and that shape creates something called an index of refraction.

The index of refraction is how much an object bends light as it passes through. Window glass has a very low index of refraction, plus it's perfectly flat so that it does not bend light. The lenses on your eyeglass bend light in a very specific way, because of the shape of the lens. In order to create that index of refraction, we have to turn on the Refraction Index in the Transparency option. So in the Transparency settings, the Brightness option controls whether or not the object is transparent.

If we dial this back a little bit, you'll see that our objects become more opaque. 0 is fully opaque and 100% is completely transparent. Right below that is the Refraction Index. 1 completely passes light without bending it at all. 1.2 is standard glass. Let's go 1.2. And watch what happens when I do that. You'll see that now we have a very different reaction from our glass shapes out here. The sphere is bending light all the way through it.

The cube is bending so much light we can't even see the sphere behind it anymore. I'll take the Refraction Index from 1.2 down to 1.01. That index of refraction is bending it every so slightly. Let's crank it up just a little bit more, to like 1.04. Now we've got a nice refraction on the cube and on the spheres. It's a nice balance between those two shapes. The next component of transparency is what you can see on the surface of the glass.

So, glass is reflective. Unless you were to hit it with the bead blast or something like that to change to surface property, it's always going to be reflective. So let's go to the Basic properties and turn on Reflection. When we do that we're going to get a perfectly reflective surface. Because our object is 100% transparent, we can't see any of those reflections. So in order to get the reflections to show up, we have to start to dial back the transparency a bit. So in the Transparency option, let's bring it from 100% brightness on the transparency, let's try 95%.

As soon as we do that, we start to see the reflection. You can see them here in the preview. We can also see them here in the surface of our objects. They got a little bit frosty-looking because of the gray environment that they're sitting in. They reflect that gray environment. If I were to change the environment to something a little more obvious--let's go to the Sky material and instead of this gradient that we have in the Luminance channel, let's add something that's a little more obnoxious. I'm going to go to the pulldown and in the Surfaces option, I'll add in Earth.

Earth is just a model blue and green texture. When I add that in there, you'll see that we've got now this blue and green going all through our object in the background, and it creates a very different impression on the surface. I am going to undo that--Command+Z or Ctrl+Z--to get back to our nice gradient. Glass is a really subtle effect in 3D. Take a look in your cupboard and look at some of the glasses that you see there and try re-creating some of them for practice.

Show transcript

This video is part of

Image for CINEMA 4D Essentials 4: Materials, Texturing, and Lights
 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed CINEMA 4D Essentials 4: Materials, Texturing, and Lights.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.