POV-Ray : Newsgroups : povray.general : csg drawing Server Time
1 Nov 2024 23:16:43 EDT (-0400)
  csg drawing (Message 1 to 8 of 8)  
From: optima
Subject: csg drawing
Date: 28 Jul 2010 05:50:01
Message: <web.4c4ffcd27abcb1ec6556a6ea0@news.povray.org>
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


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: csg drawing
Date: 28 Jul 2010 06:51:39
Message: <4c500bbb$1@news.povray.org>

> 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.

   A simple countertop can be done using CSG with just a union of a box, four
spheres on the corners and four cylinders along the edges. Or you can use
superellipsoids, or even isosurfaces with the f_rounded_box function.


-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message

From: optima
Subject: Re: csg drawing
Date: 28 Jul 2010 07:15:01
Message: <web.4c5010c3cd9ee7f16556a6ea0@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> 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.
>
>    A simple countertop can be done using CSG with just a union of a box, four
> spheres on the corners and four cylinders along the edges. Or you can use
> superellipsoids, or even isosurfaces with the f_rounded_box function.
>
>
> --
> Jaime Vives Piqueres
>
> http://www.ignorancia.org


Jaime, thanks for answering, actually I asked the question wrongly, a normal
cabinet countertop can be made from povray's own BOX or a box shape I exported
from 3d max.

How about corner cabinets, they are not rectangle shaped when you look at them
from top down but irregular shapes, not box shapes.

What function is best for this purpose? I appreciate your answers.


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: csg drawing
Date: 28 Jul 2010 07:23:12
Message: <4c501320@news.povray.org>

> Jaime, thanks for answering, actually I asked the question wrongly, a normal
> cabinet countertop can be made from povray's own BOX or a box shape I exported
> from 3d max.
>
> How about corner cabinets, they are not rectangle shaped when you look at them
> from top down but irregular shapes, not box shapes.
>

   Ah... then perhaps a prism will work.

   Regards,

-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message

From: Alain
Subject: Re: csg drawing
Date: 28 Jul 2010 16:40:17
Message: <4c5095b1$1@news.povray.org>

> Jaime Vives Piqueres<jai### [at] ignoranciaorg>  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.
>>
>>     A simple countertop can be done using CSG with just a union of a box, four
>> spheres on the corners and four cylinders along the edges. Or you can use
>> superellipsoids, or even isosurfaces with the f_rounded_box function.
>>
>>
>> --
>> Jaime Vives Piqueres
>>
>> http://www.ignorancia.org
>
>
> Jaime, thanks for answering, actually I asked the question wrongly, a normal
> cabinet countertop can be made from povray's own BOX or a box shape I exported
> from 3d max.
>
> How about corner cabinets, they are not rectangle shaped when you look at them
> from top down but irregular shapes, not box shapes.
>
> What function is best for this purpose? I appreciate your answers.
>
>
>
>

For that, I'd use a prism. It allows you to create many arbitrary 
shapes. The only thing is that the corner from the top to the sides are 
always sharp.


Alain


Post a reply to this message

From: Jim Charter
Subject: Re: csg drawing
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

From: Thomas de Groot
Subject: Re: csg drawing
Date: 29 Jul 2010 03:54:04
Message: <4c51339c$1@news.povray.org>
...and to visually help with CSG building, the use of either Moray 
(http://www.stmuc.com/moray/index.html) or Bishop3D 
(http://www.bishop3d.com/index.htm) is recommended. Both are free at this 
moment. Note however that Moray is not supported for the time being and 
renders directly only with POV-Ray 3.5, but its povray output can be very 
easily imported in later versions.

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: csg drawing
Date: 29 Jul 2010 03:59:12
Message: <4c5134d0$1@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> schreef in bericht 
news:4c51339c$1@news.povray.org...
> .... Both are free at this moment.

My mistake :-(    Only Moray is free at this moment.

Thomas


Post a reply to this message

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