[Issue] Multiple materials on object when rendering video

Forums: [Issue] Multiple materials on object when rendering video
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

[Issue] Multiple materials on object when rendering video

Postby emilche » Tue Jan 09, 2018 9:59 am

emilche Tue Jan 09, 2018 9:59 am
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
Image

Frame 2
Image

Frame 3 --> final frame
Image

Main object inspector
Image
emilche
 
Posts: 4
Joined: Tue Jan 09, 2018 9:05 am

Re: [Issue] Multiple materials on object when rendering video

Postby Xhed » Tue Jan 09, 2018 3:54 pm

Xhed Tue Jan 09, 2018 3:54 pm
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?
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: [Issue] Multiple materials on object when rendering video

Postby emilche » Wed Jan 10, 2018 9:35 am

emilche Wed Jan 10, 2018 9:35 am
Yes we are :)
emilche
 
Posts: 4
Joined: Tue Jan 09, 2018 9:05 am

Re: [Issue] Multiple materials on object when rendering video

Postby ChrisHekman » Wed Jan 10, 2018 2:22 pm

ChrisHekman Wed Jan 10, 2018 2:22 pm
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?
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: [Issue] Multiple materials on object when rendering video

Postby emilche » Thu Jan 11, 2018 9:43 am

emilche Thu Jan 11, 2018 9:43 am
That was it! Is it a bug or intended?
Thank you for your help!
emilche
 
Posts: 4
Joined: Tue Jan 09, 2018 9:05 am

Re: [Issue] Multiple materials on object when rendering video

Postby ChrisHekman » Thu Jan 11, 2018 10:25 am

ChrisHekman Thu Jan 11, 2018 10:25 am
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: [Issue] Multiple materials on object when rendering video

Postby emilche » Thu Jan 11, 2018 11:07 am

emilche Thu Jan 11, 2018 11:07 am
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:
Attachments
PBR Render Target_beauty_0022.png
emilche
 
Posts: 4
Joined: Tue Jan 09, 2018 9:05 am

Re: [Issue] Multiple materials on object when rendering video

Postby ChrisHekman » Fri Jan 12, 2018 12:48 pm

ChrisHekman Fri Jan 12, 2018 12:48 pm
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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 12 guests

Wed Apr 24, 2024 7:00 pm [ UTC ]