"Cannot export OBJ/MTL" - not sure why

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
colorlabs
Licensed Customer
Posts: 209
Joined: Sun Aug 08, 2010 2:53 pm

Hi, I'm rendering an animation, and after anywhere from 3 to 15 frames, it just stops and says "Cannot export OBJ/MTL." Is there a log file somewhere?

I probably can't upload my scene because it involves a RealFlow mesh being imported via the RF C4D plugin.

Also abstrax, would it be possible to make it try again when this happens? Thanks!
Mac OS X 10.8.0 | ASUS GTX 580 1.5GB | MSI GTX 470 | ATI Radeon 6870 | Core i7 2.9Ghz | 16GB
User avatar
abstrax
OctaneRender Team
Posts: 5509
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

colorlabs wrote:Hi, I'm rendering an animation, and after anywhere from 3 to 15 frames, it just stops and says "Cannot export OBJ/MTL." Is there a log file somewhere?

I probably can't upload my scene because it involves a RealFlow mesh being imported via the RF C4D plugin.

Also abstrax, would it be possible to make it try again when this happens? Thanks!
Yes there is some error logging in the C4D console. What does it say?

Cheers,
Marcus
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
colorlabs
Licensed Customer
Posts: 209
Joined: Sun Aug 08, 2010 2:53 pm

Well 12 hours later and after a reboot, it doesn't happen anymore :) I'll let you know if it comes back.
Mac OS X 10.8.0 | ASUS GTX 580 1.5GB | MSI GTX 470 | ATI Radeon 6870 | Core i7 2.9Ghz | 16GB
colorlabs
Licensed Customer
Posts: 209
Joined: Sun Aug 08, 2010 2:53 pm

Got it again! Here are the last few lines (copy&paste won't work so I'll type it :)):
"C:\Users\keith\...\octane.exe" -e ...

OEConverter::launchOctane(): Could not rename pre-exported OBJ/MTL files.
Any insight?
Mac OS X 10.8.0 | ASUS GTX 580 1.5GB | MSI GTX 470 | ATI Radeon 6870 | Core i7 2.9Ghz | 16GB
User avatar
abstrax
OctaneRender Team
Posts: 5509
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

colorlabs wrote:Got it again! Here are the last few lines (copy&paste won't work so I'll type it :)):
"C:\Users\keith\...\octane.exe" -e ...

OEConverter::launchOctane(): Could not rename pre-exported OBJ/MTL files.
Any insight?
Yup: While one frame renders, the exporter starts exporting the next frame into a temporary file. When the rendering of the current frame has finished. The current OBJ/MTL files get deleted and the pre-exported (/temporary) files get renamed to the actual filename. Somehow this process doesn't seem to work reliable. -> I will make it try more often over a period of maybe 10 seconds or so.

Thanks for the feedback. Cheers,
Marcus
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
colorlabs
Licensed Customer
Posts: 209
Joined: Sun Aug 08, 2010 2:53 pm

Well, I bet it's because loading the RealFlow mesh takes so long, and I'm only rendering at 8 s/px so renders go really quick. So the render is finishing before the export I bet.
Mac OS X 10.8.0 | ASUS GTX 580 1.5GB | MSI GTX 470 | ATI Radeon 6870 | Core i7 2.9Ghz | 16GB
User avatar
abstrax
OctaneRender Team
Posts: 5509
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

colorlabs wrote:Well, I bet it's because loading the RealFlow mesh takes so long, and I'm only rendering at 8 s/px so renders go really quick. So the render is finishing before the export I bet.
Possible. I thought the plugin caters for that situation, but I will have a look at it later. If you want, you can maybe render 16 spp or so and see if the problem then goes away, which would tell us that you are right.

Cheers,
Marcus
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
Post Reply

Return to “Maxon Cinema 4D”