POV-Ray : Newsgroups : povray.programming : Rendering Objects In gray scale : Re: Rendering Objects In gray scale Server Time
3 May 2024 03:39:05 EDT (-0400)
  Re: Rendering Objects In gray scale  
From: Y Tanabe
Date: 1 Feb 2001 18:03:43
Message: <3A79EB4F.19C2E592@kh.rim.or.jp>
#define OBJECT_FIELDS   \
  METHODS *Methods;     \
  int Type;             \
  OBJECT *Sibling;      \
  TEXTURE *Texture;     \
  INTERIOR *Interior;   \
  OBJECT *Bound;        \
  OBJECT *Clip;         \
  BBOX BBox;            \
  unsigned long Flags;  \
  bool Gray;

Add bool Gray by you.
You have to check all source files,for example post_process or more.
And memory move functions and stack macro also.

Y.Tanabe
Kobe,Japan


Pablo Viojo wrote:

> Thanks for your replies.
>
> I know that just setting the rgb to an x value it's the same that rgb
> <x,x,x>
> which will make the object we in gray scale.
>
> But my problem is more related to the Object structure and the way
> PovRay manages the memory for the different processes.-
>
> If anyone could tell me something about this...
>
> I'm sorry because my english is not best too, but I try to do the best that
> I
> can.
>
> Thanks a lot again.-
>
> Pablo Viojo
> pvi### [at] adinetcomuy


Post a reply to this message

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