POV-Ray : Newsgroups : povray.general : csg drawing : Re: csg drawing Server Time
26 Sep 2024 17:44:39 EDT (-0400)
  Re: csg drawing  
From: Jim Charter
Date: 29 Jul 2010 02:50:35
Message: <4c5124bb$1@news.povray.org>
optima wrote:
> Hi,
> 
> I am sure this question has been asked many times before but I am really lost on
> this. How can I draw cabinet countertops(marble) using povray csg functions?
> Or is there somthing better suited for this task in povray, another command etc.
> I am not sure if CSG drawing is the best method for free(by free I mean any
> direction in 3d xyz) simple shape drawing in povray.
> 
> I will appreciate any help you would provide, thank you
> 
> 

Using CSG to 'draw' complex shapes from the palette of available 
primitive shapes in POV-Ray requires design ingenuity and generally 
appeals to artists who wish to rise to that challenge.  The gain, beyond 
the satisfaction of exercising such ingenuity, is generally better 
results from the lighting and texturing of the model.

Specifically, the alternative, some form of mesh model, can introduce 
artifacts, which result from the illusionary 'smoothing' of the 
underlying triangles of the mesh surface. The accuracy of the surface 
will always be limited by the number of triangles used to describe it. 
Meanwhile the POV-Ray shapes have surfaces which are described 
mathematically to the ray-tracer, never resorting to mesh-surface 
analogues to intermediate, and so these surfaces have virtually 
unlimited resolution.

To gain facility using POV-Ray's CSG, especially working from the native 
SDL script, is going to require some commitment of time and effort. 
That said, counters, cabinets, and so on are usually appropriate 
subjects for CSG modeling because generally they can be 'constructed' 
from pieces that can be 'machined' in the virtual world of CSG in a way 
that mimics how it would be done in the real world.

-Jim


Post a reply to this message

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