Forest Pack > Forest Pro (*)

Scripts for Forest Pack

<< < (4/18) > >>

Paul Roberts:
Hi!

If you just need a simple line you can use the following -

for i in selection do i.seed = random 1 999999

It will apply a different random seed to each selected Forest Pack object.

I hope that helps.

Cheers!

Paul

raistlin:
Soooo, here my solution!
as you have help me a lot in many times, here is my little contribution...

rollout FFRandomSeed "FF-Random Seed" width:200 height:128
(
   button btn1 "Random Seed" pos:[24,72] width:152 height:32
   label titre "  - Forest Pack - Random Seed -" pos:[16,8] width:168 height:32
   groupBox grp1 "Select at least one FF-Object" pos:[8,40] width:184 height:80
   on btn1 pressed  do
      for i in selection do( i.seed = random 1 999999)
)
createdialog FFRandomSeed

Have a nice day!

Haider of Sweden:
Script wish:

Assign current camera to selected forest(s)

iToo:

--- Quote from: Haider of Sweden on October 15, 2016, 01:14:18 AM ---Script wish:

Assign current camera to selected forest(s)

--- End quote ---

If that helps, the "Copy" button in Camera rollout, copies current camera and properties to all FP objects.

Haider of Sweden:

--- Quote from: Paul Roberts on May 04, 2016, 10:50:54 AM ---InstancesToForest


I hope it's useful for some people.

Many thanks!

Paul.

--- End quote ---

In your video, you're in the Geometry Rollout and press the None-button, and pick a mesh. Even though, the mesh is not visible in the FP object and under Tree Editor it says 0 Items.
In my case, when I press None and then pick a mesh, I immediately see a point cloud of that mesh.
- What am I doing different from you?

Later, you explain "change to Tree Editor mode"
- What does it mean? In the video, you simply enter the rollout, but you're not pressing any button or changing modes.

In my case, I wanted to turn one single object to an FP object. InstanceToForest didn't work for me. The only thing it did was to reset scale and rotation of the picked object. Under Tree Editor, there were 0 Items.
However, when I had multiple instances, it worked, except it skipped the "original mesh" which appears to be the first mesh created, not the one I pick as source.
In your video, you picked one item, and when you pressed Instances to Forest, it turned them all, including the object you picked, to point clouds.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version