Author Topic: Object serialization octrees  (Read 1733 times)

Offline thiamant

  • byte
  • *
  • Posts: 19
    • View Profile
Object serialization octrees
« on: September 13, 2010, 03:35:11 pm »
Does object serialization (DeSerializer class) include octrees asigned to it?

Is it loading automatically when loadSerializedObject is called?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Object serialization octrees
« Reply #1 on: September 13, 2010, 10:39:59 pm »
No, Octrees are not a part of the serialization process right now. I'm not sure why i omitted them...maybe i had a reason, maybe i just didn't need them. If it's needed, i can support for this when i'm back home.

Offline thiamant

  • byte
  • *
  • Posts: 19
    • View Profile
Re: Object serialization octrees
« Reply #2 on: September 15, 2010, 09:44:15 pm »
It would be interesting for collision detection optimization over serialized objects.

Offline thiamant

  • byte
  • *
  • Posts: 19
    • View Profile
Re: Object serialization octrees
« Reply #3 on: September 24, 2010, 11:25:25 am »
Is this finally going to be done? I've been trying to do this manually with Java reflection but I don't know the structures used in the Object3D class when the method object.setOcTree(oc) is called...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Object serialization octrees
« Reply #4 on: September 24, 2010, 01:55:06 pm »
Yes, i guess i'll adf it. But i'm still on holiday, which is why it will take some time.