Saturday, November 8, 2008

Assignment

Assignment:- to place different picture on each sides of cube...

this assignment is done here are the steps to do it....

The first thing we need to do is bring up the UV Image Editor. Usually we want this displayed at the same time as our cube. We can accomplish this by splitting the display area. To do this, right-mouse click on the top of the display area (where the resize cursor is visible) and selecting “Split Area”.

Once you split the display, you’ll want to set one of them to display the UV Image Editor. Once you’ve got the UV Image Editor displayed, it should look something like this:

The first map we’re going to create is the simplest - one image for all sides of the cube. To set this up we first need to switch the cube’s display to the “UV Face Select” mode. this mode is not available in blender new version 2.48a it was there in in version 2.45...but to work with this select "Texture paint mode" and then come back to edit mode.

When you enter "edit mode" , you’ll notice the display o

n the left turn blue. This represents all the faces on your UV map. You’ll want to make sure all your faces are selected. You can do this by hitting the ‘a’ key on the cube display a couple of times. ‘a’ will select and deselect all items on your current display. When the faces are selected, the UV map will be blue, if nothing is selected, the display will be black.


Now that our UV map is set up, we can give it an image. take an 512x512 resolution image and open the image in UV Image Editor

open the image in edit mode after opening image go back texture paint mode there u will see the image applied to all the faces of cube....


If you render this scene, you might notice your texture doesn’t show up yet. That’s because the material hasn’t been told to use it. This is configured in the materials menu and click on "texface" button and now render

One image for all the sides of the cube is good and all, but usually I want a different image on each side. To do this, we’re going to have to “unwrap” the sides of the cube onto our UV map. Unfortunately, Blender has no idea how to unwrap an object - even one as simple as a cube. We have to give it a little help by defining some seams.

for this go back to edit mode and select edge selection mode and deselect all the edges by pressing a key




Once you have the edges selected, click ctrl-e to bring up the edge menu and mark the selected edges as a seam.


After the seam has been created, select entire cube in edit mode and got to UV Image Editor and click on UVs button and than unwrap the cube...

After the cube is unwrapped, the UV Image Editor should look something like this:


after this we need to save this unwrap cube for this in UV Image Editor click on UVs button and than select script......



a new panel will open in this we can change the size from default 512 size and than click on ok and than give the file name and path to save UV FACE LAYOUT it will save this layout in .tga format convert it into .jpeg and than place the pictures in the unwrap cube using any image editor like photoshop....



now i have this jpeg file and i want wrap this around cube again...



now to wrap this image again on cube go to UV Image Editor and in image option click on open and than select the image and open it...and after this go to texture paint mode and u can see image wrap on the cube.........




now render image




and now if we want to place different picture than in unwrap image we can place are images.....


but now the problem what i came across when i was placing picture was that if disturb the size of unwrap image from 512 to something else while placing the picture....you want be able to wrap that image back on cube....

next one is while saving .tga file if you save it as standard 512 resolution u cand add image of bigger resolution like of 800 or 1600...because it disturbs the resolution of unwrap image...and after that we cant wrap it around cube again....so u need to use the image of same resolution what you have selected earlier....

now i have made one this is the unwrap image....sorry i didn't had better picture of size 512



and this is actual cube........




i was supposed to make video of this but i couldnt make it because one problem that is next post so for now this assignment is done...and i am starting with second one...

Nitin Ayer

No comments: