Drive Octane Render programmatically from C# scripts

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
Fanaen
Posts: 1
Joined: Wed Jan 17, 2018 7:59 am

Hello!

The package Octane for Unity is really cool!

The company I currently work for could definitely use something like that. However, our use case doesn't seem to be covered at the moment.

We are currently using Unity mainly for the WebGL part and the scene/asset editing is done on the user end. In the long run, if we want to use Octane Render, we need a way to capture the scene either user-side (from WebGL) or server-side (headless editor) to trigger the rendering without manually opening the editor. The simplest solution is probably to use some C# scripts to load a given scene, load and configure the Octane Render, then send the job to the ORC.
So, a few questions:
  • Is this possible at the moment and how?
  • If not, is a documented C# API planned?
Best regards,
Fanaen
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

We don't have a properly functional C# API yet, but it is in the works.
- Rick
MattOstgard
Posts: 1
Joined: Sun May 31, 2015 8:20 pm

Any idea what the time frame for this might be? I want to make some high to low mesh baking tools that would use unity-octane, but currently I can't really make them properly as it is now.

Also are there any plans to support displacement from unity materials without having to create a custom otoy material?
bmustata
Posts: 7
Joined: Sat Feb 10, 2018 10:07 am

Can we you have some basic support like start/pause render and render to texture?

Is it possible to access PBRRenderTarget in the current implementation?
bmustata
Posts: 7
Joined: Sat Feb 10, 2018 10:07 am

Do we have some kind of basic support like StartRender/PauseRender and Render To Texture?

or maybe we ca use GameObject.Find("PBR Render Target") or something similar?

Best regards,
Bogdan
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

This is currently impossible. A proper C# API is in progress of being developed.
- Rick
bmustata
Posts: 7
Joined: Sat Feb 10, 2018 10:07 am

This sounds super!
anupamd
Posts: 1
Joined: Thu Feb 22, 2018 8:46 pm

Hi, I'm very interested in the API as well.

my use-case is really runtime baking, or even better. something like a Differed Real-time Path Tracing such as what you see with Enscape.

https://enscape3d.com/wp-content/upload ... ferred.pdf

I know this is a very broad topic but
with the API, would I have enough functionality do something like this, at least the baking at runtime part?
Post Reply

Return to “Octane for Unity”