|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Basically how do i declare a blob component such as a cylinder...?
It will not seem to accept the strength as a valid cylinder entry...?
I want to declare a component and use i.e. MyCylinder to rotate ti
around the central components w/ out rewriting the entire component...?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You could use macros
#macro MyCylynder(...) -y,+y,RB-.02 #end
#local S1=-50;#local S2=-100;
blob {
threshold .0001
cylinder{0,y*.06,RB,20}
cylinder{MyCylynder,S1 translate -x*.06}
cylinder{MyCylynder,S1 translate -x*.06 rotate +y*120}
cylinder{MyCylynder,S1 translate -x*.06 rotate -y*120}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*030}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*090}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*150}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*210}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*030}
cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*090}
sphere {0,RB,-100 scale <1,.65,1> translate -y*(RB*.35)}
}
Moon47 wrote:
>
> Basically how do i declare a blob component such as a cylinder...?
> It will not seem to accept the strength as a valid cylinder entry...?
>
> I want to declare a component and use i.e. MyCylinder to rotate ti
> around the central components w/ out rewriting the entire component...?
--
Mr. Art
"Often the appearance of reality is more important
than the reality of the appearance."
Bill DeWitt 2000
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you i will try ( try is the operative ) this my macro skill is none at this
point.
But still worth a try...
It still is not a declaration where i can change all the declared components at
once. Or can i... Like i said i have no understanding of the macro.. Well almost
none...
"mr.art" wrote:
> You could use macros
> #macro MyCylynder(...) -y,+y,RB-.02 #end
> #local S1=-50;#local S2=-100;
> blob {
> threshold .0001
> cylinder{0,y*.06,RB,20}
> cylinder{MyCylynder,S1 translate -x*.06}
> cylinder{MyCylynder,S1 translate -x*.06 rotate +y*120}
> cylinder{MyCylynder,S1 translate -x*.06 rotate -y*120}
>
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*030}
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*090}
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*150}
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate +y*210}
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*030}
> cylinder{MyCylynder,S2 translate <0,RB,-(RB-.01)> rotate -y*090}
> sphere {0,RB,-100 scale <1,.65,1> translate -y*(RB*.35)}
> }
>
> Moon47 wrote:
> >
> > Basically how do i declare a blob component such as a cylinder...?
> > It will not seem to accept the strength as a valid cylinder entry...?
> >
> > I want to declare a component and use i.e. MyCylinder to rotate ti
> > around the central components w/ out rewriting the entire component...?
>
> --
> Mr. Art
>
> "Often the appearance of reality is more important
> than the reality of the appearance."
> Bill DeWitt 2000
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Moon47 wrote:
>
> Thank you i will try ( try is the operative ) this my macro skill is none at this
> point.
> But still worth a try...
> It still is not a declaration where i can change all the declared components at
> once. Or can i... Like i said i have no understanding of the macro.. Well almost
> none...
There is now a tutorial available on using and making POV-Ray macros that may
help you understand them better -
http://www.hoboes.com/html/NetLife/POV/Scripting/
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 26 Feb 2000 19:29:53 -0700, Moon47 <rdm### [at] earthlinknet> wrote:
>Basically how do i declare a blob component such as a cylinder...?
>It will not seem to accept the strength as a valid cylinder entry...?
>
>I want to declare a component and use i.e. MyCylinder to rotate ti
>around the central components w/ out rewriting the entire component...?
Here is something using the same technique as mr.art's reply, but more self
explanatory.
It may do what you are looking for.
#macro Cy(PitchRad) <PitchRad,0,0> <PitchRad,1,0> Rad, Strength #end
#local Rad =1;
#local Strength =2;
#local Ang=0;
blob {
#while (Ang<360)
cylinder { Cy(4) rotate y*Ang }
#local Ang=Ang+20;
#end
pigment {Red}
}
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm having the same problem as Moon47.
Do I take it from the various answers given that it is not possible to
declare a whole blob component?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 28 Feb 2000 11:51:17 -0000, "Tom Melly" <tom### [at] tomandluforce9couk> wrote:
>I'm having the same problem as Moon47.
>
>Do I take it from the various answers given that it is not possible to
>declare a whole blob component?
>
What do you mean by "whole blob component"?
Blobs can be as complicated as you can devise them. You only have to see H.E.Day's
images
to see the power of blobs. Run the code I gave in my answer to Moon74 to see just one
blob.
In one blob you can keep on adding spheres and cylinders with positive and negative
strengths to add or subtract from the final shape. These spheres and cylinders can
also
be distorted by uneven scaling. The individual components in a blob can be given
different
textures and this can all add up to a fiendishly complicated object.
On top of this you can use csg to carve out or to add bits.
Alright, I've convinced myself, I must start to use blobs :-)
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you o' linker of links...
Once again saving the day...
The link buster...
The magical...
The wonderful..
The illustrious...
Ect... Ect... Ect...
Ken wrote:
> Moon47 wrote:
> >
> > Thank you i will try ( try is the operative ) this my macro skill is none at this
> > point.
> > But still worth a try...
> > It still is not a declaration where i can change all the declared components at
> > once. Or can i... Like i said i have no understanding of the macro.. Well almost
> > none...
>
> There is now a tutorial available on using and making POV-Ray macros that may
> help you understand them better -
>
> http://www.hoboes.com/html/NetLife/POV/Scripting/
>
> --
> Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think they are hinting at that... =(
"If All Else Fails..."
"...Try Reading The Directions."
Famous quote from my none other than... My Father...
Tom Melly wrote:
> I'm having the same problem as Moon47.
>
> Do I take it from the various answers given that it is not possible to
> declare a whole blob component?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Moon47 wrote:
>
> Thank you o' linker of links...
> Once again saving the day...
> The link buster...
> The magical...
> The wonderful..
> The illustrious...
> Ect... Ect... Ect...
While I appreciate the praise ( who doesn't ? ) part of the credit should
also go to those writing the tutorials. Without their efforts I would have
nothing to link to.
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|