POV-Ray : Newsgroups : povray.programming : Rendering Objects In gray scale Server Time
1 Jun 2024 13:14:50 EDT (-0400)
  Rendering Objects In gray scale (Message 11 to 20 of 20)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thorsten Froehlich
Subject: Re: Rendering Objects In gray scale
Date: 2 Feb 2001 12:47:41
Message: <3a7af2bd$1@news.povray.org>
In article <slr### [at] fwicom> , ron### [at] povrayorg (Ron
Parker) wrote:

> C0000005 isn't a pointer; it's the NT status code for an access violation.

Oh, I always assumed it is an address.  I rarely use x86 PCs if I don't have
to :-)

   Thorsten


Post a reply to this message

From: Pablo Viojo
Subject: Re: Rendering Objects In gray scale
Date: 5 Feb 2001 12:19:15
Message: <3a7ee093@news.povray.org>
Thanks  for your answers.-

> Not related to this, but I think you should be aware of this: Adding
object
> fields for flags is not a good idea because it will waste a lot of memory
> because the field (most likely padded in memory to make the whole
structure
> fill up to a 4 byte boundry) will be added to every object.  You better
use
> the "Flags" field for this, there should be a few bits left in there.

I didn't notice the Flags field until after I wrote the message.-


Post a reply to this message

From: Pablo Viojo
Subject: Re: Rendering Objects In gray scale
Date: 5 Feb 2001 12:20:37
Message: <3a7ee0e5@news.povray.org>
>
>   I got confused by the fact that "rgb x" is a valid povray color (red).
>

It's internally converted to rgb <x,x,x>

Pablo Viojo
pvi### [at] adinetcomuy


Post a reply to this message

From: Ken
Subject: Re: Rendering Objects In gray scale
Date: 5 Feb 2001 12:22:43
Message: <3A7EE206.BB1C3A42@pacbell.net>
Pablo Viojo wrote:
> 
> >
> >   I got confused by the fact that "rgb x" is a valid povray color (red).
> >
> 
> It's internally converted to rgb <x,x,x>

rgb x = rgb<1,0,0>

rgb 1 = rgb<1,1,1>

-- 
Ken Tyler


Post a reply to this message

From: Warp
Subject: Re: Rendering Objects In gray scale
Date: 6 Feb 2001 08:00:17
Message: <3a7ff560@news.povray.org>
Pablo Viojo <pvi### [at] adinetcomuy> wrote:
: It's internally converted to rgb <x,x,x>

  "rgb <x,x,x>" is invalid povray code since you can't give vectors as
components of a vector.
  "rgb x" is the same as "rgb <1,0,0>".

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Pablo Viojo
Subject: Re: Rendering Objects In gray scale
Date: 7 Feb 2001 16:12:31
Message: <3a81ba3f@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote in message
news:3A7EE206.BB1C3A42@pacbell.net...
>
>
> Pablo Viojo wrote:
> >
> > >
> > >   I got confused by the fact that "rgb x" is a valid povray color
(red).
> > >
> >
> > It's internally converted to rgb <x,x,x>
>
> rgb x = rgb<1,0,0>
>
> rgb 1 = rgb<1,1,1>
>
> --
> Ken Tyler

rgb x, means rgb <any_number>, not x as vector.

Then, if I change the x to, let's say, i rgb i means rgb <i,i,i>

Pablo Viojo


Post a reply to this message

From: Pablo Viojo
Subject: Re: Rendering Objects In gray scale
Date: 7 Feb 2001 16:13:12
Message: <3a81ba68@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote in message news:3a7ff560@news.povray.org...
> Pablo Viojo <pvi### [at] adinetcomuy> wrote:
> : It's internally converted to rgb <x,x,x>
>
>   "rgb <x,x,x>" is invalid povray code since you can't give vectors as
> components of a vector.
>   "rgb x" is the same as "rgb <1,0,0>".
>
> --
> char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
> main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
> c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


rgb x, means rgb <any_number>, not x as vector.

Pablo Viojo


Post a reply to this message

From: Ken
Subject: Re: Rendering Objects In gray scale
Date: 7 Feb 2001 16:29:02
Message: <3A81BEC7.337A39F2@pacbell.net>
Pablo Viojo wrote:
> 
> Warp <war### [at] tagpovrayorg> wrote in message news:3a7ff560@news.povray.org...
> > Pablo Viojo <pvi### [at] adinetcomuy> wrote:
> > : It's internally converted to rgb <x,x,x>
> >
> >   "rgb <x,x,x>" is invalid povray code since you can't give vectors as
> > components of a vector.
> >   "rgb x" is the same as "rgb <1,0,0>".
> >
> > --
> > char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
> > main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
> > c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/
> 
> rgb x, means rgb <any_number>, not x as vector.

We are pointing out that "rgb x" is valid notation as far as POV-Ray
is concerned. As is rgb y and rgb z.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Pablo Viojo
Subject: Re: Rendering Objects In gray scale
Date: 8 Feb 2001 13:42:05
Message: <3a82e87d@news.povray.org>
Yes, but rgb <x,x,x> is wrong

Pablo Viojo
pvi### [at] adinetcomuy


Post a reply to this message

From: Warp
Subject: Re: Rendering Objects In gray scale
Date: 9 Feb 2001 09:58:51
Message: <3a8405ab@news.povray.org>
Pablo Viojo <pvi### [at] adinetcomuy> wrote:
: Yes, but rgb <x,x,x> is wrong

  That's what I said in the first place.

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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