1) Open Gimp with a new image 300x300px (white background is ok).
2) Fill the background with a checkboard pattern (Filters / Render / Pattern / Checkboard). Size 100px.
You should get something like this:

3) Now we will make a grid. Go to Filters / Edge-Detect / Edge
Algorithm: Sobel
Amount: 2
Smear
4) Invert the colors (Colors / Invert)
5) Now we have a black grid on a white background and we want to make a border around the image.
Go to Image / Canvas size. (304x304px)
6) Select the Move tool (M on keyboard) and center the image. If you are able to handle this step with a mouse than ok, but I used arrows on my keyboard, twice right and twice down.
7) Now create a new layer. Select Bucket fill tool (Shift+B), Select all image (Ctrl+A) and fill the image with black. Than move this new black layer down and deselect all (Ctrl+Shift+A). You should get this result:

8) Now fill the image with some random colors, i used these (green [307617], blue [173d76], red [ff0000], white [ffffff], yellow [aecb0e]). After that, merge the layer down so you get only one layer.

9) Now we are going to make a cube. (Filters / Map / Map object) Use following values, but feel free to change it :p
Options/Map to: Box
Options/Transparent background checked
Options/Enable antialiasing (default)
Light/Lightsource type: Point light
Orientation/Position (default)
Orientation/Rotation
X: 30,0
Y: 45,0
Z: 0,0
10) Voila, the cube is done, but you can continue with 3 more steps to make it better :p.
11) Go to a dialog with layers, right-click on the layer you have there (there should be only one now) and click Alhpa to selection. Than go Select, Grow (1px). Create a new layer, fill it black and move it down. Deselect all (Ctrl+Shift+A).

12) Go to Filters / Light and Shadow / Drop Shadow. (0, 0, 8, black, opacity 80)
13) Add a new layer and move it on the bottom. Create some gradient, something like this, which is the final result:

I noticed that it's a little illogical, because I have two same colors (e.g. this green-green-red) on the same piece. This situation could never happen on the real rubik's cube. Maybe someone will find the solution than let me know in comments.
And here is the video, sorry for the quality but it's pretty good on my pc, this server uses an enormous compression.
14 komentářů:
Hey!
Brilliant tut, and it works well :)
You asked for a solution to the problem of unrealistic cube sides. My solution would be to create several different layers. When you map box, you can decide which layer is which side ;)
yop this is a solution, thx for comment =)
Very nice tutorial ... just what I was looking for. Thank you!
o hai,
My computer gets very exhausted when I try this. (2gHz Core2Duo, 2Gig ram)
Maybe its just my problem because I run Gimp a kind of x11-emulated on my Mac.
Beforez: hey, I run Gimp in Linux without any emulations and as you can see on the video, it also takes me a while to render the cube. But I was recording the desktop at the same time. And btw, why do you emulate the Gimp in Mac? I thought Gimp is portable, read this http://gimp.org/macintosh/
谢谢!可是我认为您的“魔方”三个面都是一样的,这不符合现实逻辑。
Thanks! But I thought that you “the Rubik's cube” three surface are the same, this does not conform to the realistic logic.
Thanks for the tutorial!. It has been very useful for me.
Very nice tutorial with good detail! Keep it up!
Good tutorial
You article made me interest in trying out more with GIMP
I think this is the first tutorial I have ever tried that took me through right to the end without me screwing up.
Very good
thank you for very nice tutorial. I can try to follow it easily.
I do it and get an error that it has stopped working. :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :(
You can change the illogical peices by just using the bucket and filling the squares...this is also how you make a solved cube thanks for the tut tho
Awsome tutotial! Did the trick!
Post a Comment