POV-Ray : Newsgroups : povray.newusers : object media interaction Server Time
26 Nov 2024 21:41:55 EST (-0500)
  object media interaction (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: paladium1974@yahoo com
Subject: object media interaction
Date: 7 Nov 2003 10:05:01
Message: <web.3fabb4055a367bd0d888c9910@news.povray.org>
I try usse search function using words "object media interaction" but found
no match
So can somebody please answer to me: Can POV-Ray render interactive media
sample from real life: smoke of cigaret is bend around finger
if can just point me to reference povray maunal chapter
Thanks alot!
I found alternative program called Lightflow and he is capable of producing
this effect but hard to work :(


Post a reply to this message

From: Tom Melly
Subject: Re: object media interaction
Date: 7 Nov 2003 11:41:13
Message: <3fabcb29@news.povray.org>
"pal### [at] yahoocom" <nomail@nomail> wrote in message
news:web.3fabb4055a367bd0d888c9910@news.povray.org...
> I try usse search function using words "object media interaction" but found
> no match
> So can somebody please answer to me: Can POV-Ray render interactive media
> sample from real life: smoke of cigaret is bend around finger
> if can just point me to reference povray maunal chapter
> Thanks alot!
> I found alternative program called Lightflow and he is capable of producing
> this effect but hard to work :(
>

The relevant part of the documentation is 6.8...

As to your specific request, this would be object media (as opposed to, say, a
fog that covered your whole scene).

Basically, you need to make a shape that matches your desired media shape, then
make it transparent and hollow, and fill it with media.

For smoke you will want to use scattering media (as opposed to emitting or
absorbing media - although adding some absorbing media into the mix can prevent
media fading away against light backgrounds).

I would suggest that blobs are the best shape for smoke.

Here's a short example:

#version 3.5;

#include "colors.inc"

camera {
  location  z*-8
  look_at   0
}

light_source {
  <0, 0, 0>
  color rgb <1, 1, 1>
  translate <-30, 30, -30>
}

#declare RadiusVal   = 1.0;
#declare StrengthVal = 1.0;
blob {
  threshold 0.6
  sphere { < 0.75,   0,    0>, RadiusVal, StrengthVal }
  sphere { <-0.375,  0.65, 0>, RadiusVal, StrengthVal }
  sphere { <-0.375, -0.65, 0>, RadiusVal, StrengthVal }
  scale 2
  pigment{rgbt 1}
  hollow
  interior{
    media{
      scattering{1, <0.2,0.2,0.4>}
      density{wrinkles scale 0.1}
    }
    media{
      absorption 1-<0.2,0.2,0.4>
      density{wrinkles scale 0.1}
    }
  }
}

plane{-z,-5 pigment{checker Black, White}}


Post a reply to this message

From: paladium1974@yahoo com
Subject: Re: object media interaction
Date: 7 Nov 2003 12:15:01
Message: <web.3fabd195c881e4ced888c9910@news.povray.org>
Thanks to reply but I still dont see how this example will make make effect!
You just make a scene with media, but what is with interactive media?
If I put for example small box in the blob filled with media will that box
make visible turbulence in the media "smoke"?


Post a reply to this message

From: Tom Melly
Subject: Re: object media interaction
Date: 7 Nov 2003 12:31:25
Message: <3fabd6ed$1@news.povray.org>
"pal### [at] yahoocom" <nomail@nomail> wrote in message
news:web.3fabd195c881e4ced888c9910@news.povray.org...
> Thanks to reply but I still dont see how this example will make make effect!
> You just make a scene with media, but what is with interactive media?
> If I put for example small box in the blob filled with media will that box
> make visible turbulence in the media "smoke"?

Ah, sorry, I missed that part of your post (or rather, I misunderstood).

Okay, pov doesn't support such a thing natively - but help (I think) is at hand.
Try Rune's Particle System include: http://runevision.com/3d/include/particles/


Post a reply to this message

From: Christoph Hormann
Subject: Re: object media interaction
Date: 7 Nov 2003 12:32:02
Message: <1f1t71-hna.ln1@triton.imagico.de>
pal### [at] yahoocom wrote:
> Thanks to reply but I still dont see how this example will make make effect!
> You just make a scene with media, but what is with interactive media?
> If I put for example small box in the blob filled with media will that box
> make visible turbulence in the media "smoke"?

That would require flow simulation - you can do this with external 
programs or in a very much simplified way inside POV, see for example:

http://runevision.com/3d/include/particles/

Concerning your original post - i don't think Lightflow can do anything 
like that.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: paladium1974@yahoo com
Subject: Re: object media interaction
Date: 7 Nov 2003 13:20:01
Message: <web.3fabe189c881e4ced888c9910@news.povray.org>
Maybee mine english is not good enough but Lightflow can do this effect.
Right now I found some sample and rendering it (in Lightflow).
Thanks for reply


Post a reply to this message

From: Christoph Hormann
Subject: Re: object media interaction
Date: 7 Nov 2003 13:42:01
Message: <455t71-nch.ln1@triton.imagico.de>
pal### [at] yahoocom wrote:
> Maybee mine english is not good enough but Lightflow can do this effect.
> Right now I found some sample and rendering it (in Lightflow).

Well, in that case please show the example.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: paladium1974@yahoo com
Subject: Re: object media interaction
Date: 7 Nov 2003 14:15:01
Message: <web.3fabef21c881e4ced888c9910@news.povray.org>
Now animation is near end: but it is not quite what I want :(
Yes it is "smoke like" animation but there is not object to intercept smoke
and made turbulence in smoke
I will you contac via e-mail if you dont mind!


Post a reply to this message

From: Tom Melly
Subject: Re: object media interaction
Date: 7 Nov 2003 15:08:58
Message: <3fabfbda$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:1f1### [at] tritonimagicode...
> pal### [at] yahoocom wrote:

> http://runevision.com/3d/include/particles/

Awww - you beat me by one minute. Now I've got to ritually disembowl myself
and everything.


Post a reply to this message

From: paladium1974@yahoo com
Subject: Re: object media interaction
Date: 7 Nov 2003 16:15:02
Message: <web.3fac0a66c881e4ced888c9910@news.povray.org>
http://graphics.stanford.edu/~henrik/papers/smoke/
That is html that explain exactly what I want!

And mine apologies to Mr Hormann : Lightflow cannot (at least I dont know
how) produce what I want.


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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