Array on a spline with some randomisation
 1-20  21-40  41-60  61-66

Previous
Next
 From:  BurrMan
5416.21 In reply to 5416.19 
""""""I've got enough stuff lined up that I'm pretty sure I could keep at least 10 busy! """"""""""

Send 1 on permanent vacation. Give 8 to JG. And leave 1 working here with us!
  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.22 In reply to 5416.20 
< Undo doesn't work, a preview button maybe?

Works for me ;)
---
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:  Michael Gibson
5416.23 In reply to 5416.20 
Hi Marc, yup I thought about having a checkbox for a quick enable/disable of each section, and an "Update" button as well but I didn't think I would have enough time to finish those last night so they didn't make the initial cut.

I may be able to do some more work on it tonight to make some more refinements like that.

An x,y,z control for scaling should be feasible too, all good ideas!

- 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:  Michael Gibson
5416.24 
I've updated the Randomize.zip attachment on the previous message with a new version of Randomize:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5416.5

New functions are a checkbox for each section so that you can disable a section by unchecking it without needing to reset all the values to null operations if you've already previously used Randomize in the same modeling session, and also x y z controls on the scaling to allow for either a uniform 3D scale, a 2D scale or a 1D scale only.

Also since there is non-uniform scaling now allowed I've changed the order to be Move, Scale, and then Rotate since doing a non-uniform scale will produce different results if you do it before the rotation as compared to after it:



Here's an example with only z scaling enabled:



- 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:  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
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-40  41-60  61-66