POV-Ray : Newsgroups : povray.binaries.images : three tests about pov : Re: three tests about pov Server Time
5 Jul 2024 08:32:39 EDT (-0400)
  Re: three tests about pov  
From: Bald Eagle
Date: 25 Aug 2014 10:40:01
Message: <web.53fb4a66bad06435e7df57c0@news.povray.org>
I'm not sure exactly what you're trying to do, although I kind of get the idea
from the manual/textbook scan you posted.

> 1,Raytracing the scene using no illumination source and distinct color settings
> for each object representing different materials results in an image which can
> be converted to a materials map M(x,y) by simple classification of the red,green
> and blue channel images produced by the raytracer.A sample is shown in Fig. 2 on
> the left.

in "test1M(x,y)\pov1.pov"  I see you are only giving your object a pigment.  If
I understand the goal, you need to use the .red, .green, and .blue components of
the initially rendered image as data for a material map.
I don't see where you have defined a material map in the .pov file.

hit F1 in POV-Ray and look up "material_map" in the index.

> 2,Raytracing the scene with all diffuse surface reflectances set to unity and no
> ambient reflectances resulted in a 8-bit shading image Shade(x,y). A sample is
> shown in Fig. 2 center.


> 3,Generate a POV image NoShade(x,y) with the option of turning off mutual
> shadowing between objects. The shadow map (0 for shadow and 1 for illumination)

> of NoShade(x,y) is shown in Fig.2 on the right.

I'm lost with this and can't help you.  I've never done anything like that
before.   Maybe someone else can figure this out, or your instructor can explain
it better.

If you have more information, or a reference with more details, maybe I could
offer a suggestion.


Post a reply to this message

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