|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all
i'am very 'green' so bare over with me..
I'm having two declared objects (just a sphere and a box):
obj1 & obj2
I would like to make a blob between them
i have tried
blob{
threshold .12
obj1
obj2
}
but that gives an error (must have one object..)
same with
blob{
threshold .12
object{obj1}
object{obj2}
}
i have looked through the 'handblob example' but all segments are
'hardcoded' inside the blobdefinition.
is it not posible 'to blob' with named/declared objects?
if so -how can u blob between complext objects?
regards krus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
krus wrote:
>
> Hi all
> i'am very 'green' so bare over with me..
>
> I'm having two declared objects (just a sphere and a box):
> obj1 & obj2
> I would like to make a blob between them
>
> [...]
Where is written that the blob object accepts arbitrary objects as
components?
The allowed components are:
sphere{<Center>, Radius, [ strength ] Strength [COMPONENT_MODIFIER...] }
cylinder{<End1>, <End2>, Radius, [ strength ] Strength
[COMPONENT_MODIFIER...] }
Blobbing arbitrary objects isn't possible but you can achieve something
isosurface functions'. The IsoCSG library also contains some macros for
simplifying this:
http://www-public.tu-bs.de:8080/~y0013390/pov/ic/index.html
and it works for arbitrary functions, therefore also for shapes like
boxes. See:
http://www-public.tu-bs.de:8080/~y0013390/pov/ic/docu02.html#BlobShape
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"krus" <nomail@nomail> wrote in message
news:web.3d787f3ceba2df3426f959360@news.povray.org...
> Hi all
> i'am very 'green' so bare over with me..
>
See Cristoph's reply, but it's also worth mentioning (unless this has been
changed in 3.5) that you can't even declare valid blob components outside of a
blob - e.g.:
#declare BC1 = sphere{0,1,1}
blob{
threshold 0.5
object{BC1}
sphere{0,1,1}
}
will fail on the declaration of BC1, since the extra component is only valid
within a blob statement. A macro call from within the blob could probably get
around any limitations that this seems to impose.
If this is wrong, will someone please correct it?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
>
>krus wrote:
>>
>> Hi all
>> i'am very 'green' so bare over with me..
>>
>> I'm having two declared objects (just a sphere and a box):
>> obj1 & obj2
>> I would like to make a blob between them
>>
>> [...]
>
>Where is written that the blob object accepts arbitrary objects as
>components?
>The allowed components are:
>
>sphere{<Center>, Radius, [ strength ] Strength [COMPONENT_MODIFIER...] }
>cylinder{<End1>, <End2>, Radius, [ strength ] Strength
>
>
>Blobbing arbitrary objects isn't possible but you can achieve something
>isosurface functions'. The IsoCSG library also contains some macros for
>simplifying this:
>
>http://www-public.tu-bs.de:8080/~y0013390/pov/ic/index.html
>
>and it works for arbitrary functions, therefore also for shapes like
>boxes. See:
>
>http://www-public.tu-bs.de:8080/~y0013390/pov/ic/docu02.html#BlobShape
>
>
>Christoph
>
>POV-Ray tutorials, IsoWood include,
>TransSkin and more: http://www.tu-bs.de/~y0013390/
>Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______
>
That explain it!
Thanks to both of you!
regards krus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3D788DD2.8471C63E@gmx.de...
>
> Where is written that the blob object accepts arbitrary
> objects as components?
>
You *should* be able to do something along the lines of what he's trying.
Here's the workaround:
Use macros!
#macro blobby1()
sphere{x,2,1}
sphere{y,2,1}
#end
#macro blobby2()
sphere{-x,2,1}
#end
blob{
threshold 0.1
blobby1()
blobby2()
translate 8*z
pigment{rgb 1} finish{ambient 1}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greg M. Johnson wrote:
>"Christoph Hormann" <chr### [at] gmxde> wrote in message
>news:3D788DD2.8471C63E[at]gmx.de...
>>
>> Where is written that the blob object accepts arbitrary
>> objects as components?
>>
>
>You *should* be able to do something along the lines of what he's trying.
>Here's the workaround:
>
>Use macros!
>
>#macro blobby1()
> sphere{x,2,1}
> sphere{y,2,1}
>#end
>
>#macro blobby2()
> sphere{-x,2,1}
>#end
>
>blob{
>threshold 0.1
>blobby1()
>blobby2()
>translate 8*z
>pigment{rgb 1} finish{ambient 1}
>}
>
That was a very interesting example!
Thank you!
regards krus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |