Array on a spline with some randomisation
 1-4  5-24  25-44  45-64  65-66

Previous
Next
 From:  bemfarmer
5416.25 
On the left, Randomize has been run twice, first with z rotation of max 180 degrees, second with x and y rotations of max 55 degrees.
On the right, Randomize has been run once, with x, y, and z rotations of max 55 degrees.
Which side is better?



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5416.26 
Now for the Move we have that (said 5 was enter)
-5 to 5 possible

Does it possible to have something for the Move like this
0 to 10 so a "direction" of the Move :)

Of course I can "move" the first result but ...

EDITED: 21 Sep 2012 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
5416.27 In reply to 5416.25 
For me, the one on the right is better, but this is limited to the top view we see. Maybe a perspective would change that perception.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Samuel Zeller
5416.28 
This so rad ! Thanks for the work Michael !

It's expanding MoI features a lot :)
-- shapenoid.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5416.29 
<< Which side is better?

A real random gives some groups! ;)

And not the right one image! ;)

EDITED: 21 Sep 2012 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
5416.30 
Had to do a quick one using the Randomize script.

The year is 2035 and the world is over populated.............this is Sky City 001.

-
~Danny~
Image Attachments:
Size: 1.1 MB, Downloaded: 90 times, Dimensions: 1920x1080px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5416.31 In reply to 5416.26 
Hi Pilou,

> Does it possible to have something for the Move like this
> 0 to 10 so a "direction" of the Move :)

You could get this by editing the Randomize.js script - find the spot with:
code:
function MoveObject( obj, move_dist, move_x, move_y, move_z )
{
	var dx = !move_x ? 0.0 : RandLerp( -move_dist, move_dist );
	var dy = !move_y ? 0.0 : RandLerp( -move_dist, move_dist );
	var dz = !move_z ? 0.0 : RandLerp( -move_dist, move_dist );


And then replace the -move_dist values with 0, like this:

code:
function MoveObject( obj, move_dist, move_x, move_y, move_z )
{
	var dx = !move_x ? 0.0 : RandLerp( 0, move_dist );
	var dy = !move_y ? 0.0 : RandLerp( 0, move_dist );
	var dz = !move_z ? 0.0 : RandLerp( 0, move_dist );


Then I think it will have the directional behavior that you're asking about.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5416.32 In reply to 5416.31 
Cool, that works like a charm!

Just what is the syntaxe for put
the ancient code as "quote" for remember the next time is i want to change it ?

Unlucky there is not notation in this one file but seeing in other JS I Suppose that is "//" ? ;)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  ed (EDDYF)
5416.33 
For anyone doing these kinds of random, but structured "particles" on a regular basis, take a look at Element 3D.

Element 3D is a plug-in for Adobe After Effects. It's a particle array system using 3D objects.

I've been using it with my MoI models exported as OBJ.

Although it handles arrays, it is used a lot for animating just a single 3D model in a faster, simpler way than using a full blown 3D system like Cinema 4D.

After Effects is of course primarily for motion graphics, but because it has so much overlap with Photoshop it gets used for still images as well.

Ed


http://www.videocopilot.net/tutorial/3d_replicator/sd/

http://www.videocopilot.net/tutorial/screen_animations/

http://www.videocopilot.net/help/element/tutorial/basic/animation_engine/
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5416.34 In reply to 5416.32 
Hi Pilou, you can "comment out" script code by either putting // characters at the start of each line, like

// code here
// code....
// etc....

or also you can do a whole block by putting /* */ around the whole block like:

/*
a bunch of code here
etc...
etc...
*/

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
5416.35 In reply to 5416.30 
"""""""""""The year is 2035 and the world is over populated.............this is Sky City 001.""""""""""

Your not just a table guy with helpers... You have the artist thing. I love your side stuff. :o
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
5416.36 In reply to 5416.34 
thx!
for the /*a bunch of code here etc...*/
That will be in another life :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
5416.37 In reply to 5416.35 
Thanks Burr,

It was just something that popped up in my head when Michael released the script, it didn't take long and imagine what it would take to do that without the Randomize script.

Cheers
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  moritaka
5416.38 
It's a lot of fun.
I was able to easily create.


Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 5416.39 deleted 23 Sep 2012 by MORITAKA

Previous
Next
 From:  TpwUK
5416.40 In reply to 5416.38 
I like this one, Moritaka .... Well done

Martin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Marc (TELLIER)
5416.41 In reply to 5416.40 
Thanks for the update Michael!

Marc
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Volksgasmaske
5416.42 In reply to 5416.41 
What a great script.
Thank you very much for sharing it.

Best regards.

EDITED: 25 Sep 2012 by VOLKSGASMASKE

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
5416.43 
Lerp sounded so strangely familiar, I had to look it up:

(The pear psylla insect is such a pest.)

From Wikipedia:
"Lerp may refer to
Lerp (biology), a structure produced by larvae of psyllid insects as a protective cover.
Lerp (computing), a quasi-acronym for linear interpolation in computing and mathematics."

http://msdn.microsoft.com/en-us/library/windows/desktop/bb509618(v=vs.85).aspx
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  raytownmike (HOPPER)
5416.44 
I can't seem to get this script to work. Any thoughts installation etc..?
Message reads: Can't find variable:Randomize
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-4  5-24  25-44  45-64  65-66