question

Jerome Samson avatar image
Jerome Samson asked ·

C4dtoA - ASS Export freeze when the project is using textures

Hello,

I face an issue when exporting a project to an ass file sequence from C4D.

Following the doc here: Scene Export - Arnold for Cinema 4D User Guide - Arnold Renderer

I am using this code to export a custom range of animation to the disk:

import c4d
ARNOLD_SCENE_EXPORT = 1029993

def main():
    options = c4d.BaseContainer()
    options.SetFilename(0, "C:\\Users\\xxxx\\texturedplane.ass")
    options.SetInt32(6, 10)
    options.SetInt32(7, 20)
    doc.GetSettingsInstance(c4d.DOCUMENTSETTINGS_DOCUMENT).SetContainer(ARNOLD_SCENE_EXPORT, options)

    c4d.CallCommand(ARNOLD_SCENE_EXPORT)

if __name__=='__main__':
    main()

When running this, the first frame is written out correctly but then the CallCommand freezes and so does the whole c4d UI.

This only happens using Arnold 6 when there is an external file (texture or hdri) in the scene.


If the scene has no external file, I can output a whole sequence correctly.

I can also export correctly (with and without external files) when using Arnold 5.4


So working in cinema4d R20.059 with c4dtoa-2.6.2

Not working in cinema4d R20.059 with c4dtoa-3.1.1.1

Not working in cinema4d R20.059 with c4dtoa-3.3.1.1


Has anyone seen this already?

Is there a build of Arnold 5.3 or 5.4 versions for Cinema4D R22 ?

Thanks for any help,

Jerome

c4dtoatextureassexport
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

The fix is released in C4DtoA 3.3.3.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

This is actually related to a bug I have fixed recently, but haven't released yet. Hopefully soon it will get published.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Jerome Samson avatar image
Jerome Samson answered ·

Hey,

That would lovely, for the moment I will go back to Arnold5 branch but we'd want to use the latest versions really when possible.

What is frustrating is that I can manually change the frame and render individual frames in the same c4d session. But as soon as I try to do this in a loop within the Script editor it'll freeze...

Thanks for your insights.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Jerome Samson avatar image
Jerome Samson answered ·

Oddly, I also noticed that the command call works if I set it to render a single frame.

However as soon as the start/end frame are different, the process will freeze after the first frame...

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Jerome Samson avatar image
Jerome Samson answered ·

Hi,

The export runs correctly when using the "Scene Export" dialog.

My test scene is very basic:

- a plane with a standard surface and an image texture

- a directional light


Thanks for the info about the build in R22

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

Does it also freeze when doing the export from the Scene Export dialog instead of a script? I suppose it happens with a very basic scene, right, just needs to have a texture in it?

Sorry, the first build which supports R22 was C4DtoA 3.0.3 / Arnold 6.0.3.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.