Open honeybunches-of-oates opened 8 years ago
We might issue a warning or change the input scale if the object seems to be too large to fit in the room.
Just finished the Option 3 and committed the changes. TODO: README.md also needs to be changed to tell how to use this feature. Other two options. Warning about too large scale size.
So let's implement option 1 and update the readme update now, and leave the other option 2 and the warning for later.
OK, option 1 and updating the readme has been finished.
Closing, @chengxuz let me know if this issue should be reopened.
I am re-opening this issue, as there is one small bug here:
When the permitted list is empty, the current function can not scale the objects. (Thanks for @pbashivan for pointing it out!)
Bug fixed. Issue closed. Feel free to reopen it if needed.
Several other things to do:
The thing we decide to do now is providing three options to change the size of one object:
Option 1. Relative to a fixed unit length, universal across all scenes.
Option 2. Relative to the size of the room (specified as a fraction of the room)
Option 3. Relative to the object itself (just multiple of the native size).
In all the cases, we would change the longest axis of the object.