|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am currently doing some analysis of scientific data and the final output is a
..pov blob object that is cubic but with pores. The idea is to visualize the
solid and void space within a very small particle. The .POV file renders just
fine and gives me a picture of the solid space. what i would like to do is
replace the void space with soid, and the solid with void, within the cube.
any ideas out there?
thanks
niccolo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Niccolo wrote:
> replace the void space with soid, and the solid with void, within the cube.
Would a CSG difference from a (second, new) solid cube not do the trick?
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Im pretty new... a link below is the code... how would i implement this?
http://idisk.mac.com/niccolo.aieta-Public/733B.pov?disposition=download+949
Darren New <dne### [at] sanrrcom> wrote:
> Niccolo wrote:
> > replace the void space with soid, and the solid with void, within the cube.
>
> Would a CSG difference from a (second, new) solid cube not do the trick?
>
> --
> Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Niccolo wrote:
> Im pretty new... a link below is the code... how would i implement this?
I *think* it'll give you what you want if you make the following changes:
Move the entire line with the "box" declaration to just after the line
that reads "intersection {"
Then change that word "intersection" to "difference."
difference {
box{<1,1,1>, <50,50,50> pigment {MediumSpringGreen}}
blob {
threshold 0.866
sphere{<1,1,1>, 1.68, 1 pigment {Green} }
sphere{<1,1,2>, 1.68, 1 pigment {Green} }
sphere{<1,1,3>, 1.68, 1 pigment {Green} }
...
That will give you green pixels in all the places in the box that are
not in the spheres. See if it looks like what you'd expect.
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This did not do exactly what i would like. the image "733b.bmp" is the orginal
output. "change.bmp" is the rendeing of the modified code as you suggested.
what i really need is that the void space (empty space) within the cube in the
original image to be replaced with solid, and the solid to be replaced by empty
space.
thank you for your help thus far...
http://idisk.mac.com/niccolo.aieta-Public/change.bmp?disposition=download+9657
http://idisk.mac.com/niccolo.aieta-Public/733b.bmp?disposition=download+3491
Darren New <dne### [at] sanrrcom> wrote:
> Niccolo wrote:
> > Im pretty new... a link below is the code... how would i implement this?
>
> I *think* it'll give you what you want if you make the following changes:
>
> Move the entire line with the "box" declaration to just after the line
> that reads "intersection {"
>
> Then change that word "intersection" to "difference."
>
>
> difference {
> box{<1,1,1>, <50,50,50> pigment {MediumSpringGreen}}
> blob {
> threshold 0.866
> sphere{<1,1,1>, 1.68, 1 pigment {Green} }
> sphere{<1,1,2>, 1.68, 1 pigment {Green} }
> sphere{<1,1,3>, 1.68, 1 pigment {Green} }
> ...
>
>
>
>
> That will give you green pixels in all the places in the box that are
> not in the spheres. See if it looks like what you'd expect.
>
> --
> Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Niccolo wrote:
> "change.bmp" is the rendeing of the modified code as you suggested.
I got something different. Did you *move* the "box" line, or did you
*copy* the box line?
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Darren New wrote:
> Niccolo wrote:
>> "change.bmp" is the rendeing of the modified code as you suggested.
>
> I got something different. Did you *move* the "box" line, or did you
> *copy* the box line?
Check the images group under the subject "blob help"
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|