Friday, November 21, 2008

Break

Hey all,

since our exams are coming up from the 3rd of december, we will be going on a break. As per my best knowledge, the last exam is on the 29th for Gokul,Karan and Priyam. For Chirag, Nitin and me i.e Kaeyur, the last one is on the 7th of January!.

Till then, best of luck to all

Cheers,

Kaeyur

Thursday, November 13, 2008

Second Assignment...

hi everyone...
about second assignment, its done...i showed render images to gokul and he replied....that's what we have to do...actually when he explained me about the assignment i didn't understand completely that what we want ? and after that he told me to start with a spot light and how in auditorium a spot light works, create that in blender u will come to know about it...

now about how to create that...follow the steps....

first create the studio like re size the default cube and delete the three front phases like this....



and after that add a new cube adjust the light source and than add a lamp as a spot light, in default it will look like this....


render image....



render image without additional light source.....



the spot light in its default setting, we can see the a light spot around the object but we don't know where is the light source exactly place and we cant even see the light rays on the studio wall also....

now press F5 and go to LAMP BUTTONS, in LAMP BUTTONS go to SHADOW AND SPOT and enable halo button and render the current frame...

in this render image u will get answers of are previous doubts, about source of light and light rays on studio...

as you can see in the render image there is a gap between spot of light and light cone....

here we cant remove this by changing the intensity or by resizing the cone of spot light in any of the axis....in this we can even change the halo intensity, i mean intensity of light cone, even that wont work here...

for this light cone to extend further more and to fill that gap, i tried many things, i have put spot light through different angle,changing intensity , resizing , i search about it on google but didn't got anything but than some how i just change the distance and it worked...the thing we never used up till now...in lamp BUTTONS go to lamp, besides the name of lamp there is a panel called distance....change the distance and u can extend the light cone without resizing it any scale...so here is the final render image...here distance is 31 (default value is 20)



now with some little bit of changes, put light source at some angle....



and render image...



so this is all about assignment 2....

Nitin Ayer

Saturday, November 8, 2008

Problems in making a video

while making a video in game engine (the one which i posted last time with cube), cube falling down on a plane...on cube i have put different pictures...
but while making this video i came across few problem some of them i solved like i tried to make make video and i started animating all 250 frames are done and than i saw avi output but it has nothing than i i came to i didnt recorded in IPO and...

another problem cube was falling ion a plane, i gave cube as a dynamic substance and plane as static but when cube was falling down it intersects the plane at some extends and than it stops like this....



i dont knw why this is happening and in avi output the background in dark orange is that is permanant or we can change ? and how?

when we are working on blender simultaneously one dos file is also running, when i was making video i was watching how many frames are done in dos file after few frames i just watched the video in that instead of red colour i got blue and in dos file this message appeared

Detected GL_ARB_texture_env_combine
Detected GL_ARB_texture_cube_map
Enabled GL_ARB_multitexture
Enabled GL_ARB_vertex_program
Detected GL_ARB_depth_texture
Detected GL_EXT_separate_specular_color
shaders not supported!

after every animation it was saying "shaders are not supported !"

than i found it was because of graphic card and graphic cheapset of motherboard it will occur because of those cheapset who doesnt support open GL graphic system....so if any buying new graphic card make sure about open GL system....

and new version of blender is out version 2.48a, in 2.48 there were some bugs in game engine....

so if anyone knows about plane and cube intersecting problem than please inform me...

Nitin Ayer

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