Drive Octane Render programmatically from C# scripts

Forums: Drive Octane Render programmatically from C# scripts
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Drive Octane Render programmatically from C# scripts

Postby Fanaen » Wed Jan 17, 2018 9:04 am

Fanaen Wed Jan 17, 2018 9:04 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
Fanaen
 
Posts: 1
Joined: Wed Jan 17, 2018 7:59 am

Re: Drive Octane Render programmatically from C# scripts

Postby Xhed » Mon Jan 22, 2018 9:14 am

Xhed Mon Jan 22, 2018 9:14 am
We don't have a properly functional C# API yet, but it is in the works.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Drive Octane Render programmatically from C# scripts

Postby MattOstgard » Mon Jan 29, 2018 10:15 pm

MattOstgard Mon Jan 29, 2018 10:15 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?
MattOstgard
 
Posts: 1
Joined: Sun May 31, 2015 8:20 pm

Re: Drive Octane Render programmatically from C# scripts

Postby bmustata » Tue Feb 13, 2018 5:45 pm

bmustata Tue Feb 13, 2018 5:45 pm
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

Re: Drive Octane Render programmatically from C# scripts

Postby bmustata » Wed Feb 14, 2018 6:40 pm

bmustata Wed Feb 14, 2018 6:40 pm
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
bmustata
 
Posts: 7
Joined: Sat Feb 10, 2018 10:07 am

Re: Drive Octane Render programmatically from C# scripts

Postby Xhed » Fri Feb 16, 2018 9:31 am

Xhed Fri Feb 16, 2018 9:31 am
This is currently impossible. A proper C# API is in progress of being developed.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Drive Octane Render programmatically from C# scripts

Postby bmustata » Fri Feb 16, 2018 9:42 am

bmustata Fri Feb 16, 2018 9:42 am
This sounds super!
bmustata
 
Posts: 7
Joined: Sat Feb 10, 2018 10:07 am

Re: Drive Octane Render programmatically from C# scripts

Postby anupamd » Thu Feb 22, 2018 8:53 pm

anupamd Thu Feb 22, 2018 8:53 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?
anupamd
 
Posts: 1
Joined: Thu Feb 22, 2018 8:46 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 6 guests

Sun Sep 15, 2019 6:23 am [ UTC ]