POV-Ray : Newsgroups : povray.binaries.images : First Post to P.B.I Server Time
4 Oct 2024 13:10:51 EDT (-0400)
  First Post to P.B.I (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Spider
Subject: Re: First Post to P.B.I
Date: 6 Apr 1999 16:36:53
Message: <370A6168.CB7DAC91@bahnhof.se>
Macros are easy to use, they are basically a set of operations bundled together.
To add the use, you can call this set with different in-data.

But before using a macro, It would be best to learn how to code.

A good thing for this would be a #while() loop, stepping with the amount of
bricks in the wall, multiplying with the offset.

This will create one line. to create more, just add another loop, but in height.

(untested)this should be something like what you want.

#declare nX = 10;
#declare nY = 5;
#declare brick = box { <0,0,0>,<1,0.5,1> pigment{ mortarRed }
#declare offset = 0.5;

#declare Y = nY;
#while(Y>0)
  #declare X = nX;
  #while(X>0)
    object { brick translate <X*offset,0,Y*offset> }
    #declare X = X -1;
  #end
  #declare Y = Y - 1;
#end

Margus Ramst wrote:
> 
> Thomas Lake wrote in message <37094515.5FC05DCC@home.com>...
> >
> >>Ken Tyler
> >>Everyone knows that indenting mortar would be a mad and lunatic
> >>endeavour beneath even the lowest and unworthy Pov-ray user out
> >>there.
> >
> >What do you mean? Joke?
> >
> 
> Long story...
> 
> Margus

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: Thomas Lake
Subject: Re: First Post to P.B.I
Date: 6 Apr 1999 21:23:04
Message: <370AA68E.3131514D@home.com>
Ahh I see. I don't know how to program but I do know JavaScript and this is very
similar to the do while loops in JavaScript. Thanks for clarifying.

Spider wrote:

> Macros are easy to use, they are basically a set of operations bundled together.
> To add the use, you can call this set with different in-data.
>
> But before using a macro, It would be best to learn how to code.
>
> A good thing for this would be a #while() loop, stepping with the amount of
> bricks in the wall, multiplying with the offset.
>
> This will create one line. to create more, just add another loop, but in height.
>
> (untested)this should be something like what you want.
>
> #declare nX = 10;
> #declare nY = 5;
> #declare brick = box { <0,0,0>,<1,0.5,1> pigment{ mortarRed }
> #declare offset = 0.5;
>
> #declare Y = nY;
> #while(Y>0)
>   #declare X = nX;
>   #while(X>0)
>     object { brick translate <X*offset,0,Y*offset> }
>     #declare X = X -1;
>   #end
>   #declare Y = Y - 1;
> #end
>
> Margus Ramst wrote:
> >
> > Thomas Lake wrote in message <37094515.5FC05DCC@home.com>...
> > >
> > >>Ken Tyler
> > >>Everyone knows that indenting mortar would be a mad and lunatic
> > >>endeavour beneath even the lowest and unworthy Pov-ray user out
> > >>there.
> > >
> > >What do you mean? Joke?
> > >
> >
> > Long story...
> >
> > Margus
>
> --
> //Spider
>         [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
> What I can do and what I could do, I just don't know anymore
>                 "Marian"
>         By: "Sisters Of Mercy"


Post a reply to this message

From: Spider
Subject: Re: First Post to P.B.I
Date: 6 Apr 1999 23:16:36
Message: <370ABF05.14EA1639@bahnhof.se>
Whatever people(I) say about javascript, it is a form of programming, and any
form of programming is useful, since the basic thinking can be applied to most
other programming languages.

I know this by practice, since once I learned Pascal, I found it very easy to
switch to Java or C, as well as it was even easier to understand the simpler
script languages(mIRC scrips....)


Thomas Lake wrote:
> 
> Ahh I see. I don't know how to program but I do know JavaScript and this is very
> similar to the do while loops in JavaScript. Thanks for clarifying.
> 
> Spider wrote:
> 
> > Macros are easy to use, they are basically a set of operations bundled together.
> > To add the use, you can call this set with different in-data.
> >
> > But before using a macro, It would be best to learn how to code.
> >
> > A good thing for this would be a #while() loop, stepping with the amount of
> > bricks in the wall, multiplying with the offset.
> >
> > This will create one line. to create more, just add another loop, but in height.
> >
> > (untested)this should be something like what you want.
> >
> > #declare nX = 10;
> > #declare nY = 5;
> > #declare brick = box { <0,0,0>,<1,0.5,1> pigment{ mortarRed }
> > #declare offset = 0.5;
> >
> > #declare Y = nY;
> > #while(Y>0)
> >   #declare X = nX;
> >   #while(X>0)
> >     object { brick translate <X*offset,0,Y*offset> }
> >     #declare X = X -1;
> >   #end
> >   #declare Y = Y - 1;
> > #end
> >
> > Margus Ramst wrote:
> > >
> > > Thomas Lake wrote in message <37094515.5FC05DCC@home.com>...
> > > >
> > > >>Ken Tyler
> > > >>Everyone knows that indenting mortar would be a mad and lunatic
> > > >>endeavour beneath even the lowest and unworthy Pov-ray user out
> > > >>there.
> > > >
> > > >What do you mean? Joke?
> > > >
> > >
> > > Long story...
> > >
> > > Margus
> >
> > --
> > //Spider
> >         [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
> > What I can do and what I could do, I just don't know anymore
> >                 "Marian"
> >         By: "Sisters Of Mercy"

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: Steve
Subject: Re: First Post to P.B.I
Date: 7 Apr 1999 15:17:51
Message: <370B8138.3D9E1A7@ndirect.co.uk>
Agreed once you learn one, and understand the
principles, all the others just fall into place
infront of your eyes.

I'm going to teach myself Pearl next week.

Steve

Spider wrote:
> 
> Whatever people(I) say about javascript, it is a form of programming, and any
> form of programming is useful, since the basic thinking can be applied to most
> other programming languages.
> 
> I know this by practice, since once I learned Pascal, I found it very easy to
> switch to Java or C, as well as it was even easier to understand the simpler
> script languages(mIRC scrips....)
> 
> Thomas Lake wrote:
> >
> > Ahh I see. I don't know how to program but I do know JavaScript and this is very
> > similar to the do while loops in JavaScript. Thanks for clarifying.
> >
> > Spider wrote:
> >
> > > Macros are easy to use, they are basically a set of operations bundled together.
> > > To add the use, you can call this set with different in-data.
> > >
> > > But before using a macro, It would be best to learn how to code.
> > >
> > > A good thing for this would be a #while() loop, stepping with the amount of
> > > bricks in the wall, multiplying with the offset.
> > >
> > > This will create one line. to create more, just add another loop, but in height.
> > >
> > > (untested)this should be something like what you want.
> > >
> > > #declare nX = 10;
> > > #declare nY = 5;
> > > #declare brick = box { <0,0,0>,<1,0.5,1> pigment{ mortarRed }
> > > #declare offset = 0.5;
> > >
> > > #declare Y = nY;
> > > #while(Y>0)
> > >   #declare X = nX;
> > >   #while(X>0)
> > >     object { brick translate <X*offset,0,Y*offset> }
> > >     #declare X = X -1;
> > >   #end
> > >   #declare Y = Y - 1;
> > > #end
> > >
> > > Margus Ramst wrote:
> > > >
> > > > Thomas Lake wrote in message <37094515.5FC05DCC@home.com>...
> > > > >
> > > > >>Ken Tyler
> > > > >>Everyone knows that indenting mortar would be a mad and lunatic
> > > > >>endeavour beneath even the lowest and unworthy Pov-ray user out
> > > > >>there.
> > > > >
> > > > >What do you mean? Joke?
> > > > >
> > > >
> > > > Long story...
> > > >
> > > > Margus
> > >
> > > --
> > > //Spider
> > >         [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
> > > What I can do and what I could do, I just don't know anymore
> > >                 "Marian"
> > >         By: "Sisters Of Mercy"
> 
> --
> //Spider
>         [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
> What I can do and what I could do, I just don't know anymore
>                 "Marian"
>         By: "Sisters Of Mercy"


Post a reply to this message

From: Steve
Subject: Re: First Post to P.B.I
Date: 7 Apr 1999 15:17:52
Message: <370B81CC.36F0ED41@ndirect.co.uk>
Nice atmospheric scene.  

I'd suggest that the boltx/rivets that hold the
sign onto the door should be less pertruding.

As others have suggested the water needs to be
dirty and flatter and show some evidence of being
distrubed by the falling rain.

Steve

Thomas Lake wrote:
> 
> Hi everyone
> 
> I just signed on to this newsgroup and was looking at all the nice pics.
> So I thought why not post one of my own. So here is one of the images
> I've done. You can find others on my home page if you like.
> 
> http://www.geocities.com/+AH4-thomaslake/
> 
>   --------------------------------------------------
>  [Image]


Post a reply to this message

From: Thomas Lake
Subject: Re: First Post to P.B.I
Date: 7 Apr 1999 22:43:26
Message: <370C0ADF.8DF2E337@home.com>
Steve wrote:

> Nice atmospheric scene.
>
> I'd suggest that the boltx/rivets that hold the
> sign onto the door should be less pertruding.
>
> As others have suggested the water needs to be
> dirty and flatter and show some evidence of being
> distrubed by the falling rain.

Actually I tried to add some disturbance to the water in the form of a wripple
bump normal. However when I scaled it down it didn't look like raindrops
hitting the puddle but more like messy noise. So I left the normal scaled up,
that's why it looks like the wriples in the puddle come from someone steeping
in it and not from rain drops.

>
>
> Steve
>
> Thomas Lake wrote:
> >
> > Hi everyone
> >
> > I just signed on to this newsgroup and was looking at all the nice pics.
> > So I thought why not post one of my own. So here is one of the images
> > I've done. You can find others on my home page if you like.
> >
> > http://www.geocities.com/+AH4-thomaslake/
> >
> >   --------------------------------------------------
> >  [Image]


Post a reply to this message

From: Ken
Subject: Re: First Post to P.B.I
Date: 7 Apr 1999 22:57:11
Message: <370C0BC2.3BD88893@pacbell.net>
> Actually I tried to add some disturbance to the water in the form of a wripple
> bump normal. However when I scaled it down it didn't look like raindrops
> hitting the puddle but more like messy noise. So I left the normal scaled up,
> that's why it looks like the wriples in the puddle come from someone steeping
> in it and not from rain drops.
> 
> >
> >
> > Steve

Try controlling the pattern with combinations of number of waves in the
global settings statement and using the frequency modifier in the normal
statement.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.