Before updating to Windows 10 you may need to return your Pro license. More information here

How Do I Paint a Cube?

Hey, If you can help me please do. So I want to paint a Cube/Box how do I. Cheers

PS Im not Using Unity 3.0

more ▼

asked Jul 28, 2010 at 08:58 AM

avatar image

11 3 2 2

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

You should be using Unity - because in Unity, it's very very easy ;-)

  1. Open Unity.
  2. Create a new project
  3. Use Menu: GameObject / Create Other / Cube ... there you go ;-)
  4. Maybe the camera's not looking at the cube, so make sure the position of the cube is (0, 0, 0), which means X = 0, Y = 0 and Z = 0, that can be very easily done in the property inspector, after selecting the cube in the hierarchy: Transform / Position
  5. Select the "Main Camera" in the hierarchy pane (where you see "Main Camera" and "Cube" now)
  6. Make sure it says Position (0, 1, -10), Rotation (0, 0, 0)

Now, to be really creative, add a light:

  1. Menu: Game Object / Create Other / Point Light
  2. Select the new "Point light" in the hierarchy pane
  3. Make sure it's position is (2, 2, -1)

Now that you've seen how easy this is, Download Unity and get started ;-)

more ▼

answered Jul 28, 2010 at 09:13 AM

avatar image

12.3k 51 152 230

i read that completely differently (as paint on a cube), now i'm curious to what he actually meant :D

Jul 28, 2010 at 09:44 AM Mike 3
(comments are locked)
10|3000 characters needed characters left

If by 'painting' you mean changing the colour of the cube thats simple, if you mean make a complex texture for it, well actually putting it on the cube is just as simple; but you'll still need to actually create the texture in a 2D image editing program, like Paint, or Photoshop.

Both of these things can be applied in much the same way.

First create a material by either right clicking on the project panel, or on the little create button. then selecting 'Material'.

alt text

When that has appeared in your project window you can drag it on to the cube in your Scene View, or the name of the cube in the Hierarchy window.

Now your cube won't look any different yet because you have not actually changed any settings for the material. To do so click on the Material you created in the Project Panel, the Inspector Panel should now show the Materials properties; it will look something like this.

alt text

There are a number of things you can change about the material, like whether it uses a source texture, what background colour it has, and how it is effected by in game lighting.

Firstly to set a simple colour you can click the little swatch box (the one thats white in my picture) and choose a colour from that. As you do so you should see your cube now reflects that choice, however it may look a little darker. I will explain this next.

The most complex issue is how lighting will work, but i will skim over it for this question. It is controlled by the 'Shader' setting as shown in the image above, the default value is diffuse, this is acceptable for general lighting. Using this setting the cube will be dark where there's no light and lit up appropriately. However if you want the cube to show its true colours without having to have a light nearby you can change the setting from Diffuse to 'Alpha Blended' by clicking on the current setting then 'Particles -> Alpha Blended'.

Finally, if you want to add a texture you have created externally, you can click 'Select' or drag a Texture from your computer / or the Project panel on to the box, if you drag from somewhere else on your computer Unity will automatically import the texture into your Project folder and it will appear in the Project window.

more ▼

answered Jul 28, 2010 at 11:56 AM

avatar image

478 10 17 30

Very helpful answer, thank you!

Jul 27, 2014 at 06:10 AM TerrorOfNewDelhi
(comments are locked)
10|3000 characters needed characters left

iPaint 3D app for iPhone/iPad may be able to help you with that, take a look ;) http://www.ipaint3d.com

more ▼

answered Aug 11, 2011 at 09:07 PM

avatar image


(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jul 28, 2010 at 08:58 AM

Seen: 18281 times

Last Updated: Jul 27, 2014 at 06:10 AM