POV-Ray : Newsgroups : moray.win : scatter plug in Server Time
8 Jul 2024 07:34:48 EDT (-0400)
  scatter plug in (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: darrell miller
Subject: scatter plug in
Date: 10 Jun 2001 22:26:43
Message: <3b242c63$1@news.povray.org>
sure would be nice to have a scatter plug in.. ya know.. like being able to
select and object and a container.. and tell it to duplicate it in a random
scattered pattern.. like scattering leaves on a surface.. or birds in the
air..

-darrell


Post a reply to this message

From: Warp
Subject: Re: scatter plug in
Date: 11 Jun 2001 06:10:40
Message: <3b249920@news.povray.org>
I'm repeating myself, but I still wonder why is it so difficult to just
make a small scripting plug-in.
  People keep asking for plug-ins for this and that and other people are
making them. The plugin works exactly for that one thing it is made for
and nothing else, and if you want to make a slightly different thing which
the plug-in doesn't support, you are out of luck.
  If this continues, then over time we will have plug-ins and more plug-ins,
hundreds of them, thousands of them... Every one of them takes a considerable
amount of disk space and they only do what they are designed to do and
nothing else. You are still out of lack if you want a new feature.
  A simple scripting plug-in would be the perfect solution to this. Instead
of having hundreds or thousands of (Megabytes?) plug-ins, you just have
the most essential ones (those which require too complicated or too heavy
operations for a scripting language to do) and the rest can be done with
the scripting plug-in.
  People could just made scripts and use them and send them to others. If
someone needs a similar functionality, but a bit different, he can just
modify the script directly and get the desired functionality with minimal
work.
  This would be a lot more efficient and will save time and disk space to
everyone.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: scatter plug in
Date: 11 Jun 2001 13:52:22
Message: <r71aitgj7235pk192b6jhbqj950j1pi12o@4ax.com>
Hi Warp, you recently wrote in moray.win:

>   I'm repeating myself, but I still wonder why is it so difficult to just
> make a small scripting plug-in.
Actually, there is a scripting plugin which uses the Lua language. I
guess maybe nobody wants to learn Lua? I have no idea myself.
Unfortunately I do not have the expertise to implement a scripting
language. People have told me it's reasonably easy to use the Windows
Scripting Host framework, but I just haven't found the time to find
out what it's all about.

But I totally agree, a scripting plugin is extremely useful.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: INVALID ADDRESS
Subject: Re: scatter plug in
Date: 12 Jun 2001 00:23:53
Message: <3b259959@news.povray.org>
I wrote a few plug-ins with the Lua scripting language (thanks to Andre), it
takes 2 minutes to learn it !

Philippe


r71aitgj7235pk192b6jhbqj950j1pi12o@4ax.com...
> Hi Warp, you recently wrote in moray.win:
>
> >   I'm repeating myself, but I still wonder why is it so difficult to
just
> > make a small scripting plug-in.
> Actually, there is a scripting plugin which uses the Lua language. I
> guess maybe nobody wants to learn Lua? I have no idea myself.
> Unfortunately I do not have the expertise to implement a scripting
> language. People have told me it's reasonably easy to use the Windows
> Scripting Host framework, but I just haven't found the time to find
> out what it's all about.
>
> But I totally agree, a scripting plugin is extremely useful.
>
> - Lutz
>   email : lut### [at] stmuccom
>   Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Warp
Subject: Re: scatter plug in
Date: 12 Jun 2001 05:38:12
Message: <3b25e303@news.povray.org>
If this is so, then it may be a good idea to try to make this scripting
plugin popular. This can be made by people who know how to use it by
sending here useful scripts and by answering to plug-in requests by sending
a script that does what is asked. If people see that the scripting plug-in
can be very useful, perhaps at least part of all the users will be willing
to learn it. This way there will be one problem less in the Moray community
and the world will be a little happier place :)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: sshelby
Subject: Re: scatter plug in
Date: 12 Jun 2001 09:04:16
Message: <3b261350@news.povray.org>
I couldn't agree more! Another thought I had would be if someone could come
up with a tutorial on using the scripting language, with instruction on how
to alter existing scripts to meet your own specific needs.
Steve Shelby
Warp <war### [at] tagpovrayorg> wrote in message news:3b25e303@news.povray.org...
>   If this is so, then it may be a good idea to try to make this scripting
> plugin popular. This can be made by people who know how to use it by
> sending here useful scripts and by answering to plug-in requests by
sending
> a script that does what is asked. If people see that the scripting plug-in
> can be very useful, perhaps at least part of all the users will be willing
> to learn it. This way there will be one problem less in the Moray
community
> and the world will be a little happier place :)
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Arne Kleinophorst
Subject: Re: scatter plug in
Date: 12 Jun 2001 11:43:47
Message: <3B263934.6D9BE0EB@debitel.net>
Warp schrieb:
> 
>   If this is so, then it may be a good idea to try to make this scripting
> plugin popular. This can be made by people who know how to use it by
> sending here useful scripts and by answering to plug-in requests by sending
> a script that does what is asked. If people see that the scripting plug-in
> can be very useful, perhaps at least part of all the users will be willing
> to learn it. This way there will be one problem less in the Moray community
> and the world will be a little happier place :)

I'm (the other :) ) one, who used this plugin to write some scripts as
well. & i already had quite some people, who asked for help concerning
the sripting language. In some cases i was able to help, in other cases

detailed with an answer. I think, this plugin is very underestimated &
i'd be happy to help changing this.

Greetings   Arne Kleinophorst


Post a reply to this message

From: Arne Kleinophorst
Subject: Re: scatter plug in
Date: 12 Jun 2001 12:09:06
Message: <3B263F2B.28B72579@debitel.net>
And by the way, there was a plugin like the thing this thread is looking
for, i think.

It was called dublicate, but the HP seems to be broken. following the
(translated from german) readme:


Dublicate2 is a Moray v3.2 Plugin, it offers a second duplicate dialog. 
The duplication of the objects happens randomized. This means, you set
the area of the spreading, the size of the new objects and the rotation
of the new objects. Then the objects are created randomly with a random
seed value, you can set.

furthermore you can use an object as a container for the newly created
objects, as of v0.2 of the plugin possible containers were:

	Cube
	cylinder
	Torus
	Sphere
	Disc
	Highfield (only TRUE-COLOR TGA )

when using a heightfield, the objects were set on the z-value of the
heightfield (great for putting trees on a landscape)


That's what you've been looking for?

Greets Arne


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: scatter plug in
Date: 12 Jun 2001 16:18:43
Message: <l7ucit8u54k9qsmqv3q0eirpl4419e83ki@4ax.com>
Hi Arne Kleinophorst, you recently wrote in moray.win:

> i already had quite some people, who asked for help concerning
> the sripting language. In some cases i was able to help, in other cases

> detailed with an answer. 
It's a pity these conversations didn't occur here. I wasn't aware of
anyone that was using it....

> I think, this plugin is very underestimated & i'd be happy 
> to help changing this.
How about a short tutorial? :-)

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Arne Kleinophorst
Subject: Re: scatter plug in
Date: 13 Jun 2001 09:56:58
Message: <3B2771B5.A5202A6A@debitel.net>
Arne Kleinophorst schrieb:

<snip>

> 
> That's what you've been looking for?
> 
> Greets Arne

If that's what you've been looking for, you can find the plugin v0.4 at:


http://homepages.compuserve.de/sh033/duplicate2_04.zip


So long,  Arne


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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