|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yes, but rgb <x,x,x> is wrong
Pablo Viojo
pvi### [at] adinetcomuy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |