On Sat, 2011-09-10 at 21:27 +1000, chatpakorn prasertsung wrote: > Still I have some question for this issue > I don’t know how to control the dark shade on the object.... > I mean > -I use EC_ EnvironmentLight (caelum) to control the light direction > and time of the day. > -I can use light to lit up some part of the object as lamp.. > But the result ... the shade one side of the object is complete dark, > by dark I mean black color. > Where can I set it up?
You can use the ambient colour setting in your material, and the ambient light setting in the environment, to control the light in the areas in shadow. This blog post seems to cover the very basics of the (fixed pipeline) lighting nicely with screenshots, http://blog.lexique-du-net.com/index.php?post/2009/07/24/AmbientDiffuseEmissive-and-specular-colorSome-examples and the Ogre manual has the specific info, http://www.ogre3d.org/docs/manual/manual_16.html#SEC41http://www.ogre3d.org/docs/manual/manual_16.html#SEC41 > Another thing, I notice there is Tundra 2.0 upload now, is it better > to try with tundra 2? It doesn't make much a difference, Ogre and the material system, EC_Light etc. are the same. However, the ways to control the environment lighting are clearer now. If I recall correctly, in Tundra1 the EnvirontModule always creates a sky with Caelum and sets up some ambient light etc. In Tundra2 that hard coding is finally removed, but you can add a sky with the new SkyX component or set ambient light with the EC_EnvironmentLight starting from a clean table. The 'properties' section in the docs show how the parameters are in tundra2 now, http://www.realxtend.org/doxygen/class_e_c___environment_light.html > Neil ~Toni -- http://groups.google.com/group/realxtend http://www.realxtend.org