POV-Ray : Newsgroups : povray.general : Sunny plasma in POV-Ray? Server Time
4 Nov 2024 19:17:41 EST (-0500)
  Sunny plasma in POV-Ray? (Message 1 to 3 of 3)  
From: Ole Laursen
Subject: Sunny plasma in POV-Ray?
Date: 28 Jan 1999 09:50:59
Message: <36B07A60.54A14E5A@mail.aalborghus.dk>
Hi!

I'm trying to create a sun in POV-Ray and I need a red-orange-yellow texture for
the surface. The problem is that I want to animate it so that it looks like the
sun is... erm... boiling? (damn! I forgot my Danish-English dictionary) I think
one of those plasma effects that you always see in demos, will do, but is it
possible to make this in POV-Ray?

BTW I need to make a cyclic animation with the sun (for a game), so is it
somehow possible to tile the surface so that I only need to rotate the
sun-sphere for instance 90 or 180 degrees?

I'm currently using a partially transparent, bozo patterned textured sphere with
a few medias to get the right 'feeling' of surrounding gas...

--
+- Ole Laursen - Aalborg, Denmark - 98z### [at] aalborghusdk --+
| A barber in an ancient city shaved all those who did not  |
| shave themselves. Did the barber shave himself?           |
+-----------------------------------------------------------+


Post a reply to this message

From: Spider
Subject: Re: Sunny plasma in POV-Ray?
Date: 28 Jan 1999 13:49:02
Message: <36B0A857.ECC01C26@bahnhof.se>
Define the demo sort plasma you want, please.
There exist several, one of them beeing the "true" plasma, a four corners recursive
algorithm that gives a smooth transition, but has a few "lines" in it.
There are other demo code that are called plasma, one is a quad COsine plasma, that is
more frequent in animation, causing spots wich change in size and orientation, a good
example are the water surfaces in Quake 2 ;-)

There is another fractal-based variation of the original plasma, but I haven't yet
found
out how it is produced... 

As an reply, No, I don't find anything to help you with this. perhaps a leopard, with
a
clock-based rotation and scaling would do the trick. Why ? Becuase that pattern is
easy to
see where it will go If you translater <0,0,-1> and so on ... This will also give a
result
that is remotedly similar to the cosine "plasma" .

Hmm, feature requirement :

texture {
  pigment {
    function(x+cosine(clock))
    colour_map{My_map}
  }
}

I don't think it would be extremely difficult to create this, in a basic and llimited
way.
But since I'm no C-whiz(don't even have a compiler :-P ) I don't know how to implement
it...
Or, am I getting a RTFM reprimand soon here ? 
<Someone> THAT feature has been there since pov 2.01b 
<Spider> OOOPS
<Someone> RTFM !
*Spider bows his head and wanders off in shame.

//Spider



Ole Laursen wrote:
> 
> Hi!
> 
> I'm trying to create a sun in POV-Ray and I need a red-orange-yellow texture for
> the surface. The problem is that I want to animate it so that it looks like the
> sun is... erm... boiling? (damn! I forgot my Danish-English dictionary) I think
> one of those plasma effects that you always see in demos, will do, but is it
> possible to make this in POV-Ray?
> 
> BTW I need to make a cyclic animation with the sun (for a game), so is it
> somehow possible to tile the surface so that I only need to rotate the
> sun-sphere for instance 90 or 180 degrees?
> 
> I'm currently using a partially transparent, bozo patterned textured sphere with
> a few medias to get the right 'feeling' of surrounding gas...
> 
> --
> +- Ole Laursen - Aalborg, Denmark - 98z### [at] aalborghusdk --+
> | A barber in an ancient city shaved all those who did not  |
> | shave themselves. Did the barber shave himself?           |
> +-----------------------------------------------------------+


Post a reply to this message

From: Remco de Korte
Subject: Re: Sunny plasma in POV-Ray?
Date: 28 Jan 1999 15:22:23
Message: <36B08EB5.307A5139@xs4all.nl>
Ole Laursen wrote:
> 
> Hi!
> 
> I'm trying to create a sun in POV-Ray and I need a red-orange-yellow texture for
> the surface. The problem is that I want to animate it so that it looks like the
> sun is... erm... boiling? (damn! I forgot my Danish-English dictionary) I think
> one of those plasma effects that you always see in demos, will do, but is it
> possible to make this in POV-Ray?
> 
> BTW I need to make a cyclic animation with the sun (for a game), so is it
> somehow possible to tile the surface so that I only need to rotate the
> sun-sphere for instance 90 or 180 degrees?
> 
> I'm currently using a partially transparent, bozo patterned textured sphere with
> a few medias to get the right 'feeling' of surrounding gas...
> 
> --
> +- Ole Laursen - Aalborg, Denmark - 98z### [at] aalborghusdk --+
> | A barber in an ancient city shaved all those who did not  |
> | shave themselves. Did the barber shave himself?           |
> +-----------------------------------------------------------+

I'd suggest using a bozo-texture with cycling parameters.

Remco


Post a reply to this message

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