Page 1 of 1
Export Error

Posted:
Wed Mar 16, 2011 2:48 pm
by cskid13
I imported one of Cyan's ages, but when i re-export it, I get this error:
local variable col_r referenced before assignment
I did not use vertex paint. Does anyone know how to fix this?
Re: Export Error

Posted:
Thu Mar 17, 2011 12:15 am
by Egon
First of all: You should rather not use PyPRP importing version in the first place. It's good it exists, because it allows to restore some data from Your own age (if You happens to lost somehow blend file), or helps in study how Cyan build they ages, but that's it. Don't hope for fully functional importer.
But if You really have to import something from Cyan age then brace yourself for lots of work.
In all imported objects (and sometimes for all materials, if object have them more then one), You have to do:
a)in Editing Panel (F9):
- rename "Color" to "Col"
- rename whatever is in UVTexture to "UVTex"
- delete Vertex Groups
b)in Shading Panel (F5) switch from "OB" to "ME" and set some kind of material (I usually copy the one which was visible in "OB" settings).
c)You might need to reapply textures for each material, but I'm not sure is it necessary
Re: Export Error

Posted:
Sun Mar 20, 2011 1:49 pm
by GPNMilano
Egon wrote:First of all: You should rather not use PyPRP importing version in the first place. It's good it exists, because it allows to restore some data from Your own age (if You happens to lost somehow blend file), or helps in study how Cyan build they ages, but that's it. Don't hope for fully functional importer.
But if You really have to import something from Cyan age then brace yourself for lots of work.
In all imported objects (and sometimes for all materials, if object have them more then one), You have to do:
a)in Editing Panel (F9):
- rename "Color" to "Col"
- rename whatever is in UVTexture to "UVTex"
- delete Vertex Groups
b)in Shading Panel (F5) switch from "OB" to "ME" and set some kind of material (I usually copy the one which was visible in "OB" settings).
c)You might need to reapply textures for each material, but I'm not sure is it necessary
Hmm. I'm not sure If I updated the PyPRP importer or not after I did work to correct these things. I'll check at some point and put up the newest update to it. But IIRC The only thing it needed last i checked was to switch from OB to ME. Everything else was changed (the vertex layers were switched. Vertex groups no longer imported etc) And you shouldn't need to rename the UV texture names at any rate. I could be mistaken though.
Re: Export Error

Posted:
Mon Mar 21, 2011 9:38 am
by Chacal
It would be great if you did that, Chloe.
Much is to be learned by examining Cyan Ages.
Re: Export Error

Posted:
Tue Mar 22, 2011 9:22 am
by Sirius
I don't know if this has anything to do with it, but when I want to re-export an object I imported, I have to open a new window, use Append or Link to import the object, and delete the material.
Anyway, that's great if you can fix some bugs.
Chacal wrote:Much is to be learned by examining Cyan Ages.
I can only agree.
Re: Export Error

Posted:
Wed Mar 23, 2011 1:17 pm
by cskid13
It worked at first, but then I got the export error again.
Re: Export Error

Posted:
Wed Feb 08, 2012 2:44 pm
by cskid13
Thank you. I am now experienced enough to try this.