Author Topic: Transparency Problem (and More)  (Read 5849 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #15 on: June 19, 2012, 08:34:33 am »
No change whatsoever. Still doesn't work as multiple parts.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #16 on: June 19, 2012, 08:41:01 am »
I take it back: it worked. And it's not enableLazyTransformations() (I've since added it back and it still works).

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Transparency Problem (and More)
« Reply #17 on: June 19, 2012, 08:55:13 am »
So getting rid of the parent did the trick?

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #18 on: June 19, 2012, 09:04:06 am »
Yes, but it also created a new problem: since I have to rotate everything around the X axis by 180 degrees and I no longer have a parent, the trees are getting buried in the ground. Should I just rotate the trees around the the ground's X axis?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Transparency Problem (and More)
« Reply #19 on: June 19, 2012, 09:21:17 am »
If that works...!? I'll try to find why it doesn't work with a parent being added. It actually should...

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #20 on: June 19, 2012, 09:27:52 am »
Naturally, that was a stupid before-I-went-to-sleep idea that didn't work. So if I could have my parent/child relationship back, I'd appreciate it.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Transparency Problem (and More)
« Reply #21 on: June 19, 2012, 09:44:21 am »
What exactly are you using to trigger the collision?

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #22 on: June 19, 2012, 09:56:41 am »
calcMinDistance()

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Transparency Problem (and More)
« Reply #23 on: June 19, 2012, 10:44:40 am »
I can't verify this problem. I created a test case but it worked just fine. Are you sure that your direction vector in calcMinDistance is a unit vector (i.e. normalized)? If everything looks fine to you, i need a test case for this.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Transparency Problem (and More)
« Reply #24 on: June 19, 2012, 05:41:43 pm »
I'm sure. I'll send you one in a couple of hours.