![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi, I posted this in the povray.newusers section already, but it was said
that it was hard to visualize what I meant and that perhaps I should post my
question here with a little picture... so here it goes:
can I create a surface that is elevated in the center but has edges that are
in one plane? is this possible with CSG or are there other ways?
thnx a lot in advance,
Daan
Post a reply to this message
Attachments:
Download 'hulltop2.jpg' (9 KB)
Download 'hulltop.jpg' (5 KB)
Preview of image 'hulltop2.jpg'
![hulltop2.jpg](/povray.binaries.images/attachment/%3C3d5f5894%40news.povray.org%3E/hulltop2.jpg?preview=1)
Preview of image 'hulltop.jpg'
![hulltop.jpg](/povray.binaries.images/attachment/%3C3d5f5894%40news.povray.org%3E/hulltop.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> can I create a surface that is elevated in the center but has edges that are
> in one plane? is this possible with CSG or are there other ways?
If you want it to bulge up in the middle, I think it would be difficult
to do in CSG. I would try Bezier patches. 4 patches might do it,
depending on how complex a shape you want.
/Ib
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
yes, I would like it to bulge up in the middle... I've never worked with
Bezier patches, but judging from the documentation it might be possible, if
I could figure out how to make the edges curved in such a way that they
follow the intersection of two spheres.... I guess I'll just forget about it
for now and get to that when I have somewhat more time to figure out all the
necessary calculations...
thnx for the info
"Ib Rasmussen" <ib### [at] ibras dk> wrote in message
news:3D5### [at] ibras dk...
> > can I create a surface that is elevated in the center but has edges that
are
> > in one plane? is this possible with CSG or are there other ways?
>
> If you want it to bulge up in the middle, I think it would be difficult
> to do in CSG. I would try Bezier patches. 4 patches might do it,
> depending on how complex a shape you want.
>
> /Ib
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
You might try a heightfield.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I guess I'll just forget about it
> for now and get to that when I have somewhat more time to figure out all the
> necessary calculations...
If you don't enjoy fiddling around with parameters and calculation, you
could try modelling it in HamaPatch (http://www.hamapatch.t2u.com/)
/ martin
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
INVALID_ADDRESS wrote:
>Hi, I posted this in the povray.newusers section already, but it was said
>that it was hard to visualize what I meant and that perhaps I should post my
>question here with a little picture... so here it goes:
>
>can I create a surface that is elevated in the center but has edges that are
>in one plane? is this possible with CSG or are there other ways?
>
>thnx a lot in advance,
>
>Daan
>
Daan,
Below is a link to some code I wrote.
http://www.xenomechanics.com/POVRAY/boat_bulge2.html
The idea was to make your boat with triangles. All vertices would either
be on the boundry that are your 2 circles or on the plane symetry( on the
keel).
The smooth_triangle call uses normals for the vertices. The vertices on
the symetrical plane would be straight up middleNormal = <0,1,0>;
and the vertices along the boundry would be tilted outward,
boundryNormal=<0,cos(90),sin(90)>
but the normals on the model are not being set to these above boundry
conditions and I'm not sure what's wrong.
The profile (looking from the top) seems to be correct and there is
continuity of the whole model. But it's not quite there yet.
I appoligize if I haven't posted all this correctly as I'm still new to
Povray.
Let me know what you think
Tony
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
thank you heaps...
the pic looks really promising, I'll look into it when I've got some time
again... again, thank you _a lot_ for your time and effort...
"Tony LaVigne" <ton### [at] xenomechanics com> wrote in message
news:web.3d603e923cc842f988d4e3910@news.povray.org...
> INVALID_ADDRESS wrote:
> >Hi, I posted this in the povray.newusers section already, but it was said
> >that it was hard to visualize what I meant and that perhaps I should post
my
> >question here with a little picture... so here it goes:
> >
> >can I create a surface that is elevated in the center but has edges that
are
> >in one plane? is this possible with CSG or are there other ways?
> >
> >thnx a lot in advance,
> >
> >Daan
> >
> Daan,
> Below is a link to some code I wrote.
> http://www.xenomechanics.com/POVRAY/boat_bulge2.html
>
> The idea was to make your boat with triangles. All vertices would
either
> be on the boundry that are your 2 circles or on the plane symetry( on the
> keel).
>
> The smooth_triangle call uses normals for the vertices. The vertices on
> the symetrical plane would be straight up middleNormal = <0,1,0>;
> and the vertices along the boundry would be tilted outward,
> boundryNormal=<0,cos(90),sin(90)>
> but the normals on the model are not being set to these above boundry
> conditions and I'm not sure what's wrong.
>
> The profile (looking from the top) seems to be correct and there is
> continuity of the whole model. But it's not quite there yet.
>
> I appoligize if I haven't posted all this correctly as I'm still new to
> Povray.
> Let me know what you think
> Tony
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |