Blender 3D: Noob to Pro/Blender internal ile GI ayarlamak

Vikikitap, özgür kütüphane
Gezinti kısmına atla Arama kısmına atla

Şablon:B3D:N2P/NAV

Getting uniform studio lighting with the blender internal renderer

Preamble[değiştir]

This tutorial will teach you how to use blender to create faked Global Illumination (here forth called "GI"). The reason it is faked is that blender currently doesn't support true Global Illumination but it's not a difficult task to fake it. The results of this tutorial should look like this:

RenderResult.jpg


This tutorial assumes you know the basics of the blender interface and how to add objects, toggle editmode, and scale objects.

Now lets start blendering!

Blender Faked GI Tutorial[değiştir]

    • Add an ICO-sphere.

Fire up blender and add an icosphere(Spacebar>>add>>mesh>>icosphere).Set the subdivisions to 3 and accept.

    • Scale the ICO-sphere by 15 times
    • Flip the normals of the icosphere so that they point inwards.

go into edit-mode and press the A key till all faces/verts/edges are selected and press W and "Flip Normals".

TutFlipNorms-20081103140255.png

    • Add a light source

add a sunlight (Spacebar>>Lights>>Sun)

    • Set the energy value of the light.

This requires some special attention. If you keep the value at the default 1, you get a pure white, washed out scene because we will duplicate the light 162 times. A good way to calculate the light intensity required is to mess with the one sunlight and do test renders while tweaking the energy value of the sun as required till you get the brightness you want. THEN you divide the energy value of your sun by the amount of vertices in your icosphere and then finally set the sun energy to the number you got.

    • Parent the sun to the sphere.

Select the Sun THEN shift select the sphere and hit Cntrl-P\

    • Enable dupliverts for the sphere.

depress the DupliVerts and the ROT button.

EnableDupVerts.png

    • Enable AAO (Approximate Ambient Occlusion)

Set the AAO settings in the world buttons as in the following image:

SetAAO-2008110322151223.png

    • Set up the scene to render

This can be anything you want but i used a simple curved plane with Suzanne on top of it.

RenderScene-20081103151408.png


One more note: Often it is hard to see your scene what you have this huge sphere encompassing your scene so what you can do is to set the draw of the sphere to wireframe.

SetWireDrawType.png

just one last note: if you want more directional lighting, select the sphere and go into editmode and press Cntrl-Tab-3 for face select and select one face on a spot of the sphere and press W and subdivided a few times to get more lights in one spot making that side a bit brighter and a stronger shadow on the far side of that cluster.


I hope you found this tutorial useful. If there are any errors in the tutorial, Please let me know, and I will fix them as soon as possible.

Blend happy and save often, --Radialronnie (talk) 22:47, 3 November 2008 (UTC)


Noob question: I followed this tutorial word-for-word but at the end the lights (on the vertices) are pointed strange ways. Is there something I should do to the sun before I click the Icosphere and hit Ctrl+PKey (i.e. positioning or rotation)? I'm going to try to use a lamp and see if that works at all. Update: Facepalm. I went through the tutorial again and found that I messed up last time. Let this be a warning to everyone: DON'T rotate the sun.



Şablon:B3D:N2P/NAV