POV-Ray : Newsgroups : povray.binaries.images : RBezier Server Time
6 Oct 2024 08:25:20 EDT (-0400)
  RBezier (Message 11 to 20 of 27)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 7 Messages >>>
From: LanuHum
Subject: Re: RBezier
Date: 27 Apr 2014 11:25:01
Message: <web.535d20cf7cffa6467a3e03fe0@news.povray.org>


Post a reply to this message


Attachments:
Download 'pfcg.jpg' (17 KB)

Preview of image 'pfcg.jpg'
pfcg.jpg


 

From: Alain
Subject: Re: RBezier
Date: 27 Apr 2014 12:23:15
Message: <535d2ef3@news.povray.org>

> On Fri, 25 Apr 2014 20:07:55 +0200, LanuHum <Lan### [at] yandexru> wrote:
>
>> Me all interests about Povray
>> http://atrey.karlin.mff.cuni.cz/~0rfelyus/
>>
>>  RBezier
>> This patch is the last in my series of patches for POV-Ray. It extends
>> POV-Ray
>> by ray tracing of trimmed rational Bezier surface patches using Bezier
>> clipping
>> (as described by Nishita, Sederberg and Kakimoto).
>> ftp://atrey.karlin.mff.cuni.cz/pub/local/0rfelyus/povray-3.02/examples/trims-b.png
>>
>>
>> I didn't find in Povray-3.7 opportunity to create bezier patch
>> Good idea for creation of leaves
>
> If I understand correctly this could have helped me when I made my bass
> for cutting the c-holes from the sound-box.
>

An electric bass guitar with a violin/celo body? That's new...


Post a reply to this message

From: Nekar Xenos
Subject: Re: RBezier
Date: 27 Apr 2014 12:50:09
Message: <op.xezidowvufxv4h@xena.home>
On Sun, 27 Apr 2014 18:23:23 +0200, Alain <kua### [at] videotronca> wrote:



>> On Fri, 25 Apr 2014 20:07:55 +0200, LanuHum <Lan### [at] yandexru> wrote
:
>>
>>> Me all interests about Povray
>>> http://atrey.karlin.mff.cuni.cz/~0rfelyus/
>>>
>>>  RBezier
>>> This patch is the last in my series of patches for POV-Ray. It exten
ds
>>> POV-Ray
>>> by ray tracing of trimmed rational Bezier surface patches using Bezi
er
>>> clipping
>>> (as described by Nishita, Sederberg and Kakimoto).
>>> ftp://atrey.karlin.mff.cuni.cz/pub/local/0rfelyus/povray-3.02/exampl
es/trims-b.png
>>>
>>>
>>> I didn't find in Povray-3.7 opportunity to create bezier patch
>>> Good idea for creation of leaves
>>
>> If I understand correctly this could have helped me when I made my ba
ss
>> for cutting the c-holes from the sound-box.
>>
>
> An electric bass guitar with a violin/celo body? That's new...

My design electro-acoustic bass based on a contra-bass.
I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
  

the soundbox but I couldn't add depth because I couldn't csg the sides o
f  

the C-holes. I was thinking maybe this patch would make it possible.

-- 

-Nekar Xenos-


Post a reply to this message

From: andrel
Subject: Re: RBezier
Date: 27 Apr 2014 13:26:04
Message: <535D3D85.6040303@gmail.com>
>> An electric bass guitar with a violin/celo body? That's new...
>
> My design electro-acoustic bass based on a contra-bass.
> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
> the soundbox but I couldn't add depth because I couldn't csg the sides
> of the C-holes. I was thinking maybe this patch would make it possible.
>
Could you not subtract the a scaled down version to create the resonance 
chamber?
I am assuming that the thickness of the upper and lower surfaces need 
not be detailed modelled to get a realistic sound body.

-- 
Everytime the IT department forbids something that a researcher deems
necessary for her work there will be another hole in the firewall.

---
This email is free from viruses and malware because avast! Antivirus protection is
active.
http://www.avast.com


Post a reply to this message

From: Nekar Xenos
Subject: Re: RBezier
Date: 27 Apr 2014 16:21:08
Message: <op.xezr5biwufxv4h@xena.home>
On Sun, 27 Apr 2014 19:25:25 +0200, andrel <byt### [at] gmailcom> wrote:

