POV-Ray : Newsgroups : povray.binaries.images : Help! Coloured reflections and Photons : Re: Help! Coloured reflections and Photons Server Time
4 Oct 2024 15:14:47 EDT (-0400)
  Re: Help! Coloured reflections and Photons  
From: Ken
Date: 17 Mar 1999 06:55:22
Message: <36EF9779.E4F6D80F@pacbell.net>
Equiprawn wrote:
> 
> Hi,
> 
> Firstly, thank you Nathan, thankyouthankyouthankyou! An amazing patch, the
> aplications of which has no limits, as demonstrated by the recent flurry of
> photon map testing scenes.
> 
> Spider recently posted a photon map testing image that had reflective
> coloured cylinders casting coloured reflections. I am working on a scene to
> test reflective caustics too, but I have hit a problem. The scene consists
> of coloured, reflective, faceted crystals (they are meshes composed of
> triangles and smooth triangles). Here is an example of the red reflective
> texture I am using:

> However, when I render the scene, the reflective caustics I get aren't
> coloured, they are just plain white (I am using a white light to illuminate
> the scene). What am I doing whong?
> 
> Thanks,
> 
> Equiprawn

  I think you are running into the same problem anyone will with using
a mesh object as a solid object. They are not a solid object. The Pov
primitives that are listed as usable in the docs for CSG operations
are also the only ones that Pov will treat as a true solid object. This
means while you can specify the object with an interior and make it
hollow and Pov won't complain, it will look at it and treat it as an
ordinary mesh object which is hollow and has very thin non refracting
walls.
   Try making your crystal shapes using CSG combinations of planes. The
plane object is treated by Pov as a solid object because Pov knows which
is the inside and which is the outside of the object. I have a small dos
utility, I found somewhere, that will prompt you for input and then put out
a crystal shape made out of an intersection of planes. It's around 70k in
size with more Docs than program if you are interested. I also have two
versions of my diamond.inc program. One uses triangles the other is a CSG
intersection of planes. I have found in working with the output these that
each one gives a different result when used with refraction.


-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

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