THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/01/2012 at 08:49, xxxxxxxx wrote:
Cinema 4D Version: 13
Language(s) : C.O.F.F.E.E ; XPRESSO ;
I have a xpresso, coffee script combo that has been running fine on 11.5 and 12. I gave it to someone who is running r13 and it doesn't work in the renderer. I've put every debug line I could think of, but the console output tells me its running perfectly.
The script first reads a txt file in the form of 0 and 1's. It then adjusts two selection tags to have a polygon to be selected or deselected based on the cache. So every frame it reads a new txt file, the updates the selection tags of the object. Works fine in 12 and below but not in 13. It renders but the tags don't seem to update.
Rendering with Standard renderer.
//sets up the selections
var flatSelectTag = AllocTag(Tpolygonselection);
flatSelectTag#ID_BASELIST_NAME = "flatSelection";
var f = new(BaseSelect);
var distortSelectTag = AllocTag(Tpolygonselection);
distortSelectTag#ID_BASELIST_NAME = "distortSelection";
var d = new(BaseSelect);
//gets the cache txt
var fileString = stradd(cacheFolder, "\\", name, tostring(int(frame)), ".txt");
var myFilename = new (Filename);
var file = new(BaseFile);
file->Open(myFilename, FILEOPEN_READ, FILE_DIALOG);
var fileLength = file->GetLength();
var i = 0;
//reads characters; selects which polygons are on one tag and which are on another
for(i = 0; i < fileLength; i++)
capturedString = file->ReadChar();
if(capturedString == 0)
//sets seelction and closes file
On 02/02/2012 at 03:29, xxxxxxxx wrote:
Anyone have an idea on changes between 12 and 13 that would cause something like this? Essentially, in the renderer, its not updating the selection tags as previously. Has there been a change?
On 02/02/2012 at 04:04, xxxxxxxx wrote:
Please send a simple example (c4d and text file) to [email protected].