Itoo Software Forum

Author Topic: Local Axis and Xred in Xref  (Read 3677 times)

Paku

  • Newbie
  • *
  • Posts: 6
Local Axis and Xred in Xref
« on: May 19, 2017, 01:48:00 AM »
Hey All,

When the original Geometry of a ForestPack object is being rotated, all of its Forest Pack instances rotates as well, even though the local axis has remained unchanged.(Screenshot)
I would have thought the Geometry's rotation in the scene doesn't affect the scattered instances as long as the local axis of that object remains untouched.

It usually wouldn't be an issue, But we are trying to put together a city scale scene with many detailed Precincts.
Here's the file structure:
-  MasterCity.max
   - Xref "neighborhoodA.max" modeled straight, BIND and rotated in MasterCity.max
      - Xref "NeighAPrecinctA.max" with Forest Pack scattering cars inside.

Forestpack probably can't counter rotate the geometry's rotation from 2 Xrefs deep. Could this behavior be prevented if ForestPack was reading the geometry's local axis instead of it's rotation in the scene?

Is this fundamentally incompatible with Forestpack's way of working?

I'm using 3Dsmax Design 2014 and Forest Pack 5.3.2

Thanks
« Last Edit: May 19, 2017, 01:51:06 AM by Paku »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Local Axis and Xred in Xref
« Reply #1 on: May 19, 2017, 09:51:31 AM »
Hi,

Would you mind to send us a simplified scenes? Upon my quick test I can't reproduce similar troubles on similar setup (two times XReffed Scene with Forest object). Thanks in advance.

Best regards,

Paku

  • Newbie
  • *
  • Posts: 6
Re: Local Axis and Xred in Xref
« Reply #2 on: June 10, 2017, 01:24:45 PM »
Hi, Sorry for the late reply.

I'm still seeing the problem in the scenes you uploaded.
It's a bit hard to notice because the object scattered is squared, but the Forest Pack objects are definitely rotating on themselves when I rotate the dummy in 170519_masterScene_L1.

I have uploaded a screenshot.

I have also uploaded a gif of the effect or world rotation on the base geometry. I'm not too sure I understand why Forest pack isn't using the local axis of the geometry instead of it's rotation in the scene.

« Last Edit: June 10, 2017, 01:35:29 PM by Paku »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Local Axis and Xred in Xref
« Reply #3 on: June 12, 2017, 11:46:08 AM »
Hi,

Big thanks for your feedback. You're right, once "two times XReffed", it changes its behaviour. Our main developers will have to check that issue more in deep. We keep you posted.

Currently Forest Pack uses "World" rotation values. We'll evaluate the possibility of using "Local" coordinates, but let me mention, that it would need to be treated very carefully as it might bring unwanted effects and I'm not even sure, if that's something feasible maintaining the compatibility with previous versions and all actual features. Thanks for your comprehension.

Best regards,