POV-Ray : Newsgroups : povray.newusers : Volume rendering with POV-Ray : Re: Volume rendering with POV-Ray Server Time
30 Jun 2024 04:55:14 EDT (-0400)
  Re: Volume rendering with POV-Ray  
From: Christian Froeschlin
Date: 7 Nov 2011 15:24:41
Message: <4eb83e89$1@news.povray.org>
Bene wrote:

> My own assumption is that there's something wrong with the transfer function. In
> the 3D Viewer, both dark and bright colors are produced, while in the POV-Ray
> rendering, I only obtain bright colors.

I just read up a bit on volume rendering and think POV-Ray media
cannot currently render the kind of image you want. The transfer
function itself is probably not the problem but your sample image
is shaded, and as far as I know, POV-Ray doesn't use shading for
media (i.e., calculate gradients within the media to consider the
"surface" normals at the sample points). It was more designed
to render things like mist, light beams, fire.

This would probably require to implement a new media type
in addition to emission, absorption, and scattering.

What you could try is to export geometry instead of df3.
A possibility might be to split your voxels into a number
of discrete tranparency levels and export one blob object
for each.


Post a reply to this message

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