AWS Thinkbox Discussion Forums

Error in StartJob: 3dsmax: Scene does not contain render cam

Hi Everyone,

i’ve allready report this problem to the thinkbox support but it is such a weird issue that i wanted to ask if someone have experienced something similar.
It is about the szene file Deadline copies from the repository over to the local drive it just appears like not only the camera but sometimes most of the scene gets lost on the way to the renderer.
The file isn’t broken, you can open it just fine but 80% is just gone.

what sorcery is this ?

-Deadline 6.0.51527 (RC 7)
-Window 7 on Workstations and Rendernodes
-Windows Server 2008 for Repository and MongoDB
-3dsmax 2014

-not possible to reproduce

A small update, the error can also appear when the camera is in the scene.

Have you accidentally checked on in SMTD the submit visible option?

nope,

as i said, the error can even pop up when the scene was transfered perfectly fine and even when i tell deadline to load the scene directly from the original network path.
Right now we have, the exact same issue on a rather simple. We send it to Deadline the file is copied to the renderer from the repository, i open the file manually on the renderer and everything is ok.
But Deadline refuses to render the scene telling me this:

the only thing we were able to make the scene render was to rename the camera and submit it again, go figure.

Hi,

Let’s try to figure out what is in the Job files created at submission.
*Take the original scene with the “bad” camera and perform the usual submission.
*Execute in the MAXScript Listener

shellLaunch SMTDPaths.tempDir ""

*In the temp directory of Deadline on your workstation, locate the folder with date and time closest to now - this should be the folder with the latest submission.
*In that directory, open the file “max_job_info.job” in a text editor. (in fact, upload a copy here so we can all see it).
*Locate the line starting with Camera= - it should in theory contain the name of the camera you are having issues with.
*Also check the following lines - Camera0=, Camera1=… and see if the camera is listed there.

At this point, we just want to make sure the camera lines in the job file make sense.
Then we will have to think about what is going on at render time, since the info from this file is applied to the renderer (in this case, the renderer is told to render the camera with this name, and for some reason it claims it cannot find it in the scene).

You could also try adding a few new cameras to the scene, but still exporting with the “bad” one in the active viewport. Then in the Monitor, open the Job Properties and in the 3dsMax properties, try changing the camera to one of the new ones. See if it renders (it probably will). Then switch back to the “bad” one (if it is on the list). See if it will fail again.

Eventually, you could strip most of the geo from the scene (or just delete all geometry and make a teapot) and upload the Max file with the “bad” camera here so we can try rendering it ourselves to debug.

Thanks for your patience!

Hi Bobo,

Thanks i’ll try it out immediately, but no garanty it will work. This is not something that only happens to this specific scene it just occurs sporadically in different files, maybe the file will render just fine now.

so cross your fingers.

All right, got it.

i upload it as a Zip if you want to take a look at the entire file, i think it’s just to long to paste it in here.
But here is the interessting part:


Version=2014
IsMaxDesign=0
Padding=4
RemovePadding=0
IgnoreMissingExternalFiles=1
IgnoreMissingUVWs=1
IgnoreMissingDLLs=1
IgnoreMissingXREFs=1
DisableMultipass=0
LocalRendering=1
OneCpuPerTask=0
UseSlaveMode=1
UseSilentMode=0
PopupHandling=1
IncludeLocalPaths=0
RenderStateSet=0
RestartRendererMode=0
DisableProgressUpdateTimeout=0
OverrideFailOnExistingMaxProcess=false
FailOnExistingMaxProcess=false
Camera=V01EU701_ViClean
Camera0=
Camera1=5614R6_V01EU7 01_ViClean_OLD
Camera2=V01EU701_ViClean
Camera3=5614R6_V01EU7 01_ViClean_V2
Camera4=568650_5787_V02EL4_ViClean_
MaxVersionToForce=64bit
MaxVersionToForce0=none
MaxVersionToForce1=32bit
MaxVersionToForce2=64bit
FailOnBlackFrames=0
BlackPixelPercentage=1
BlackPixelThreshold=0.1
BlackFramesCheckRenderElements=0
IgnoreRenderElements=0
RenderOutput=\SVG-FS01\DB-Kunden\VilleroyBoch\3D-Daten\WC_Bidet\Matrix\Renderoutput\558700_Matrix_Eckig_UR_Refl_off.png
SaveFile=false
ShowFrameBuffer=0
OverrideBitmapPager=false
BitmapPager=false
RenderWidth=1750
RenderHeight=2996
renderPixelAspect=1.0
rendAtmosphere=true
renderEffects=true
renderDisplacements=true
rendSimplifyAreaLights=false
rendForce2Side =false
rendHidden=false
rendColorCheck=false
rendSuperBlack =false
rendFieldRender =false
SkipRenderedFrames =false
backgroundColor=(color 0 0 0)
useEnvironmentMap=false
ambientColor=(color 0 0 0)
lightTintColor=(color 255 255 255)
lightLevel=1.0


max_job_info.zip (3.47 KB)

There is a space character at the end of the camera name: "V01EU701_ViClean "
Can you remove this character in the Max file and re-submit it?

Nice catch, Mike! :slight_smile:

We will be looking at possible solutions, or at least a warning at submission time that there is an invalid character. Of course, it would be better if we could make Max render the camera even with the space in the name - MAXScript for example allows you to replace spaces with underscores and it still resolves names, but we pass our data from MAXScript through Python to C++, and somewhere in the process the space was probably trimmed (as the error message does not include it). MAXScript seems to be outputting the right data. Quite possibly the extra space was dropped during or after the name was read from the Job file.

It is now logged as a bug.

you’re right, i checked it in the file, oh boy was this the reason all the time!?
yeah it was, now it renders.

ok, thanks for this one.

oh wait what about the thing in my first post, you know where almost the entire scene was gone. Any Idea how such a thing can happen?

For some strange reason, this seems to be the reaction by 3dsMax when you feed it an in-correct camera name via the SDK…[maybe / needs to be debugged by the Deadline development team further]

[just for fun / don’t do this on a production file]
I wouldn’t recommend this, but watch what happens if you type in a camera name and hit the “tab” key a couple of times and then submit the job to Deadline. Boom! Same deal. In both cases, it breaks the enum drop-down list in the post submission, so you can’t fix the camera name even if you wanted to! (This is how I originally discovered this issue)

As Bobo said, the bug is logged now :slight_smile:

Privacy | Site terms | Cookie preferences