Array on a spline with some randomisation
 1-6  7-26  27-46  47-66

Previous
Next
 From:  Michael Gibson
5416.7 In reply to 5416.6 
Hi Brian, we just posted some new messages at the same time, so just a heads up you might not have seen my new one above, that one should be a good example to check out for this kind of stuff.

> but am unable to delete the original diamond

If you know the object that you want removed you can call moi.geometryDatabase.removeObject( obj ) to take it out of the geometry database so that it won't be part of the regular model on the screen anymore.

- 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.8 In reply to 5416.5 
Need to upload your new script :-)
  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.9 In reply to 5416.5 
Hi DesuDeus, also note that this does not do anything specifically along a spline, but the general idea is make the array along the spline in the regular way, then use this new Randomize command to perturb it.

- 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.10 In reply to 5416.7 
Thank you 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.11 In reply to 5416.8 
Hi Brian, ooops yup that helps if I actually attach it! :) I've put it there on that previous message now, thanks for the heads 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:  Samuel Zeller
5416.12 
Wow guys, this is the best support forum of all time.

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

Frankly you're saving my life because I need to finish that version for later today aha

My manual workflow (before the randomize script) was:

- Generate the particles in Cinema 4D
- Render white diamonds on black background in huge resolution
- Vectorize in Illustrator
- Use the rebuild command in MoI 3D for cleanup
- Manual cleanup
- Planar
- Trim to the size of the shop window
- Export back to Cinema 4D and render with the whole scene


I need to say that the rebuild curve command is just amazing !

Thanks Michael and Bemfarmer for your help :)

By the way I'm working for Moet & Chandon at 90% in MoI 3D, can't post what I do now but I will as soon as I'm allowed to !

Also at work we're about to buy three or four MoI 3D licenses because I showed them how cool it was :D
-- 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:  coi (MARCO)
5416.13 
now that's a pretty sexy script. i love the sequential parameter thingy!

thank you,
marco
  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.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: 23 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
 

Reply to All Reply to All

 

 
Show messages:  1-6  7-26  27-46  47-66