>
>>> An electric bass guitar with a violin/celo body? That's new...
>>
>> My design electro-acoustic bass based on a contra-bass.
>> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
>> the soundbox but I couldn't add depth because I couldn't csg the sides
>> of the C-holes. I was thinking maybe this patch would make it possible.
>>
> Could you not subtract the a scaled down version to create the resonance  
> chamber?
> I am assuming that the thickness of the upper and lower surfaces need  
> not be detailed modelled to get a realistic sound body.
>
It just ends up looking like a shadow. I need to do the walls/edges of the  
c-holes and they need to match.

-- 
-Nekar Xenos-


Post a reply to this message

From: Alain
Subject: Re: RBezier
Date: 27 Apr 2014 16:37:57
Message: <535d6aa5$1@news.povray.org>

> On Sun, 27 Apr 2014 19:25:25 +0200, andrel <byt### [at] gmailcom> wrote:
>
>>
>>>> An electric bass guitar with a violin/celo body? That's new...
>>>
>>> My design electro-acoustic bass based on a contra-bass.
>>> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
>>> the soundbox but I couldn't add depth because I couldn't csg the sides
>>> of the C-holes. I was thinking maybe this patch would make it possible.
>>>
>> Could you not subtract the a scaled down version to create the
>> resonance chamber?
>> I am assuming that the thickness of the upper and lower surfaces need
>> not be detailed modelled to get a realistic sound body.
>>
> It just ends up looking like a shadow. I need to do the walls/edges of
> the c-holes and they need to match.
>
Right now, the C-holes look like they are painted on...

How about replacing the patch with an hight_field?

Do a render of only the front face using an orthographic camera and a 
black to white gradient. Use +fng16 on the command line when using 
version 3.7.

Add some slight bluring to get some beveling/rounding. May be done using 
some focal blur or by post processing.

Use water_level to remove the outside part.

As it may be to thick around the openings, you can now use a difference 
around the C-holes to get just the correct thickness.

For the back face, you can still use the bezier patch, or you can use 
another hight_field made without the openings.



Alain


Post a reply to this message

From: s day
Subject: Re: RBezier
Date: 28 Apr 2014 04:30:01
Message: <web.535e10b87cffa6461e6cd2c20@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote:
> On Sun, 27 Apr 2014 18:23:23 +0200, Alain <kua### [at] videotronca> wrote:
>
>

> >> On Fri, 25 Apr 2014 20:07:55 +0200, LanuHum <Lan### [at] yandexru> wrote
> :
> >>
> >>> Me all interests about Povray
> >>> http://atrey.karlin.mff.cuni.cz/~0rfelyus/
> >>>
> >>>  RBezier
> >>> This patch is the last in my series of patches for POV-Ray. It exten
> ds
> >>> POV-Ray
> >>> by ray tracing of trimmed rational Bezier surface patches using Bezi
> er
> >>> clipping
> >>> (as described by Nishita, Sederberg and Kakimoto).
> >>> ftp://atrey.karlin.mff.cuni.cz/pub/local/0rfelyus/povray-3.02/exampl
> es/trims-b.png
> >>>
> >>>
> >>> I didn't find in Povray-3.7 opportunity to create bezier patch
> >>> Good idea for creation of leaves
> >>
> >> If I understand correctly this could have helped me when I made my ba
> ss
> >> for cutting the c-holes from the sound-box.
> >>
> >
> > An electric bass guitar with a violin/celo body? That's new...
>
> My design electro-acoustic bass based on a contra-bass.
> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
>
>
> the soundbox but I couldn't add depth because I couldn't csg the sides o
> f
>
> the C-holes. I was thinking maybe this patch would make it possible.
>
> --
>
> -Nekar Xenos-

What about putting a thin box inside the soundbox behind where the C-holes are
then simply cutting a hole in this box as well?

Seab


Post a reply to this message

