MoI scatter tool
 1-3  4-23  24-31

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6486.4 In reply to 6486.1 
In this post I'll tell about saveInstances script.
As I said above, with this script you can prepare data for Octane render. This data can be imported in Octane Render and loaded to the 'Scatter' node.

Here is an example of using this script.
I created a group of vectors (upper left corner) and replicated it along the curve using Array-curve tool. (total: 8900 vectors)


Let's select one group and see how the script works.

UI:
Filename.
If no 3dm-file has been loaded or saved yet, its value is instances.csv, and it will be saved in the current folder. If file is open, the script gets name from the 3dm-file. In this case, the file will be saved to that location.
Target units.
Here you can set a unit system for exporting. Octane render uses meters as a unit system. So default value is "m", but you can choose any value you want.

Other settings adds some randomness to regular distribution:
If all values is set to 0, the script exports exact positions for all objects


FB (Front/Back) - random X-shift
LR (Left/Right) - random Y-shift


UD (Up/Down) - random Z(elevation)-shift


Roll - random rotation around X-axis
Pitch - random rotation around Y-axis


Yaw - random rotation around Z-axis


Scale

EDITED: 7 Mar 2022 by SMIRNOV

  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)
6486.5 
A very cool new one's)!

About v_tools!

Only _vClone works for me!

All other appear one second and disapears as soon as on the Dock Menu !!!
idem for _saveinstances ! :(

EDITED: 1 Feb 2014 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
6486.6 In reply to 6486.5 
Frenchy,
Be sure you make an array of little lines above your surface. Be sure to select "both" the lines, and the surface, then run the script. Seed needs curves too.
  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
6486.7 In reply to 6486.1 
Really cool set of tools, Max - thanks very much for posting them!

- 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)
6486.8 In reply to 6486.6 
@Max

Do you say that I must select something before run the plugins?

Edit ok that was that! :) Excellent!

So you must put an alert message "Select something before run this plugin"! ;)

About the spray: Why lines are not perpendicular to the surfaces ?
If i take a cube only top & bottom surface have the lines on the good direction :)
And if I select a lateral face and the vertical lines result vOrient don't work!

EDITED: 2 Feb 2014 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:  coi (MARCO)
6486.9 
Hi Max!

This is just wonderful!

Thanks a bundle,
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:  Max Smirnov (SMIRNOV)
6486.10 
Brian
>>Is a value for the surface normal obtainable?
No.
>>Is the slope and curvature of a line obtainable?
No.
I used arraygem and arraycurve tools.
It would be great if Michael will make a getNormal method.

Frenchy Pilou
>>Do you say that I must select something before run the plugins?
Look at the first script description
Usage: Select vectors and surfaces. Run script. ;)

>>So you must put an alert message "Select something before run this plugin"!
:)) No. I don't want to add a pop-up alerts, or any other waste code to these scripts.

>>About the spray: Why lines are not perpendicular to the surfaces ?
If i take a cube only top & bottom surface have the lines on the good direction :)
They must not be perpendicular. Vectors always points up or down, depending of camera position.
I can implement orientation code, but I won't do it, because it significantly downgrades performance of the script.

>>And if I select a lateral face and the vertical lines result vOrient don't work!
vOrient don't work with faces. You can use surfaces or solids.

  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)
6486.11 In reply to 6486.10 
Drop don't work in Horizontal ?




<< Vectors always points up or down, depending of camera position.
if I modify the camera position on the 3D view by rotate the view it's always not working!

OK I must select lines + surface then make 90° Rotation then Drop then make rotation - 90°
but...

EDITED: 3 Feb 2014 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)
6486.12 In reply to 6486.10 
Excellent stuff there Max! Thanks for sharing.

What I, and I think others would really like to know is the set up of your 'Ext script' icon, maybe a seperate thread.

Thanks in advance!
~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:  Andrei Samardac
6486.13 
Looks like hair system for MOI)!

-----------------------------------------
Portfolio: www.samardac.tumblr.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:  bemfarmer
6486.14 In reply to 6486.12 
Just learned this:
In the video, selecting the "gear" icon permits setting the video to 1440 HD.

Zoom Windows7 with Ctrl+ to 400%.
Enlarge video window.
Scroll to see the modifications to the MoI screen.
  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)
6486.15 
Seems we can drop others things than vectors with more or less results :)

---
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:  Frenchy Pilou (PILOU)
6486.16 
You speek about Scale for Clone : does it possible to have a random factor ?

First 5 scripts (translation of menus is not yet made : I wait the final release ;)

French version ;)

http://moiscript.weebly.com/dispersions.html

EDITED: 5 Feb 2014 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:  Max Smirnov (SMIRNOV)
6486.17 
Frenchy Pilou
>>OK I must select lines + surface then make 90° Rotation then Drop then make rotation - 90°
Just updated vSeed to version 1.2.
Now you can spray points, and then use vSeed.

>>Seems we can drop others things than vectors with more or less results :)
:)))
I didn't know about that!

>>You speek about Scale for Clone : does it possible to have a random factor ?
I can make it right now, but I have some problems with history update of scaled objects

>>French version ;)
Great! Thank you!
  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)
6486.18 In reply to 6486.17 
<<OK I must select lines + surface then make 90° Rotation then Drop then make rotation - 90°
<<Just updated vSeed to version 1.2.
<<Now you can spray points, and then use vSeed.

Sorry
Even with the new seed and with a spray i obtain that!
And same if i select Top , Side, or Same face for give orientation i obtain always vertical lines!


Edit : Curious that works if I offset the face of Cube!



So it is not a "drop" , I must no clone the result ;)

EDITED: 5 Feb 2014 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:  Max Smirnov (SMIRNOV)
6486.19 In reply to 6486.18 
  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)
6486.20 In reply to 6486.19 
Aaaah thanks! :)
But at least face after face for the vseed!
  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:  Mindset (IGNITER)
6486.21 In reply to 6486.1 
Max - You have given us some really outstanding scripts...

However,
I find only the _vSeed script.... where are the others, particularly vDrop?

Thank you VERY much!!!
  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:  Max Smirnov (SMIRNOV)
6486.22 In reply to 6486.21 
You need to download and extract vTools.zip
  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:  Mik (MIKULAS)
6486.23 In reply to 6486.20 
Hi Max,

I have a question regarding placing vectors (manualy) in exact position in model for genereting CSV file for Octane (Standalone edition v. 4.04) in order to be able to achieve specific alignment of two geometries in the scene like this:




I have one geometry (Groove - orange) and I need to place second - more complex - geometry (Entity - cyan) in specific position in first geometry, i.e. I can export obj. file of geometry one (Groove), then geometry two - only one Entity. In Octane I am able to use The Scatter node and via CSV file placing instances.

Question 1) Where should I place and then copy the vector which would represents all of Entities in required position in geometry one (Groove)?

Let say that geometry two (Entity) is quite complex (the enclosed model is simplified), therefore it si more than useful to use The Scatter node :-)

Question 2) Which version of CSV structure is used in SaveInstances script? According to file data I suppose the version 1 (https://docs.otoy.com/StandaloneH_STA/StandaloneManual.htm#StandaloneSTA/Scatter.htm)

Thank you very much.
Mik

  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-3  4-23  24-31