Page 1 of 1
[Issue] Multiple materials on object when rendering video
Posted: Tue Jan 09, 2018 9:59 am
by emilche
So I'v bumped into an issue when attempting to render a frame sequence. Objects with multiple materials on them get the textures mixed up, the first frame however renders just fine and so dose single image renders. The second frame always renders white textures on objects with multiple materials and the the rest of the frames renders the materials in the wrong position. For example: the floor of the third frame gets the material of the rooftop and the interior walls get the materials of the exterior wall. The pattern of the third frame is then repeated for all subsequent frames.
Is there a known solution for problem and if not how would you suggest I work around it?
Thanks.
Frame 1
Frame 2
Frame 3 --> final frame
Main object inspector

Re: [Issue] Multiple materials on object when rendering video
Posted: Tue Jan 09, 2018 3:54 pm
by Xhed
I haven't encountered your issue before, so I don't know of a workaround. Are you using the PBR Recorder to render your video?
Re: [Issue] Multiple materials on object when rendering video
Posted: Wed Jan 10, 2018 9:35 am
by emilche
Yes we are

Re: [Issue] Multiple materials on object when rendering video
Posted: Wed Jan 10, 2018 2:22 pm
by ChrisHekman
emilche wrote:Yes we are

Is the scene static? If so, can you try to turn off static batching? Either in player settings, or turn off static batching on the object.
If that does not help, would it be possible to share your scene with us?
Re: [Issue] Multiple materials on object when rendering video
Posted: Thu Jan 11, 2018 9:43 am
by emilche
That was it! Is it a bug or intended?
Thank you for your help!
Re: [Issue] Multiple materials on object when rendering video
Posted: Thu Jan 11, 2018 10:25 am
by ChrisHekman
emilche wrote:That was it! Is it a bug or intended?
Thank you for your help!
It is a bug. Unity does not expose the nessesary information in their api's to fully implement static batching on our side. (They will in the future)
We try to turn off static batching before going to gamemode. But it must not have taken effect. If that fails we attempt to make a best guess, which does not work in every instance.
Re: [Issue] Multiple materials on object when rendering video
Posted: Thu Jan 11, 2018 11:07 am
by emilche
Ah! I understand!
While i already have you here.
I am trying to play around a little with volume geo in octane. I made a simulation in houdini and exported it into a vdb sequence. This i then added to the octane volume node. The only problem is that i can only controll this thorugh the octane viewport. Which is understandable. But how can I make it animate with the recoding of the unity recorder? Cause right now I have only been able to render out the animation from the batch rendering in Octane viewport. And when I Render in Unity it is stuck in the first frame of the volume sequence.
So basically my question is:
is it possible to use the recorder in unity and also update the volume frame sequence along with it.
This is the result of the batch rendering in octane viewer:
Re: [Issue] Multiple materials on object when rendering video
Posted: Fri Jan 12, 2018 12:48 pm
by ChrisHekman
emilche wrote:Ah! I understand!
While i already have you here.
I am trying to play around a little with volume geo in octane. I made a simulation in houdini and exported it into a vdb sequence. This i then added to the octane volume node. The only problem is that i can only controll this thorugh the octane viewport. Which is understandable. But how can I make it animate with the recoding of the unity recorder? Cause right now I have only been able to render out the animation from the batch rendering in Octane viewport. And when I Render in Unity it is stuck in the first frame of the volume sequence.
So basically my question is:
is it possible to use the recorder in unity and also update the volume frame sequence along with it.
This is the result of the batch rendering in octane viewer:
Ill see if we can add setting octane time with the recorder.