From: andrel
Subject: Re: RBezier
Date: 28 Apr 2014 16:43:41
Message: <535EBD7C.5030701@gmail.com>
On 27-4-2014 22:21, Nekar Xenos wrote:
> On Sun, 27 Apr 2014 19:25:25 +0200, andrel <byt### [at] gmailcom> wrote:
>
>>
>>>> An electric bass guitar with a violin/celo body? That's new...
>>>
>>> My design electro-acoustic bass based on a contra-bass.
>>> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
>>> the soundbox but I couldn't add depth because I couldn't csg the sides
>>> of the C-holes. I was thinking maybe this patch would make it possible.
>>>
>> Could you not subtract the a scaled down version to create the
>> resonance chamber?
>> I am assuming that the thickness of the upper and lower surfaces need
>> not be detailed modelled to get a realistic sound body.
>>
> It just ends up looking like a shadow. I need to do the walls/edges of
> the c-holes and they need to match.
>

BTW why the C-holes? I could not find an example of a real instrument 
that has them.
Mechanically they make also less sense as far as I understand the 
physics behind the violin family.
And who is G Oosthuizen?

-- 
Everytime the IT department forbids something that a researcher deems
necessary for her work there will be another hole in the firewall.

---
This email is free from viruses and malware because avast! Antivirus protection is
active.
http://www.avast.com


Post a reply to this message

From: andrel
Subject: Re: RBezier
Date: 28 Apr 2014 17:09:00
Message: <535EC36C.9010905@gmail.com>
On 27-4-2014 22:21, Nekar Xenos wrote:
> On Sun, 27 Apr 2014 19:25:25 +0200, andrel <byt### [at] gmailcom> wrote:
>
>>
>>>> An electric bass guitar with a violin/celo body? That's new...
>>>
>>> My design electro-acoustic bass based on a contra-bass.
>>> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes out of
>>> the soundbox but I couldn't add depth because I couldn't csg the sides
>>> of the C-holes. I was thinking maybe this patch would make it possible.
>>>
>> Could you not subtract the a scaled down version to create the
>> resonance chamber?
>> I am assuming that the thickness of the upper and lower surfaces need
>> not be detailed modelled to get a realistic sound body.
>>
> It just ends up looking like a shadow. I need to do the walls/edges of
> the c-holes and they need to match.

I did not realize you used set of disjoint bezier patches. Now I see all 
the mismatches where patches meet.
It is been a long time I used bezier in POV, I can not even remember if 
you can make solids with them at all.



-- 
Everytime the IT department forbids something that a researcher deems
necessary for her work there will be another hole in the firewall.

---
This email is free from viruses and malware because avast! Antivirus protection is
active.
http://www.avast.com


Post a reply to this message

From: Alain
Subject: Re: RBezier
Date: 28 Apr 2014 17:56:42
Message: <535ece9a$1@news.povray.org>

> On 27-4-2014 22:21, Nekar Xenos wrote:
>> On Sun, 27 Apr 2014 19:25:25 +0200, andrel <byt### [at] gmailcom> wrote:
>>
>>>
>>>>> An electric bass guitar with a violin/celo body? That's new...
>>>>
>>>> My design electro-acoustic bass based on a contra-bass.
>>>> I hand-coded the sound-box as a bezier patch. I CSG'd the C-holes
>>>> out of
>>>> the soundbox but I couldn't add depth because I couldn't csg the sides
>>>> of the C-holes. I was thinking maybe this patch would make it possible.
>>>>
>>> Could you not subtract the a scaled down version to create the
>>> resonance chamber?
>>> I am assuming that the thickness of the upper and lower surfaces need
>>> not be detailed modelled to get a realistic sound body.
>>>
>> It just ends up looking like a shadow. I need to do the walls/edges of
>> the c-holes and they need to match.
>
> I did not realize you used set of disjoint bezier patches. Now I see all
> the mismatches where patches meet.
> It is been a long time I used bezier in POV, I can not even remember if
> you can make solids with them at all.
>
>
>

You can't make a "solid" object with them as they have no defined 
interior/exterior distinction, just the same way as the triangle and 
polygon primitives. Those primitives are just surfaces with no thickness.

You CAN combine several of them to create a solid looking, ie closed, 
object. That object can contain some media and can be used in an union, 
but can't be used in a difference or intersection. The result with a 
merge will still contain surfaces from other objects that are "inside" 
the bezier patch object that you may expect not to be visible.

Untill version 3.7 and the introduction of the inside_vector, you had 
the same limitation with mesh/mesh2 objects.



Alain


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 7 Messages >>>

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