Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Lighting & Rendering (https://simplymaya.com/forum/forumdisplay.php?f=17)
-   -   Problem with Fog (https://simplymaya.com/forum/showthread.php?t=22625)

tiddles 06-08-2006 02:37 AM

Problem with Fog
 
1 Attachment(s)
Hi all, I'm having a small problem with a spot light + fog.

My basic setup is a single spotlight directed at a poly plane. I then attach fog to the spotlight. I have also added a single pointlight to this scene just to illuminate the plane slightly...

tiddles 06-08-2006 02:38 AM

1 Attachment(s)
here is the resulting render (as expected)

tiddles 06-08-2006 02:40 AM

1 Attachment(s)
I then added a poly ring to the scene...

tiddles 06-08-2006 02:40 AM

1 Attachment(s)
again, this rendered as expected...

tiddles 06-08-2006 02:41 AM

1 Attachment(s)
lastly, i moved this poly ring closer to the spotlight so the ring edge just hit the cone angle of the light...

tiddles 06-08-2006 02:43 AM

1 Attachment(s)
now we get to my problem. when I render this scene the spotlight passes though the centre of the ring but the fog does not. :confused:

I am no lighting expert (far from it), but I really would like to know if its possible for the fog to continue beyond the ring??

MattTheMan 06-08-2006 12:47 PM

that's because maya's actual fog isn't really THERE. It's just a cone around the spotlight that shows up like fog. If you block that cone, than no fog.

tiddles 06-08-2006 09:34 PM

1 Attachment(s)
thnx for the responce matt, I assumed this was the case. the reason I wanted to continue the fog was to achieve the night club spot light effect below. I have made up template shapes that have been placed close to the lights in my scene which show the required shapes on floor but without the fog. have you any ideas on how I may achieve the effect I wanted?

gster123 07-08-2006 06:57 AM

Why dont you map the shapes to the colour channel of the light?

Think that would be the best way?

tiddles 07-08-2006 08:47 AM

sounds like a good idea!!

any change you can please offer some guidence on how to do this?

gster123 07-08-2006 05:21 PM

http://forum.simplymaya.com/showthre...5&pagenumber=8

MhCannon goes through how to do it. Think you will have to change the white colour to the colour of the light you want though.

Hope it helps you out


All times are GMT. The time now is 07:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018