Page 1 of 2

Guys! help with lighting, light meshes and HDRI? anyone?

Posted: Wed Jul 16, 2008 5:34 pm
by roville_csb
Hi! Guys, Im very new here. Ive been using indigo for just 4 days and i still have a lot to learn. really need some help here. any guides for setting up lights? how do you make mesh lights and use HDRI. HELP anyone! Pretty please.....

Posted: Wed Jul 16, 2008 7:09 pm
by BBjam
What program are you using.

Posted: Wed Jul 16, 2008 8:34 pm
by SmartDen
BBjam wrote:What program are you using.
See forum name

Posted: Wed Jul 16, 2008 8:55 pm
by roville_csb
im using maya 2008

Posted: Wed Jul 16, 2008 10:23 pm
by dougal2
Lights:
1. create a polygon object that will emit
2. assign it a lambert shader
3. set incandescence to an appropriate level/colour
4. set glowIntensity to the light power rating (in Watts)

HDRI:
1. Set "Env Light" on the GUI to either HDRLLong or HDRSph depending on your HDRI type.
2. Click the "More Settings" button
3. find the mti_envSavDir setting in the Attribute Editor (under Extra Attributes, near the top) and set it to the path where your HDR images are.
4.
- if you are using LatLong find the mti_EnvLightLatLong setting and enter the name of your HDR image (.exr format)
- if you are using Spherical find the mti_EnvLightSpherical setting and enter the name of your HDR image (.float format)

If you are wishing to use mesh lights in conjunction with either sunsky or HDRI you will need to adjust either:
- the mesh light's glowIntensity parameter
- the mti_Gain parameter for HDRI
in order to balance your lighting in the scene.


Hope that helps, and if it does I should probably put this post in the wiki :roll:

Posted: Wed Jul 16, 2008 11:13 pm
by Phr0stByte
roville_csb
dougal2 pretty much covered that one... Great minitut

Posted: Wed Jul 16, 2008 11:39 pm
by roville_csb
thanks dougal2. this really helped alot. gonna try this first. :D :D :D

Posted: Thu Jul 17, 2008 12:17 am
by roville_csb
I already tried the meshlight but is it really normal that the polygon will be colored black? i adjusted the incadescence and the glow intensity. i already adjusted the normals as well but still get a black colored polygon[img]D:\meshlightproblem.jpg[/img]

Posted: Thu Jul 17, 2008 3:10 am
by dougal2
Are you using sunsky as well in that scene? you will find that the sun is so powerful that it overpowers all meshlights and they appear black.
Change the env type to "none" to see the effects of using meshlights only.

Or increase the glowIntensity of your meshlights up to several million (or so, I don't know what the value is, but keep adding zeros until it works).

Posted: Thu Jul 17, 2008 3:12 am
by diegura
Anybody knows how to rotate the env map in cindigo? I wan to reach some reflextions in one part of the scene. The only way now for me is to rotate the entire scene :shock: .

Posted: Thu Jul 17, 2008 3:23 am
by dougal2
diegura
this is kinda the wrong forum to ask in

Posted: Thu Jul 17, 2008 6:01 am
by Kram1032
diegura: rotate your whole scene ;)

Posted: Thu Jul 17, 2008 10:56 am
by roville_csb
thanks guys! :D :D :D :D

Posted: Thu Jul 17, 2008 11:03 am
by roville_csb
thanks guys! already got it. got one more question though! how do you change the color of the meshlight? for example i want to change the light color to blue? where do i change it? r=40000 g=? b=?

Posted: Thu Jul 17, 2008 11:20 am
by dougal2
meshlight colour should be settable by the incandescence colour.