![](/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'm wondering if there is a way to treat a mesh2 as an isosurface. I'm pretty
new to pov-ray (some will notice my regular contribution to the 'newusers'
forum) so still figuring out a lot of the stuff. This one might be straight
forward.
I have a mesh2 file of something that looks like a few pancakes layered on top
of one another. This was created using Accutrans that converted my
wireframe/solid/whatever-ya-wanna-call-it.dxf into a .pov file (version 3.5).
I want to make these pancake type surfaces look like they are stone, or a
roughly chiseled piece of rock.
Looking around online, I found an excellent rendering of a sandstone by PM 2Ring
on this site. The wrinkly patterns and depth of the bumps are perfect for what I
am looking for. Is it possible to make my pancake-type-thingy.pov have the same
texture as the sandstone in PM 2Ring's code?
He uses functions and isosurfaces that I'm still trying to get my head around,
is there someone out there who can tell me if they are mergeable?
Attached are both codes...You'll notice I have been able to incorporate the
colours into my file.
Post a reply to this message
Attachments:
Download 'forum.zip' (21 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Sorry the title should read "Treat a mesh2 as an isosurface"
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) |
On 29-9-2016 21:25, SecondCup wrote:
> Hi,
>
> I'm wondering if there is a way to treat a mesh2 as an isosurface. I'm pretty
> new to pov-ray (some will notice my regular contribution to the 'newusers'
> forum) so still figuring out a lot of the stuff. This one might be straight
> forward.
As far as I know: no.
>
> I have a mesh2 file of something that looks like a few pancakes layered on top
> of one another. This was created using Accutrans that converted my
> wireframe/solid/whatever-ya-wanna-call-it.dxf into a .pov file (version 3.5).
> I want to make these pancake type surfaces look like they are stone, or a
> roughly chiseled piece of rock.
>
> Looking around online, I found an excellent rendering of a sandstone by PM 2Ring
> on this site. The wrinkly patterns and depth of the bumps are perfect for what I
> am looking for. Is it possible to make my pancake-type-thingy.pov have the same
> texture as the sandstone in PM 2Ring's code?
Yes. Although the pancakes are very smooth, to get a stone-like effect
you need to add a normal to the texture and play with scale and rotation
to get the effect you desire.
The isosurface PM2Ring is using is sufficiently rough by itself to just
use the texture without a normal. The pancakes on the other hand are too
smooth and you have to adapt to get a similar effect. Note that my
example is only one of many. You should play with all the possibilities
offered by POV-Ray to get what you want.
One thing I would like to suggest, if you want to go along with these
pancakes, is to try and use 'Subdivision' and then 'Displacement' in
Poseray. That way you would make the pancakes much more interesting.
>
> He uses functions and isosurfaces that I'm still trying to get my head around,
> is there someone out there who can tell me if they are mergeable?
As said above, no.
>
> Attached are both codes...You'll notice I have been able to incorporate the
> colours into my file.
>
I re-attach the file with a couple of additions/corrections. Switch off
most of the fill-in lights. Set to version 3.7 and standard assumed_gamma 1.
--
Thomas
Post a reply to this message
Attachments:
Download 'utf-8' (68 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thomas de Groot <tho### [at] degroot org> wrote:
> On 29-9-2016 21:25, SecondCup wrote:
> > Hi,
> >
> > I'm wondering if there is a way to treat a mesh2 as an isosurface. I'm pretty
> > new to pov-ray (some will notice my regular contribution to the 'newusers'
> > forum) so still figuring out a lot of the stuff. This one might be straight
> > forward.
>
> As far as I know: no.
>
> >
> > I have a mesh2 file of something that looks like a few pancakes layered on top
> > of one another. This was created using Accutrans that converted my
> > wireframe/solid/whatever-ya-wanna-call-it.dxf into a .pov file (version 3.5).
> > I want to make these pancake type surfaces look like they are stone, or a
> > roughly chiseled piece of rock.
> >
> > Looking around online, I found an excellent rendering of a sandstone by PM 2Ring
> > on this site. The wrinkly patterns and depth of the bumps are perfect for what I
> > am looking for. Is it possible to make my pancake-type-thingy.pov have the same
> > texture as the sandstone in PM 2Ring's code?
>
> Yes. Although the pancakes are very smooth, to get a stone-like effect
> you need to add a normal to the texture and play with scale and rotation
> to get the effect you desire.
>
> The isosurface PM2Ring is using is sufficiently rough by itself to just
> use the texture without a normal. The pancakes on the other hand are too
> smooth and you have to adapt to get a similar effect. Note that my
> example is only one of many. You should play with all the possibilities
> offered by POV-Ray to get what you want.
>
> One thing I would like to suggest, if you want to go along with these
> pancakes, is to try and use 'Subdivision' and then 'Displacement' in
> Poseray. That way you would make the pancakes much more interesting.
>
> >
> > He uses functions and isosurfaces that I'm still trying to get my head around,
> > is there someone out there who can tell me if they are mergeable?
>
> As said above, no.
>
> >
> > Attached are both codes...You'll notice I have been able to incorporate the
> > colours into my file.
> >
>
> I re-attach the file with a couple of additions/corrections. Switch off
> most of the fill-in lights. Set to version 3.7 and standard assumed_gamma 1.
>
> --
> Thomas
Thank you for the advice Thomas, it's really appreciated.
I scaled it to 500 and added some turbulence. It looks pretty good. Now to fine
tune the lighting :)
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) |
On 30-9-2016 20:39, SecondCup wrote:
> Thank you for the advice Thomas, it's really appreciated.
>
> I scaled it to 500 and added some turbulence. It looks pretty good. Now to fine
> tune the lighting :)
>
You are welcome :-)
To my remark concerning Poseray's Subdivision and Displacement, I must
add that the quality of the original object is crucial of course. I
noticed that the pancakes were rather simple meshes so the above would
not change much at all. A better initial mesh should be preferred. and
would give more interesting results.
--
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |