"I am surprised the fog is showing up at all in your test."
well to be honest, it shouldnt be surprise, im accesing to the
view.renderer in line 316
view.renderer=rendererFog;
in fact i though that the problem was due some kind of refresh so i
added the following lines in 526
/*removeChild(view);
view.renderer=rendererFog;
addChild(view);*/
but of course, if that would be the answer the switching method of Rob
wouldnt havent worked in the frustrum room demo.
so i decided to make it just as it was written, it may be due to a
problem that dint let u change with a fog later in code:
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:3000,
maxZ:6000,
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});
this got to be added cause in the new declaration of view they werent,
other way i would get a black screen = view.camera=camera and
view.scene=scene;
( i took the liberty to change min and maxz to half of the writeen
values because theyre were too big for my test (my scene is just
6.3kx6.3k)
it still have the same issue.