![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
This is my first message, well question in here, (well suprise suprise this
is the newusers NG). I've been playing around with the if statement, along
with trying to use blobs, how does this work exactly. I've included the
file to show you, but no no avail am I getting anywhere. Also if you take
away the blob line completely it should render. The screen is split up into
four colours (well three and white), why are they so defined and not
gradual. I'm sure the idea of C,S and T(an) is that whatever the number it
becomes a no between 0 and 1. And so if multiplied by 255, should give the
colours? Right doesent that mean the colours should fade between each
other? Well anyway I hope you can help cos this is giving me a head ache.
P3TE
www.p3te.com
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Your headache has caused you to not add the pov script in question ; )
Please try again to post it as text here if you can.
Bob
Peter Cracknell <pc### [at] lineone net> wrote in message
news:37cc3938@news.povray.org...
> This is my first message, well question in here, (well suprise
suprise this
> is the newusers NG). I've been playing around with the if
statement, along
> with trying to use blobs, how does this work exactly. I've included
the
> file to show you, but no no avail am I getting anywhere. Also if
you take
> away the blob line completely it should render. The screen is split
up into
> four colours (well three and white), why are they so defined and not
> gradual. I'm sure the idea of C,S and T(an) is that whatever the
number it
> becomes a no between 0 and 1. And so if multiplied by 255, should
give the
> colours? Right doesent that mean the colours should fade between
each
> other? Well anyway I hope you can help cos this is giving me a head
ache.
>
> P3TE
>
> www.p3te.com
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Peter Cracknell <pc### [at] lineone net> wrote:
: And so if multiplied by 255, should give the colours?
Where did you get that number 255? Not from the povray documentation, that's
sure.
Povray uses colors from 0 to 1. 0 is completely dark and 1 is completely
lit.
That 255 makes no sense. Some image formats (for example png) can use,
for example, 65536 values per color component.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
OK my headache has obviously been too large for me to be able to even
include the file, oops, I'm very sorry, I've inlcuded it now.
P3TE
Bob Hughes <inv### [at] aol com> wrote in message
news:37cc92f0@news.povray.org...
> Your headache has caused you to not add the pov script in question ; )
> Please try again to post it as text here if you can.
>
> Bob
>
> Peter Cracknell <pc### [at] lineone net> wrote in message
> news:37cc3938@news.povray.org...
> > This is my first message, well question in here, (well suprise
> suprise this
> > is the newusers NG). I've been playing around with the if
> statement, along
> > with trying to use blobs, how does this work exactly. I've included
> the
> > file to show you, but no no avail am I getting anywhere. Also if
> you take
> > away the blob line completely it should render. The screen is split
> up into
> > four colours (well three and white), why are they so defined and not
> > gradual. I'm sure the idea of C,S and T(an) is that whatever the
> number it
> > becomes a no between 0 and 1. And so if multiplied by 255, should
> give the
> > colours? Right doesent that mean the colours should fade between
> each
> > other? Well anyway I hope you can help cos this is giving me a head
> ache.
> >
> > P3TE
> >
> > www.p3te.com
> >
> >
>
>
Post a reply to this message
Attachments:
Download 'swirly3.pov.txt' (1 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thats the obvious fault, I'd got it into my head that RGB were between 1 &
255, rather than 0 and 1. This is how the system is done for the net and
PSP etc, I obviously, assumed without checking and assumed wrong, thanks,
oops (yet again)
P3TE
Nieminen Juha <war### [at] cc tut fi> wrote in message
news:37ccf099@news.povray.org...
> Peter Cracknell <pc### [at] lineone net> wrote:
> : And so if multiplied by 255, should give the colours?
>
> Where did you get that number 255? Not from the povray documentation,
that's
> sure.
> Povray uses colors from 0 to 1. 0 is completely dark and 1 is completely
> lit.
> That 255 makes no sense. Some image formats (for example png) can use,
> for example, 65536 values per color component.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |