Is there a way to load an egg model from a string containing the model text using egg syntax instead of using a filename? We could create a temporary .egg file and then load it but i’m curious if this is possible to do directly.
Try this:
egg = EggData()
egg.read(StringStream(eggText))
model = NodePath(loadEggData(egg))
David
That’s cool. Thanks.