|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Its an actual function called Rainbow, just do a search in the Pov Ray help
and you can see it.
"Dearmad" <dea### [at] applesnakenet> wrote in message
news:3C3FD061.AB5E70F0@applesnake.net...
> now this has me stumped... I'm not as up on POV as I should be
> but the Rainbow Function sounds like something Kermit would have
> demanded as a function call feature in POV since build 1! :o)
> And I would have backed him!
>
> Shot in the dark:
> Do you mean in textures, the opalescent type thing- you can do
> that in a check box somewhere to open up the attributes in the
> materials editor...
>
> Mitchell Waite wrote:
> >
> > Is there a way to use the rainbow function in Moray? The one that is
> > described in the POV Ray docs?
>
> --
> Current obsession: "Ballet pour ma fille."
> http://www.applesnake.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
UDO it. You can do basic manipulation of it then.
-peter
Mitchell Waite wrote:
>
> But if I use an include they I can't manipulate it in Moray as an object,
> right?
>
> "Jan Walzer" <jan### [at] lzernet> wrote in message
> news:3c402f39@news.povray.org...
> > create an include file, where you define the rainbow, and ehhm ... include
> it
> > ...
> >
> > But think of the changed hand-ness of moray ... in MOray there is z up,
> and y
> > into the depth ...
> >
> > --
> > "Somehow what you suggest is like suggesting to add drills \
> jan### [at] lzernet
> > to cars so you can drill for oil when you run out of fuel. \
> > Sure you could do it, but it might not be the most practical >
> Jan
> > solution." [Thorsten Froehlich in p.u.p] /
> Walzer
> >
> >
> >
--
Current obsession: "Ballet pour ma fille."
http://www.applesnake.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
probably not ...
or is a rainbow an object{} ?
I think all objects in Moray (especially if you apply transformations to it)
will be wrapped
into an object{}-tag ...
Lutz?... can you confirm this ?
--
"Somehow what you suggest is like suggesting to add drills \ jan### [at] lzernet
to cars so you can drill for oil when you run out of fuel. \
Sure you could do it, but it might not be the most practical > Jan
solution." [Thorsten Froehlich in p.u.p] / Walzer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here is the rainbow function as described in the 3.1g docs. Is it something
that I can turn into a UDO? When I do will it look like the rainbow shape
that it is suppose to produce except in a wire frame mode?
#include "colors.inc"
camera {
location <0, 20, -100>
look_at <0, 25, 0>
angle 80
}
background { color SkyBlue }
plane { y, -10 pigment { color Green } }
light_source {<100, 120, 40> color White}
// declare rainbow's colors
#declare r_violet1 = color rgbf<1.0, 0.5, 1.0, 1.0>;
#declare r_violet2 = color rgbf<1.0, 0.5, 1.0, 0.8>;
#declare r_indigo = color rgbf<0.5, 0.5, 1.0, 0.8>;
#declare r_blue = color rgbf<0.2, 0.2, 1.0, 0.8>;
#declare r_cyan = color rgbf<0.2, 1.0, 1.0, 0.8>;
#declare r_green = color rgbf<0.2, 1.0, 0.2, 0.8>;
#declare r_yellow = color rgbf<1.0, 1.0, 0.2, 0.8>;
#declare r_orange = color rgbf<1.0, 0.5, 0.2, 0.8>;
#declare r_red1 = color rgbf<1.0, 0.2, 0.2, 0.8>;
#declare r_red2 = color rgbf<1.0, 0.2, 0.2, 1.0>;
// create the rainbow
rainbow {
angle 42.5
width 5
distance 1.0e7
direction <-0.2, -0.2, 1>
jitter 0.01
color_map {
[0.000 color r_violet1]
[0.100 color r_violet2]
[0.214 color r_indigo]
[0.328 color r_blue]
[0.442 color r_cyan]
[0.556 color r_green]
[0.670 color r_yellow]
[0.784 color r_orange]
[0.900 color r_red1]
}
}
"Dearmad" <dea### [at] applesnakenet> wrote in message
news:3C408FC9.9CB9A0F9@applesnake.net...
> UDO it. You can do basic manipulation of it then.
>
> -peter
>
> Mitchell Waite wrote:
> >
> > But if I use an include they I can't manipulate it in Moray as an
object,
> > right?
> >
> > "Jan Walzer" <jan### [at] lzernet> wrote in message
> > news:3c402f39@news.povray.org...
> > > create an include file, where you define the rainbow, and ehhm ...
include
> > it
> > > ...
> > >
> > > But think of the changed hand-ness of moray ... in MOray there is z
up,
> > and y
> > > into the depth ...
> > >
> > > --
> > > "Somehow what you suggest is like suggesting to add drills \
> > jan### [at] lzernet
> > > to cars so you can drill for oil when you run out of fuel. \
> > > Sure you could do it, but it might not be the most practical >
> > Jan
> > > solution." [Thorsten Froehlich in p.u.p] /
> > Walzer
> > >
> > >
> > >
>
> --
> Current obsession: "Ballet pour ma fille."
> http://www.applesnake.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
if it allows for transformations, then possibly...
But for simple a shape writing a UDO for it might be not worth
the time. I'd just use Box that encompasses the feet and top of
it and note it's scale and palcement then hand code that in the
script when I was done to match...
if I was planning to use them a lot, I'd write a little util
formyself to output UDO/INC code that matched my input...
-shrug-
Lutz? Anyone?
-peter
--
Current obsession: "Ballet pour ma fille."
http://www.applesnake.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Jan Walzer, you recently wrote in moray.win:
> Lutz?... can you confirm this ?
Yes, rainbow cannot be used in an UDO since it is not an object. All
UDO's are wrapped in a object {} wrapper....
There are three ways to include the code in Moray:
1) Write it to an include file and add the file to
Scene|Settings|Includes.
2) Add the code surrounded by
*/
rainbow...
/*
in the Scene Comments edit box on the same dialog. Note that the
comment quotes are switched. Since Moray starts the comment block with
a /*, I am ending the comment, exporting the rainbow and then starting
the comment again.
3) Paste the code to the INC file of your scene.
Of the three options, only option 2 will store the code in the MDL
file.
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Lutz Kretzschmar" <lut### [at] stmuccom> wrote:
> 2) Add the code surrounded by
> */
> rainbow...
> /*
... fascinating idea ...
--
"Somehow what you suggest is like suggesting to add drills \ jan### [at] lzernet
to cars so you can drill for oil when you run out of fuel. \
Sure you could do it, but it might not be the most practical > Jan
solution." [Thorsten Froehlich in p.u.p] / Walzer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Could I put the "rainbow" function inside of a torus with half its radio cut
with a plane, and then use that inside of Moray to align it in the wireframe
mode inside my scence, then export it and line up the rainbox inside of POV
Ray to fit with that object. In other words the torus becomes a proxy for
the function?
"Lutz Kretzschmar" <lut### [at] stmuccom> wrote in message
news:tmn24u0c4h6pofnirgkteriq5ujmecnee7@4ax.com...
> Hi Jan Walzer, you recently wrote in moray.win:
>
> > Lutz?... can you confirm this ?
> Yes, rainbow cannot be used in an UDO since it is not an object. All
> UDO's are wrapped in a object {} wrapper....
>
> There are three ways to include the code in Moray:
>
> 1) Write it to an include file and add the file to
> Scene|Settings|Includes.
>
> 2) Add the code surrounded by
> */
> rainbow...
> /*
> in the Scene Comments edit box on the same dialog. Note that the
> comment quotes are switched. Since Moray starts the comment block with
> a /*, I am ending the comment, exporting the rainbow and then starting
> the comment again.
>
> 3) Paste the code to the INC file of your scene.
>
> Of the three options, only option 2 will store the code in the MDL
> file.
>
> - Lutz
> email : lut### [at] stmuccom
> Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Mitchell Waite, you recently wrote in moray.win:
> In other words the torus becomes a proxy for the function?
From looking at how the rainbow is specified (distance, angle, etc) I
would say no. Since the torus would be placed using scale, rotate,
translate, the rainbow requires different parameters....
- Lutz
email : lut### [at] stmuccom
Web : http://www.stmuc.com/moray
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lutz Kretzschmar wrote:
> 2) Add the code surrounded by
> */
> rainbow...
> /*
> in the Scene Comments edit box on the same dialog.
that's so pretty tricky cool! if i really understand it right, it will
open a lot of new possibilities!
i always thought, include files are the only way to add pov-code into a
moray-scene.
alex
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |