Array on a spline with some randomisation
 1-13  14-33  34-53  54-66

Previous
Next
 From:  DannyT (DANTAS)
5416.14 In reply to 5416.5 
I'm liking these 'random' scripts you cook up Michael, thanks! now just to manage them all with that script manager/popup thingy that we're all waiting for ;)

They've already cloned a sheep, so all we need to do is get you over to the cloning clinc and get you cloned, how many of you would you need to help out with all the requests?

Or will Mrs G stop us, being married myself my wife would say, One Danny is enough! ;)

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:  Mauro (M-DYNAMICS)
5416.15 In reply to 5416.12 
Shapenoid

<< I post my problem and Michael make a script for when I wake up... Amazing>>

...i hope you'll send a bottle to Michael for Christmas...

great work !

M
  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.16 
Here is a Top View of an array of flat "diamonds," on which Michaels new script Randomize has been applied,
with a maximum angle of 55 degrees. This way edge on views are avoided.

I was going to claim that z axis rotations up to 180 be allowed, with y and x about 55 degrees, but upon reconsideration, am probably mistaken.
One think about randomized, is that the results are non-reproducible.


EDITED: 18 Mar 2017 by BEMFARMER

Image Attachments:
Size: 49.5 KB, Downloaded: 22 times, Dimensions: 170x167px
  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.17 
Very funny!
Will work fine also with Scale Array ;)

EDITED: 26 Apr 2020 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:  Michael Gibson
5416.18 In reply to 5416.12 
Hi DesuDeus, you're welcome and I'm glad that will be useful for you!

And congrats on the job with Moët & Chandon too, that sounds like some pretty cool work you've got lined up!

- 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.19 In reply to 5416.14 
Hi Danny,

> how many of you would you need to help out with all the requests?

I've got enough stuff lined up that I'm pretty sure I could keep at least 10 busy! :)

- 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:  Marc (TELLIER)
5416.20 In reply to 5416.19 
This really made my day, I was searching for a quick way to make an abstract floor pattern...

Some small details:

Quick switch to enable/disable rotate, scale or move without clearing all fields

Undo doesn't work, a preview button maybe?

It could be nice to have xyz constraints on the scale factor like rotate and move, say you want to generate a landscape of buildings and have different heights.


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

Reply to All Reply to All

 

 
Show messages:  1-13  14-33  34-53  54-66