You have:

view = new View3D({camera:camera, scene:scene,renderer:Renderer.BASIC,
clipping:clipping});

but it should be more like (the renderer part):


var fogMaterial:ColorMaterial = new ColorMaterial(0xBCC687);

        //create a new fogfilter using the material
        var fog:FogFilter = new FogFilter({minZ:6500,
                                                maxZ:13200,
                                                subdivisions:20,
                                                material:fogMaterial});

        //create a renderer using the filter
        var basicrenderer:IRenderer = new BasicRenderer(fog);

        //create a view using the renderer
        view = new View3D({scene:new Scene3D(),
                                renderer:basicrenderer});


I am surprised the fog is showing up at all in your test.
-Pete

On Mon, Aug 17, 2009 at 11:46 AM, desgraci <[email protected]> wrote:

>
> hehehe dont worry, im right now having fun with the variation of
> colors in function of depth
>
> ^ ^




-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to