Hi ! Sadly i haven't been able to make it work. Anyway, i checked the fog effect with textures and it seem to not react as i thought. So let's forget the fog for the moment.
I just try to apply the same technique for a basic clipping but cannot succeed. I want to apply the clipping maxZ to my track while having at the same time my skybox. So i tried to make 2views and 2 scenes, but i can't make it work. My second view with the skybox looks to be ignored. Maybe there is a conflict ? Is it really possible ? If you have any working example of 2 different scenes i will be glad to see it. Thank you very much. On Nov 26, 5:47 pm, Julien <[email protected]> wrote: > Hi Darcey ! > Thank for your time. > > I think i have an idea of what you mean here. > I will try that and make my report ! > See you very soon. > Regards. > > On Nov 26, 4:40 pm, Darcey Lloyd <[email protected]> wrote: > > > An idea just popped into my head, never tried it but could be of use..... > > > 2 views/cameras or even scenes > > 2 sprite containers > > > Layer order top to bottom: > > 4: away3d view - never renders track > > 3: sprite - track fog alpha shapes > > 2: away3d view - track render only > > 1: sprite - track fog alpha shapes > > > Possible... not quite sure will give desired effect but could be an > > interesting experiment. > > > On 26 November 2010 01:32, Julien <[email protected]> wrote: > > > > Hi all ! > > > > I have looked on internet for any workaround to get the fog to apply > > > only on a particular object. > > > I think the message was quite some time ago, so i wonder if there is > > > any particular solution for that right now? > > > > As you all know, the fog is apply to the whole screen, so its > > > impossible to have a visible background behind it. > > > > I have seen that DepthBitmapMaterial was a kind of workaround to get > > > almost the same kind of desired effect while applying only on the > > > desired Mesh. > > > But, is there any other options ? > > > > Here are my settings : > > > > I use : Away3D 3.4; > > > I load a racing track which is quite big, so to get a performance gain > > > i use a MaxZ Clipping.( I would like to add the fog effect only on > > > this track mesh actually). > > > > Since now, i have always used a simple clipping, and i think i can > > > continue with it, actually the fog is not necessary for my project but > > > i have to say that it add an incredible atmosphere. > > > > Thank you very much for any help ! > > > Regards. > > > Julien. > >
