ASR: en
0:00:08.630,0:00:14.910
hi this is Marty from Blue Lightning TV
0:00:11.610,0:00:17.400
I'm going to show you how to create a
0:00:14.910,0:00:20.490
three-dimensional Rubik's Cube from
0:00:17.400,0:00:23.490
scratch this tutorial is in two parts in
0:00:20.490,0:00:25.920
part 1 will create the template for the
0:00:23.490,0:00:29.670
side of the cube and the basic cube
0:00:25.920,0:00:35.850
shape casting a shadow in part 2 we'll
0:00:29.670,0:00:38.219
put it all together create a new
0:00:35.850,0:00:41.920
document by pressing control n on
0:00:38.219,0:00:45.460
Windows or command n on a Mac
0:00:41.920,0:00:50.469
name it whatever you'd like make its
0:00:45.460,0:00:55.050
width 1550 pixels its height 870 pixels
0:00:50.469,0:00:59.379
and it's resolution 150 pixels per inch
0:00:55.050,0:01:02.619
the color mode is RGB and 8 bits per
0:00:59.379,0:01:04.500
channel then click OK or press Enter or
0:01:02.619,0:01:06.120
return
0:01:04.500,0:01:08.460
we'll start by making a
0:01:06.120,0:01:11.100
three-dimensional cube it's important to
0:01:08.460,0:01:15.630
note that 3d is only available in
0:01:11.100,0:01:19.140
extended versions of cs5 and cs6 as well
0:01:15.630,0:01:25.800
as all versions of CC versions prior to
0:01:19.140,0:01:32.360
cs5 won't have 3d go to 3d new mesh from
0:01:25.800,0:01:36.780
layer mesh preset and cube wrap
0:01:32.360,0:01:40.229
if you see this message click yes
0:01:36.780,0:01:42.180
I did an in-depth tutorial on 3d so if
0:01:40.229,0:01:44.790
you'd like to watch it I provided its
0:01:42.180,0:01:46.979
link in my video's description if you
0:01:44.790,0:01:51.440
don't see the grid and the secondary
0:01:46.979,0:01:56.270
view window press ctrl or command H
0:01:51.440,0:01:59.000
in the 3d panel click cube wrap
0:01:56.270,0:02:01.450
in the properties panel click the
0:01:59.000,0:02:06.659
coordinates icon
0:02:01.450,0:02:10.629
in the Y rotation angle field type in 45
0:02:06.659,0:02:13.930
this rotates the cube 45 degrees on its
0:02:10.629,0:02:16.599
y-axis at the lower left corner you'll
0:02:13.930,0:02:19.150
see three black and white icons by
0:02:16.599,0:02:21.400
clicking and dragging each one you'll be
0:02:19.150,0:02:25.120
able to move the 3d camera around the
0:02:21.400,0:02:27.880
cube click and drag the orbit icon
0:02:25.120,0:02:31.599
straight down to orbit the camera to
0:02:27.880,0:02:35.410
approximately this angle next click and
0:02:31.599,0:02:38.310
drag the pan icon up to pan your attire
0:02:35.410,0:02:41.370
image up on your screen
0:02:38.310,0:02:45.000
click the light bulb icon to open the
0:02:41.370,0:02:47.459
lights panel earlier I chose an infinite
0:02:45.000,0:02:50.190
light source however if you don't have a
0:02:47.459,0:02:53.190
light source chosen go to the bottom of
0:02:50.190,0:02:57.400
the panel click the light bulb icon and
0:02:53.190,0:03:01.150
click new infinite light
0:02:57.400,0:03:04.769
drag the handle of the light widget to
0:03:01.150,0:03:04.769
an angle you like for the shadow
0:03:05.030,0:03:12.020
click the infinite light icon make sure
0:03:09.020,0:03:16.740
the color is white the intensity is
0:03:12.020,0:03:19.620
ninety percent and the shadow is checked
0:03:16.740,0:03:22.370
drag the softness to approximately
0:03:19.620,0:03:22.370
thirty percent
0:03:23.090,0:03:31.180
before we render the image let's check
0:03:25.970,0:03:31.180
your 3d settings go to edit
0:03:31.230,0:03:36.310
preferences
0:03:33.770,0:03:36.310
3d
0:03:37.190,0:03:44.630
there are two areas that are important
0:03:39.320,0:03:47.240
the RAM and Ray tracer the ram is short
0:03:44.630,0:03:49.490
for video RAM it's essentially the
0:03:47.240,0:03:52.520
memory that's used for video adapters
0:03:49.490,0:03:55.550
I'm using all of my v ram for photoshop
0:03:52.520,0:03:57.740
however it's really not necessary Adobe
0:03:55.550,0:04:01.220
states that the minimum for running 3d
0:03:57.740,0:04:03.800
in Photoshop is 512 megabytes the
0:04:01.220,0:04:06.770
default setting of the threshold for ray
0:04:03.800,0:04:09.470
tracer is 5 however for this image I'm
0:04:06.770,0:04:11.750
using for the higher the number the
0:04:09.470,0:04:14.360
higher the quality will be but the
0:04:11.750,0:04:17.000
longer it will take to render conversely
0:04:14.360,0:04:19.400
the lower the number the faster it will
0:04:17.000,0:04:22.000
render but the grainy er your rendered
0:04:19.400,0:04:22.000
image will look
0:04:24.630,0:04:30.360
click the render icon and just sit back
0:04:28.380,0:04:32.640
and be patient it could take anywhere
0:04:30.360,0:04:34.290
from a few minutes to over an hour to
0:04:32.640,0:04:37.040
render it depending on your particular
0:04:34.290,0:04:39.950
computer specs
0:04:37.040,0:04:42.890
once it finishes rendering the grid and
0:04:39.950,0:04:46.970
secondary view will appear again to hide
0:04:42.890,0:04:49.520
them press ctrl or command H let's view
0:04:46.970,0:04:54.410
our workspace in the normal mode to do
0:04:49.520,0:04:58.190
this go to window and workspace right
0:04:54.410,0:05:00.830
now 3d is checked I already customized a
0:04:58.190,0:05:02.930
workspace for myself however if you
0:05:00.830,0:05:05.420
haven't done this for yourself just
0:05:02.930,0:05:08.030
click essentials which is photoshop's
0:05:05.420,0:05:10.480
default workspace I'll click on my own
0:05:08.030,0:05:10.480
workspace
0:05:12.200,0:05:17.220
ctrl-click or command click on the new
0:05:14.640,0:05:19.280
layer icon to make a new layer below the
0:05:17.220,0:05:21.410
active layer
0:05:19.280,0:05:24.350
we'll fill the empty layer with white
0:05:21.410,0:05:26.600
but first if your foreground and
0:05:24.350,0:05:29.169
background colors aren't black and white
0:05:26.600,0:05:31.850
respectively press D on your keyboard
0:05:29.169,0:05:37.090
since white is the background color
0:05:31.850,0:05:37.090
press ctrl or command + delete
0:05:37.420,0:05:42.689
click the icon at the upper right of the
0:05:39.730,0:05:45.760
layers panel and click
0:05:42.689,0:05:50.250
flatten image
0:05:45.760,0:05:50.250
when you see this message click OK
0:05:51.580,0:05:56.650
next we'll create the side template for
0:05:54.710,0:05:59.680
the Rubik's Cube
0:05:56.650,0:06:03.930
click the new layer icon to make a new
0:05:59.680,0:06:07.880
layer fill it with white
0:06:03.930,0:06:07.880
and make another layer above it
0:06:08.620,0:06:16.050
open your rounded rectangle tool and
0:06:12.180,0:06:20.900
click your foreground color
0:06:16.050,0:06:23.320
in the brightness field type in 50
0:06:20.900,0:06:23.320
ok
0:06:23.360,0:06:32.980
choose pixels if you're using cs5 or
0:06:27.889,0:06:37.000
earlier the pixels icon is here
0:06:32.980,0:06:42.480
make the radius 10 pixels
0:06:37.000,0:06:42.480
the gear icon and tick square
0:06:44.770,0:06:51.639
dragged out a square approximately one
0:06:47.410,0:06:54.400
inch and release the square instantly
0:06:51.639,0:06:57.580
fills with the foreground color
0:06:54.400,0:07:02.580
double click the top layer to open its
0:06:57.580,0:07:02.580
layer style window click stroke
0:07:02.889,0:07:10.030
make the size 10 pixels
0:07:06.460,0:07:14.220
the position is outside and the color is
0:07:10.030,0:07:14.220
black then click OK
0:07:14.289,0:07:19.930
we want to add a filter to the entire
0:07:16.659,0:07:22.509
square which includes the stroke to do
0:07:19.930,0:07:29.249
this we first need to rasterize the
0:07:22.509,0:07:29.249
stroke go to layer rasterize
0:07:29.590,0:07:36.490
and layer style
0:07:33.070,0:07:40.450
now the stroke is fused with the square
0:07:36.490,0:07:43.180
as before double-click the square to
0:07:40.450,0:07:47.010
open its layer style window this time
0:07:43.180,0:07:47.010
click bevel and emboss
0:07:47.470,0:07:55.030
style is inner bevel the technique is
0:07:51.250,0:07:56.810
chisel hard and the depth is a hundred
0:07:55.030,0:08:02.330
percent
0:07:56.810,0:08:05.389
is up and the size is four pixels the
0:08:02.330,0:08:08.169
highlight mode is screen and the
0:08:05.389,0:08:12.500
highlight opacity is a hundred percent
0:08:08.169,0:08:18.550
the shadow mode is multiply and its
0:08:12.500,0:08:18.550
opacity is 50% then click OK
0:08:19.390,0:08:24.880
let's collapse the effects to save space
0:08:21.910,0:08:27.070
in the layers panel to do this simply
0:08:24.880,0:08:31.090
click the small arrow head next to the
0:08:27.070,0:08:35.070
FX icon make a copy of the layer by
0:08:31.090,0:08:35.070
pressing ctrl or command J
0:08:35.590,0:08:41.590
press V on your keyboard to open your
0:08:38.680,0:08:44.320
move tool and press and hold the shift
0:08:41.590,0:08:46.930
key as you drag the copy to the right
0:08:44.320,0:08:50.170
holding shift kept the square aligned
0:08:46.930,0:08:52.720
horizontally as you dragged it across we
0:08:50.170,0:08:55.450
want the inside edges of both squares to
0:08:52.720,0:08:57.940
touch each other to do this press the
0:08:55.450,0:09:00.940
left arrow key on your keyboard to move
0:08:57.940,0:09:03.570
the active square to the left one pixel
0:09:00.940,0:09:03.570
at a time
0:09:04.209,0:09:07.470
make another copy
0:09:07.710,0:09:11.240
and repeat the steps
0:09:14.220,0:09:20.749
merge the three squares into one layer
0:09:18.259,0:09:22.910
shift clicking on the bottom square to
0:09:20.749,0:09:26.979
highlight all the layers and then
0:09:22.910,0:09:26.979
pressing ctrl or command e
0:09:27.220,0:09:30.480
make a copy of the layer
0:09:31.059,0:09:36.930
and press and hold shift as you drag the
0:09:34.680,0:09:40.230
copy straight down below the top row
0:09:36.930,0:09:43.529
press the up arrow key to move it up
0:09:40.230,0:09:46.190
until it touches the top row make
0:09:43.529,0:09:46.190
another copy
0:09:46.710,0:09:50.450
and repeat the same steps
0:09:53.660,0:09:58.240
merge the three rows into one layer
0:10:01.270,0:10:05.240
drag it closer to the center if you need
0:10:03.820,0:10:07.850
to
0:10:05.240,0:10:11.200
next we'll fill in the four white areas
0:10:07.850,0:10:11.200
that show through the squares
0:10:11.520,0:10:16.080
trow click or command click on the new
0:10:13.410,0:10:18.770
layer icon to make a new layer below the
0:10:16.080,0:10:18.770
active layer
0:10:19.830,0:10:26.990
open your pencil tool
0:10:23.390,0:10:28.710
and pencil picker make the size 30
0:10:26.990,0:10:30.930
pixels
0:10:28.710,0:10:34.170
and make sure the hardness and opacity
0:10:30.930,0:10:38.209
are both a hundred percent
0:10:34.170,0:10:38.209
over the white areas to fill them in
0:10:38.930,0:10:45.200
merge these two layers by shift-clicking
0:10:41.899,0:10:47.830
on the top layer and pressing ctrl or
0:10:45.200,0:10:47.830
command e
0:10:48.029,0:10:56.199
in part 2 we'll assemble our elements
0:10:52.870,0:10:59.139
until our finished Rubik's Cube this is
0:10:56.199,0:11:01.170
Marty from Blue Lightning TV thanks for
0:10:59.139,0:11:01.170
watching
standard: en
0:00:09.520,0:00:16.060
Hi. This is Marty from Blue Lightning TV.
I'm going to show you how to create a 3-dimensional,
0:00:16.070,0:00:23.300
Rubik's Cube from scratch. This tutorial is
in 2 parts. In part 1, we'll create the template
0:00:23.300,0:00:30.000
for the side of the cube and the basic cube
shape casting a shadow. In Part 2, we'll put
0:00:30.000,0:00:40.680
it all together. Create a new document by
pressing Ctrl + N on Windows or Cmd + N on
0:00:40.690,0:00:51.270
a Mac. Name it whatever you'd like. Make its
Width: 1550 pixels, its Height: 870 pixels
0:00:51.720,0:00:59.960
and its Resolution: 150 pixels per inch. The
Color Mode is RGB and 8 bits per channel.
0:01:00.160,0:01:07.860
Then click OK or press Enter or Return. We'll
start by making a 3-dimensional cube. It's
0:01:07.860,0:01:15.610
important to note that 3D is only available
in extended versions of CS5 and CS6, as well
0:01:15.610,0:01:26.530
as all versions of CC. Versions prior to CS5
won't have 3D. Go to 3D, "New Mesh from Layer",
0:01:27.480,0:01:38.240
"Mesh Preset" and "Cube Wrap". If you see
this message, click "Yes". I did an in-depth
0:01:38.240,0:01:44.620
tutorial on 3D, so if you'd like to watch
it, I provided its link in my video's description.
0:01:44.630,0:01:52.120
If you don't see the grid and the "Secondary
View" window, press Ctrl or Cmd + H. In the
0:01:52.120,0:02:02.100
3D panel, click "CubeWrap". In the Properties
panel, click the "Coordinates" icon. In the
0:02:02.100,0:02:11.510
"Y Rotation Angle" field, type in: 45. This
rotates the cube 45 degrees on its "Y" axis".
0:02:11.510,0:02:17.840
At the lower, left corner you'll see 3 black
and white icons. By clicking and dragging
0:02:17.840,0:02:24.640
each one, you'll be able to move the 3D Camera
around the cube. Click and drag the "Orbit"
0:02:24.640,0:02:32.090
icon straight down to orbit the camera to
approximately this angle. Next, click and
0:02:32.090,0:02:40.110
drag the "Pan" icon up to pan your entire
image up on your screen. Click the Lightbulb
0:02:40.110,0:02:46.700
icon to open the Lights panel. Earlier, I
chose an "Infinite Light" source, however,
0:02:46.700,0:02:52.470
if you don't have a light source chosen, go
to the bottom of the panel, click the Lightbub
0:02:52.470,0:03:01.599
icon and click "New Infinite Light". Drag
the handle of the Light widget to an angle
0:03:01.599,0:03:11.120
you like for the shadow. Click the Infinite
Light icon. Make sure the color is white,
0:03:11.120,0:03:20.820
the Intensity is 90% and "Shadow" is checked.
Drag the Softness to approximately 30%.
0:03:23.440,0:03:34.680
Before we render the image, let's check your 3D settings. Go to Edit, Preferences and 3D.
0:03:37.540,0:03:47.160
There are 2 areas that are important. VRAM and Ray Tracer. VRAM is short for "video RAM". It's essentially
0:03:47.170,0:03:53.410
the memory that's used by video adapters.
I'm using all of my VRAM for Photoshop, however,
0:03:53.410,0:03:58.980
it's really not necessary. Adobe states that
the minimum for running 3D in Photoshop is
0:03:58.980,0:04:06.760
512MB. The default setting of the Threshold
for Ray Tracer is 5, however, for this image,
0:04:06.760,0:04:12.489
I'm using 4. The higher the number, the higher
the quality will be, but the longer it will
0:04:12.489,0:04:18.070
take to render. Conversely, the lower the
number, the faster it will render, but the
0:04:18.070,0:04:20.550
grainier your rendered image will look.
0:04:25.120,0:04:29.500
Click the Render icon and just sit back and be patient.
0:04:29.740,0:04:33.919
It could take anywhere from a few minutes
to over an hour to render it depending on
0:04:33.919,0:04:40.650
your particular computer's specs. Once it
finishes rendering, the grid and secondary
0:04:40.650,0:04:47.780
view will appear again. To hide them, press
Ctrl or Cmd + H. Let's view our workspace
0:04:47.780,0:04:57.010
in the normal mode. To do this, go to Window
and Workspace. Right now, 3D is checked. I
0:04:57.010,0:05:02.600
already customized a workspace for myself,
however, if you haven't done this for yourself,
0:05:02.600,0:05:09.200
just click Essentials, which is Photoshop's
default workspace. I'll click my own workspace.
0:05:12.560,0:05:18.620
Ctrl-click or Cmd-click on the New Layer icon
to make a new layer below the active layer.
0:05:19.700,0:05:25.460
We'll fill the empty layer with white. But
first, if your foreground and background colors
0:05:25.470,0:05:31.650
aren't black and white respectively, press
"D" on your keyboard. Since white is the background
0:05:31.650,0:05:41.220
color, press Ctrl or Cmd + Delete. Click the
icon at the upper, right of the Layers panel
0:05:41.229,0:05:48.809
and click "Flatten Image". When you see this message, click OK.
0:05:51.960,0:06:01.280
Next, we'll create the side template for the Rubik's Cube. Click the New Layer icon to make a new layer. Fill
0:06:01.290,0:06:13.229
it with white and make another layer above
it. Open your "Rounded Rectangle Tool" and
0:06:13.229,0:06:25.469
click your foreground color. In the Brightness
field, type in 50 and click OK. Choose "Pixels".
0:06:25.900,0:06:35.700
If you're using CS5 or earlier, the "Pixels"
icon is here. Make the "Radius": 10 pixels.
0:06:36.540,0:06:40.800
Click the gear icon and tick "Square".
0:06:45.200,0:06:49.940
Drag out a square approximately 1 inch and release.
0:06:50.400,0:06:57.460
The square instantly fills with the foreground
color. Double-click the top layer to open
0:06:57.470,0:07:08.470
its Layer Style window. Click "Stroke". Make
the Size: 10 pixels. The Position is Outside
0:07:09.100,0:07:17.760
and the color is black. Then, click OK. We
want to add a filter to the entire square,
0:07:17.770,0:07:24.759
which includes the Stroke. To do this, we
first need to rasterize the stroke. Go to
0:07:24.759,0:07:38.960
Layer, Rasterize and "Layer Style". Now, the
stroke is fused with the square. As before,
0:07:38.960,0:07:45.860
double-click the square to open its Layer
Style window. This time, click "Bevel & Emboss".
0:07:47.100,0:07:56.780
The Style is "Inner Bevel", the Technique
is "Chisel Hard" and the Depth is 100%. The
0:07:56.789,0:08:05.840
Direction is Up and the Size is 4 pixels.
The Highlight Mode is Screen and the highlight
0:08:05.840,0:08:16.920
opacity is 100%. The Shadow Mode is Multiply
and its opacity is 50%. Then, click OK.
0:08:19.680,0:08:25.420
Let's collapse the Effects to save space in the
Layers panel. To do this, simply click the
0:08:25.420,0:08:33.360
small arrowhead next to the "fx" icon . Make
a copy of the layer by pressing Ctrl or Cmd +J.
0:08:35.940,0:08:42.320
Press "v" on your keyboard to open your
Move Tool and press and hold the Shift key
0:08:42.320,0:08:48.200
as you drag the copy to the right. Holding
Shift kept the square aligned horizontally
0:08:48.209,0:08:53.669
as you dragged it across. We want the inside
edges of both squares to touch with each other.
0:08:53.669,0:08:59.520
To do this, press the left arrow key on your
keyboard to move the active square to the
0:08:59.520,0:09:09.780
left one pixel at a time. Make another copy
and repeat the steps.
0:09:14.560,0:09:23.320
Merge the 3 squares into 1 layer by Shift-clicking on the bottom square to highlight all the layers and then,
0:09:23.320,0:09:34.260
pressing Ctrl or Cmd + E. Make a copy of the
layer and press and hold Shift as you drag
0:09:34.260,0:09:40.860
the copy straight down below the top row.
Press the Up arrow key to move it up until
0:09:40.860,0:09:48.980
it touches the top row. Make another copy
and repeat the same steps.
0:09:53.860,0:09:56.820
Merge the 3 rows into 1 layer.
0:10:01.660,0:10:09.680
Drag it closer to the center if you need to. Next, we'll fill in the 4 white areas that show through the squares.
0:10:11.120,0:10:14.640
Ctrl-click or Cmd-click on the New Layer icon
0:10:14.640,0:10:24.900
to make a new layer below the active layer.
Open your Pencil Tool and Pencil Picker.
0:10:25.600,0:10:34.940
Make the size 30 pixels and make sure the Hardness
and Opacity are both 100%. Draw over white
0:10:34.950,0:10:44.519
areas to fill them in. Merge these 2 layers
by Shift-clicking on the top layer and pressing
0:10:44.519,0:10:46.379
Ctrl or Cmd + E.
0:10:49.900,0:10:55.160
In Part 2, we'll assemble
our elements into our finished Rubik's Cube.
0:10:55.860,0:10:59.560
This is Marty from Blue Lightning TV. Thanks
for watching!