Post details: Serialization woes continued...

07/24/06

Permalink 03:02:47 pm, by Dieter Email , 158 words, 227 views   English (CA)
Categories: 3D modeling

Serialization woes continued...

Sigh...

Serialization is being very annoying. I clear one obstacle only to slam directly into another. When will the pain ever end? It is finite I'm sure but it seems unnecessary and excessive. What's happening now is that property set tables for plain SceneElements works perfectly, but a very informative exception is thrown when attempting to serialize LightElements:

Unhandled Exception from Hell

I looked at the Boost User mailing list for inspiration or instigation or something and came across a conversation over something similar. At least it confirmed that polymorphic serialization should actually work, meaning the system should be able to serialize a light without caring that it is a light. I suspect that the actual error could be caused by something like the fact that SceneElements have only one PropertySet whereas Lights happen to have two. I'll have to test this and other hypotheses with meticulous care.

All just for saving and loading! This is not even the hard part yet. :|

Comments:

No Comments for this post yet...

Comments are closed for this post.

Ancient Spaces Blog

February 2012
Sun Mon Tue Wed Thu Fri Sat
<< <     
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29      

Search

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 9

powered by
b2evolution