![](/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) |
Awww... that's preeeeety :-)
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) |
Timothy Cook <z99### [at] bellsouth net> wrote:
> 6ish hours on 1.8 GHz/512 DDR
>
> Wanted to do spherical heightfield. No specific info in docs.
> Isosurface hmm, it can use pigments, la la l...hey wait, you
> can use images in pigments. Go my thinking process!
>
> Mars bump is 16k x 8k, texture half that. Not high enough res
> to make out 'face'...oh well :P
>
> --
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
> N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
> PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
> D++(---) G(++) e*>++ h+ !r--- !y--
> ------END GEEK CODE BLOCK------
Your Blue Mars effort inspired me. I had been wanting to create a spherical
height field for analyses that I was doing on Mars' surface features. I
created an isosurface based on a Mars topo map as pigment. The attached
image is the result so far (without the ocean sphere). I can't seem to get
a complete map of the surface in spherical form. Weird. Is your map
complete?
Rick Smith
Post a reply to this message
Attachments:
Download 'isosurface.jpg' (27 KB)
Preview of image 'isosurface.jpg'
![isosurface.jpg](/povray.binaries.images/attachment/%3Cweb.40bb5389f72d05f9a14125e90%40news.povray.org%3E/isosurface.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) |
"Richard Smith" <rms### [at] pe net> wrote in message
news:web.40bb5389f72d05f9a14125e90@news.povray.org...
>
> Your Blue Mars effort inspired me. I had been wanting to create a
spherical
> height field for analyses that I was doing on Mars' surface features. I
> created an isosurface based on a Mars topo map as pigment. The attached
> image is the result so far (without the ocean sphere). I can't seem to
get
> a complete map of the surface in spherical form. Weird. Is your map
> complete?
Seeing as you haven't gotten a reply here yet, looks like the median pigment
value is at the threshold. Meaning, maybe you could change 'threshold' to
something other than 0 (greater than) and get the rest to show up. Either
that or a max_gradient being too low, but that usually doesn't appear so
clean in my experiences.
So if this was done by adding the function to a sphere the black parts are
probably ending up less than zero and so below the container sphere's
surface, if I'm thinking of all this correctly. I might be way off.
To Timothy Cook: Wow! That's a beautiful view from space!
Bob H.
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) |
"Hughes, B." <omn### [at] charter net> wrote:
> "Richard Smith" <rms### [at] pe net> wrote in message
> news:web.40bb5389f72d05f9a14125e90@news.povray.org...
> >
> > Your Blue Mars effort inspired me. I had been wanting to create a
> spherical
> > height field for analyses that I was doing on Mars' surface features. I
> > created an isosurface based on a Mars topo map as pigment. The attached
> > image is the result so far (without the ocean sphere). I can't seem to
> get
> > a complete map of the surface in spherical form. Weird. Is your map
> > complete?
>
> Seeing as you haven't gotten a reply here yet, looks like the median pigment
> value is at the threshold. Meaning, maybe you could change 'threshold' to
> something other than 0 (greater than) and get the rest to show up. Either
> that or a max_gradient being too low, but that usually doesn't appear so
> clean in my experiences.
>
> So if this was done by adding the function to a sphere the black parts are
> probably ending up less than zero and so below the container sphere's
> surface, if I'm thinking of all this correctly. I might be way off.
>
> To Timothy Cook: Wow! That's a beautiful view from space!
>
> Bob H.
I'll check the things you mentioned. I'm not entirely sure I am using
isosurface correctly.
Thanks for the suggestions.
Rick Smith
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) |
Richard Smith wrote:
> "Hughes, B." <omn### [at] charter net> wrote:
>>"Richard Smith" <rms### [at] pe net> wrote:
>>>Your Blue Mars effort inspired me. I had been wanting to create a
>>>spherical height field for analyses that I was doing on Mars' surface features. I
>>>created an isosurface based on a Mars topo map as pigment. The attached
>>>image is the result so far (without the ocean sphere). I can't seem to
>>>get a complete map of the surface in spherical form. Weird. Is your map
>>>complete?
>>Seeing as you haven't gotten a reply here yet, looks like the median pigment
>>value is at the threshold. Meaning, maybe you could change 'threshold' to
>>something other than 0 (greater than) and get the rest to show up. Either
>>that or a max_gradient being too low, but that usually doesn't appear so
>>clean in my experiences.
>>
>>So if this was done by adding the function to a sphere the black parts are
>>probably ending up less than zero and so below the container sphere's
>>surface, if I'm thinking of all this correctly. I might be way off.
>>
>>To Timothy Cook: Wow! That's a beautiful view from space!
> I'll check the things you mentioned. I'm not entirely sure I am using
> isosurface correctly.
> Thanks for the suggestions.
Er...whoah, I didn't even see these replies originally...sorry! ^_^;;
Hang on, let's see if your post is still there...
--
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
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) |
Richard Smith wrote:
> Your Blue Mars effort inspired me. I had been wanting to create a spherical
> height field for analyses that I was doing on Mars' surface features. I
> created an isosurface based on a Mars topo map as pigment. The attached
> image is the result so far (without the ocean sphere). I can't seem to get
> a complete map of the surface in spherical form. Weird. Is your map
> complete?
Hmm ok, here 'tis...yeah, as B. Hughes noted, looks like you have some
values extending byeond some boundary and being clipped.
--
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
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) |
Timothy Cook <z99### [at] bellsouth net> wrote:
> Richard Smith wrote:
> > Your Blue Mars effort inspired me. I had been wanting to create a spherical
> > height field for analyses that I was doing on Mars' surface features. I
> > created an isosurface based on a Mars topo map as pigment. The attached
> > image is the result so far (without the ocean sphere). I can't seem to get
> > a complete map of the surface in spherical form. Weird. Is your map
> > complete?
>
> Hmm ok, here 'tis...yeah, as B. Hughes noted, looks like you have some
> values extending byeond some boundary and being clipped.
>
> --
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
I've tried changing all the parameters but am unable to make the image any
more complete than it is.
Rick Smith
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) |
Richard Smith wrote:
> I've tried changing all the parameters but am unable to make the image any
> more complete than it is.
humm...well, here's my code for the isosurface...with commentary
#include "functions.inc"
#declare fn_MarsPigm=function{
pigment{
image_map{
tga "D:\3D\Textures\Mars\RMv3_Bump16K.tga"
map_type 1
once
interpolate 4
}
scale <-1,1,1> // right-hand rule; makes more sense to me,
rotate 90*x // since i started out doing autosketch/cad
}
}
isosurface{
function{f_sphere(x, y, z, 3375)-fn_MarsPigm(x, y, z).red*30}
// mars mean diam 3375 km, topo range 30 km...the image is greyscale
// but pov's 'gray' function is weighted...? so i used red component
contained_by{sphere{0,5000}} // probably a bit much O.o;;
pigment{
image_map{
jpeg "D:\3D\Textures\Mars\RMv3_FlatColor4K.jpg"
map_type 1
once
interpolate 4
}
scale <-1,1,1>
rotate 90*x
}
}
EOF
i included it in a moray document with some other stuff, and voila!
--
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
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) |
Timothy Cook <z99### [at] bellsouth net> wrote:
> Richard Smith wrote:
> > I've tried changing all the parameters but am unable to make the image any
> > more complete than it is.
>
> humm...well, here's my code for the isosurface...with commentary
>
> #include "functions.inc"
> #declare fn_MarsPigm=function{
> pigment{
> image_map{
> tga "D:3DTexturesMarsRMv3_Bump16K.tga"
> map_type 1
> once
> interpolate 4
> }
> scale <-1,1,1> // right-hand rule; makes more sense to me,
> rotate 90*x // since i started out doing autosketch/cad
> }
> }
> isosurface{
> function{f_sphere(x, y, z, 3375)-fn_MarsPigm(x, y, z).red*30}
> // mars mean diam 3375 km, topo range 30 km...the image is greyscale
> // but pov's 'gray' function is weighted...? so i used red component
> contained_by{sphere{0,5000}} // probably a bit much O.o;;
> pigment{
> image_map{
> jpeg "D:3DTexturesMarsRMv3_FlatColor4K.jpg"
> map_type 1
> once
> interpolate 4
> }
> scale <-1,1,1>
> rotate 90*x
> }
> }
> EOF
>
> i included it in a moray document with some other stuff, and voila!
>
> --
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
Thenks Tim. I'll compare your code to mine and see if I've muffed it.
Rick Smith
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) |
Timothy Cook <z99### [at] bellsouth net> wrote:
> Richard Smith wrote:
> > I've tried changing all the parameters but am unable to make the image any
> > more complete than it is.
>
> humm...well, here's my code for the isosurface...with commentary
>
> #include "functions.inc"
> #declare fn_MarsPigm=function{
> pigment{
> image_map{
> tga "D:3DTexturesMarsRMv3_Bump16K.tga"
> map_type 1
> once
> interpolate 4
> }
> scale <-1,1,1> // right-hand rule; makes more sense to me,
> rotate 90*x // since i started out doing autosketch/cad
> }
> }
> isosurface{
> function{f_sphere(x, y, z, 3375)-fn_MarsPigm(x, y, z).red*30}
> // mars mean diam 3375 km, topo range 30 km...the image is greyscale
> // but pov's 'gray' function is weighted...? so i used red component
> contained_by{sphere{0,5000}} // probably a bit much O.o;;
> pigment{
> image_map{
> jpeg "D:3DTexturesMarsRMv3_FlatColor4K.jpg"
> map_type 1
> once
> interpolate 4
> }
> scale <-1,1,1>
> rotate 90*x
> }
> }
> EOF
>
> i included it in a moray document with some other stuff, and voila!
>
> --
> Tim Cook
> http://home.bellsouth.net/p/PWP-empyrean
>
I started with your code example and redid mine. It worked just fine. I'm
not sure just what I did wrong but thanks for your help.
Post a reply to this message
Attachments:
Download 'isosurface-a.jpg' (97 KB)
Preview of image 'isosurface-a.jpg'
![isosurface-a.jpg](/povray.binaries.images/attachment/%3Cweb.40de2d44f72d05f9d5863cdf0%40news.povray.org%3E/isosurface-a.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |