POV-Ray : Newsgroups : povray.general : is there any feature for volume raytracing with povray? : Re: is there any feature for volume raytracing with povray? Server Time
31 Jul 2024 20:24:50 EDT (-0400)
  Re: is there any feature for volume raytracing with povray?  
From: Alain
Date: 17 Jan 2007 14:19:55
Message: <45ae76db$1@news.povray.org>
lien0n nous apporta ses lumieres en ce 17-01-2007 03:52:
>> In a DF3 file, each value apply to a cube, so, you obviously get a blocky aspect.
>> POV-Ray don't use any tessellation. It samples along a ray and evaluate the
>> isosurface value at a point, if it evaluate to less than the therhold, you are
>> outside the object, it it evaluate at the threshold, you are ON the surface, if
>> larger, then you are inside.
>> DF3's are mostly used for media dencity where the blockyness is less visible.

>> --
>> Alain
>> -------------------------------------------------
>> The strongest reason for the people to retain the right to keep and bear
>> arms is, as a last resort, to protect themselves against tyranny in
>> government.
>> Thomas Jefferson


> Yes, there is indeed blocky appearance, but i think if there is no any
> tessellation, what kind of primitives povray is using to represent the
> intersection between a ray and the on-surface cube. And for each
> intersection point, its normal should be calculated from the volume data.

> Is that possible that povray is just using a rectangle to reprensent the
> intersection of the on-surface cube? which is something like billboards,
> since it is very efficient. If so, there would be no way to make the
> resulting surface  smoother, except using finer volume data.


POV-Ray send a ray for each pixel. It then check along that ray if it encounter 
anything, and where. When a surface is found, it's colour is evaluated along 
with it's orientation, the normal, and the placement of any light. This will 
give you the effective colour of that pixel. It can be complicated if the 
surface is reflective or transparent.
It don't use a rectangle to represent the intersection, it's just that the 
effctive surface IS blocky. Yess, the only way to get a finer result, in this 
case, is to use a finer, higher resolution, data set.

-- 
Alain
-------------------------------------------------
If all the world is a stage, where is the audience sitting?


Post a reply to this message

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