Quote: "How I increase the minimum fog range ? Using the "fog distance" function ?
"
Yes. The format would be
Fog Distance min./max.
I am not sure about the effect of adding cameras, i suspect it would be a problem as no commands exist to set the fog and shadows with any particular camera. Custom shaders would do it i suppose.
Here is a simple example of fog and shadow working together.
` shadow and fog example
position light 0,50,300,140 `place default light overhead and to the side
fog on `turn fog on
fog distance 50,500 `set fog minimum and maximum range
fog color rgb(255,0,0) `set fog color red
make object plain 1,500,500,20,20 `ground object (800 poly)
color object 1,rgb(0,50,0) `color ground object green
make object cube 2,6 `example primitive object
position object 1,0,-3,0 `place primate on the surface of the ground
set global shadow color 0, 0, 255, 100 `set shadow color blue
set shadow shading on 2,-1,500,1 `turn shadow shading on primitive
position camera 0,10,-25 `position camera for a good view
do
`rotate camera with mouse
Rotate Camera Camera Angle X()+MouseMoveY(),Camera Angle Y()+MouseMoveX(),0
loop
This should have a blue shadow with red fog in the distance.
This is just to establish that the basics are similarly functional on both of our computers.
AMD 2600+/1GB ram/GeForce 6600oc 256MB/W2KPro/DBPro 6.6.b