Creating a candle light
Table of contentsIntroduction
Creating the materials
Building the candle
Creating the flame
Creating the light
We need the following colors:
Next, we need the texture for the flame. If you can't find or create one yourself, you can take this texture.
Load it into your scene material list. Be sure you have set it up the following way:
Now, all materials are set up and we can start building.
Now add a white cylinder on the candlestick, it will be our candle.
I added a little black cylinder on top of the candle for the wick.
Now that we have created the candle, we can create the flame.
Fortunately, there is an easy way for us to do this.
Create a square rectangle in the front view. Select the face, select 'Gen. UV' check 'Fit texture size to face' and hit 'OK'. Now, the square displays the entire texture. Go to object mode. Select 'Clone'. Enter 2 for 'Number of copies' and 60 for 'Y rotation offset'.
Now, you should have 3 polygons shaped like a star. You might merge them.
This star thing is important, because otherwise, the flame would be visible only from one side. If you saw it in another angle, it would seem flat and destroy the illusion.
Put the flame on top of your candle.
Open the object inspector fot the point light. Chose a slightly yellow/golden diffuse color, like 255/235/155. Leave the specular color white. The values you enter for the other fields, like Constant/Linear/Quadric or Range depend on your scene. Take a look at the lightmapping tutorial for that.