POV-Ray : Newsgroups : povray.general : Smoke : Re: Smoke Server Time
4 Aug 2024 14:24:04 EDT (-0400)
  Re: Smoke  
From: Tim Nikias v2 0
Date: 12 Apr 2003 15:39:55
Message: <3e986b8b@news.povray.org>
Make that disc-position - camera-position, then you
get the normal pointing from the disc-position towards
the camera.
Additionally, put a "hollow" in the disc, in order not
to screw up medias you might have placed.

Use either the spherical pattern for your disc, and
place the texture at the position of the disc, like:
disc{Some_Position,y,1 pigment{spherical translate Some_Position}}

or texture the disc and translate it all to the desired
location:

disc{0,y,1 pigment{Any_Pigment} translate Some_Position}

Remember that y is in this case just a placeholder for
the above mentioned formula.

--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

> SYLVAIN LESEUR wrote:
> > Hello.
> > Create smoke or flamme  is not easy and to much hard for
> > a thing so simple. But it's easy to create a disc with
> > a texture like smoke or flamme
> > The trouble is: the disc must be in front of the camera.
> > How can i do that?
> > A macros ? A .inc ? A code who do that.
> > Who say to the disc. Hello disc, you must rotate! The
> > camera translating.
> > Friendly.
> > Sylvain.
> >
> >
>
> Use the camera position as the disc normal.
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.