scatter script ? (just an idea)
Moderators: Víctor Paredes, Belgarath, slowtiger
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
scatter script ? (just an idea)
Hello
I just had this idea, a scatter script for AS like Vue has.
Here is how it works in Vue. You put two objects
so they are the corners of a virtual square that will be the area where your objects will be scattered.
then you click "Scatter/Replicate" to tell this window how many copies of your objects you want, and if you want them to get resized or rotated.
and the program scatters objects for you
This way you can quickly get a cool field of flowers or else.
Here is a little test scene I am making with Anime Studio. My idea is to make the camera fly over a field of these flowers, because my character got onto a flying insect.
Quite nice isn't it ?
I just did draw a few flowers and weed, then import them into AS. But I scattered myself and it was borring just to get this small field of flowers... So imagine how borring would be to scatter for a field of flowers.
So, could any scripter here make a scatter script please ? I am sure it would be useful for many over people in many over cases.
________
Dating advice dicussion
I just had this idea, a scatter script for AS like Vue has.
Here is how it works in Vue. You put two objects
so they are the corners of a virtual square that will be the area where your objects will be scattered.
then you click "Scatter/Replicate" to tell this window how many copies of your objects you want, and if you want them to get resized or rotated.
and the program scatters objects for you
This way you can quickly get a cool field of flowers or else.
Here is a little test scene I am making with Anime Studio. My idea is to make the camera fly over a field of these flowers, because my character got onto a flying insect.
Quite nice isn't it ?
I just did draw a few flowers and weed, then import them into AS. But I scattered myself and it was borring just to get this small field of flowers... So imagine how borring would be to scatter for a field of flowers.
So, could any scripter here make a scatter script please ? I am sure it would be useful for many over people in many over cases.
________
Dating advice dicussion
Last edited by DominiqueBray on Fri Feb 25, 2011 12:33 am, edited 1 time in total.
Hmm...
It would actually be harder to create the pop-up window interface for this than to actually write the code to do it.
It is absolutely possible to do. Plus... it might be interesting if the mesh was already animated BEFORE duplication... you could throw in some kind of offset on the frames and have waving fields of flowers... or a crowd of people (simple people with point motion)... etc etc.
If I get bored I might give it a go. No promises. I don't have as much experience creating scripts with vector layers... I'm more of a bone guy. Also menu scripts are twice as hard to create. There is a lot more code to deal with especially with really complex pop-up windows.... yikes! Just looking at that sample makes me dizzy imagining it in code.
-vern
It would actually be harder to create the pop-up window interface for this than to actually write the code to do it.
It is absolutely possible to do. Plus... it might be interesting if the mesh was already animated BEFORE duplication... you could throw in some kind of offset on the frames and have waving fields of flowers... or a crowd of people (simple people with point motion)... etc etc.
If I get bored I might give it a go. No promises. I don't have as much experience creating scripts with vector layers... I'm more of a bone guy. Also menu scripts are twice as hard to create. There is a lot more code to deal with especially with really complex pop-up windows.... yikes! Just looking at that sample makes me dizzy imagining it in code.
-vern
Why don't use particles?
If you set a the proper settings you can achieve a filed of whatever you want inside.
http://www.darthfurby.com/genete/Other/flowerfield.avi
http://www.darthfurby.com/genete/Other/flowerfield.anme
Also you can make your field quite different if you want some variation just pressing the Randomize button when select the Particle button tool.
My two cents.
-G
If you set a the proper settings you can achieve a filed of whatever you want inside.
http://www.darthfurby.com/genete/Other/flowerfield.avi
http://www.darthfurby.com/genete/Other/flowerfield.anme
Also you can make your field quite different if you want some variation just pressing the Randomize button when select the Particle button tool.
My two cents.
-G
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
I never understood how to make particles that do not move. Thanks you very much for the example, maybe I will understand thanks to it. I will try it right now.
Thanks anyway heyvern.
________
Free Gift Card
Thanks anyway heyvern.
________
Free Gift Card
Last edited by DominiqueBray on Fri Feb 25, 2011 12:33 am, edited 1 time in total.
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
It works well !
I just have a problem with the depth sorting, some far flowers are in front of closer flowers. Can you help me ?
I tried putting them in a group and checking "sort layers by depth" and "sort by true distance" but the problem stills.
________
Roor Bongs
I just have a problem with the depth sorting, some far flowers are in front of closer flowers. Can you help me ?
I tried putting them in a group and checking "sort layers by depth" and "sort by true distance" but the problem stills.
________
Roor Bongs
Last edited by DominiqueBray on Fri Feb 25, 2011 12:34 am, edited 1 time in total.
I think the particles should be placed properly at its spatial position depending on particle layer properties. As well as the flowers in the particle layer are a bunch of copies of the few under it, they cannot be sorted by depth because the layers copy are not real existing layers (I think), but they are copies of the existing layers placed at the random 3D position given by the particle parameters. So You don't have a depth sort check box in the particle layer. I remember a post from Ramón López that claims for this "bug".DominiqueBray wrote:It works well !
I just have a problem with the depth sorting, some far flowers are in front of closer flowers. Can you help me ?
I tried putting them in a group and checking "sort layers by depth" and "sort by true distance" but the problem stills.
I know you have had a battle about depth sort and that you're so sensible with that issue but in this case I don't have the solution.
Is really so important for you that perfect 3D look? I didn't notice it in my animation sample and only looking for some weird flowers I have seen the problem.
-G
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
My particles are not 3d objects, they are just three .png files with a drawing like this one :
I did put them in the particle layer, one by one :
I did set my particle layer exactly like yours.
With yours, it works :
With mine, there is a problem :
I really do not understand... I checked all the settings though.
If I do not find, I will just keep on working with your file.
________
MERCEDES-BENZ 500E
I did put them in the particle layer, one by one :
I did set my particle layer exactly like yours.
With yours, it works :
With mine, there is a problem :
I really do not understand... I checked all the settings though.
Yes, I even created a topic. But this time I did not use 3d object, and did not made any rotation, so everything should go well.I know you have had a battle about depth sort
I need to put these flowers in a 3d field because, as I said, my idea is to make the camera fly over a field of flowers because my character got onto a flying insect.Is really so important for you that perfect 3D look?
If I do not find, I will just keep on working with your file.
________
MERCEDES-BENZ 500E
Last edited by DominiqueBray on Fri Feb 25, 2011 12:34 am, edited 1 time in total.
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
Last edited by DominiqueBray on Fri Feb 25, 2011 12:34 am, edited 1 time in total.
The only difference I can see is the position of the particle layer, the ground layer and the values of zoom and position of the camera.
I have set those values for your file and I see it quite good (without artefacts):
Particle layer: (0,0,0) (z changed)
Ground layer: (0, -0.08, 0) (z changed)
Camera position: (-0.0979, y = 0.1223, z= 4.75) (z changed)
Camera zoom: z = 33.28 (small change to fit background)
Please try it and let me know.
Best
-G
I have set those values for your file and I see it quite good (without artefacts):
Particle layer: (0,0,0) (z changed)
Ground layer: (0, -0.08, 0) (z changed)
Camera position: (-0.0979, y = 0.1223, z= 4.75) (z changed)
Camera zoom: z = 33.28 (small change to fit background)
Please try it and let me know.
Best
-G
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
Are you sure of these values ? Here is my sceen, the flowers are far away
When I zoom I see there still the problem...
________
MY WEBCAMS HOOKUP
When I zoom I see there still the problem...
________
MY WEBCAMS HOOKUP
Last edited by DominiqueBray on Fri Feb 25, 2011 12:34 am, edited 1 time in total.
- DominiqueBray
- Posts: 100
- Joined: Sun Sep 17, 2006 2:32 pm
- Location: France
Ok, I just set the camera 's z to 2 to get closer to the flowers instead of zooming. Same thing.
________
MARIJUANA VAPORIZERS
________
MARIJUANA VAPORIZERS
Last edited by DominiqueBray on Fri Feb 25, 2011 12:34 am, edited 1 time in total.