Game mode

Forums: Game mode
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Game mode

Postby elecman » Fri Jul 14, 2017 12:51 am

elecman Fri Jul 14, 2017 12:51 am
Game mode is not supported but then how do I render material and transform animations? All these things are set by scripts which do not work in editor mode.

It is not really clear in the manual. Something to do with timeline...
elecman
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am

Re: Game mode

Postby Xhed » Fri Jul 14, 2017 12:57 am

Xhed Fri Jul 14, 2017 12:57 am
The timeline editor will allow you to schedule these animations. You can open Timeline Render window via the Octane menu, where you can select a Director, Render Target, time range and framerate. This will allow you to have Octane render all the frames to disk, providing you with png/exr files of the rendered frames.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Game mode

Postby elecman » Fri Jul 14, 2017 1:45 pm

elecman Fri Jul 14, 2017 1:45 pm
I haven't looked into the new timeline feature much yet, but from what I understand is that timeline recording only works from edit mode, not from game mode. I could be wrong though...
elecman
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am

Re: Game mode

Postby jobigoud » Fri Jul 14, 2017 2:23 pm

jobigoud Fri Jul 14, 2017 2:23 pm
You can have your scripts run in edit mode, look for the ExecuteInEditMode attribute.
User avatar
jobigoud
OctaneRender Team
OctaneRender Team
 
Posts: 230
Joined: Sat Aug 15, 2015 1:28 pm

Re: Game mode

Postby elecman » Fri Jul 14, 2017 11:59 pm

elecman Fri Jul 14, 2017 11:59 pm
I know about that, but it complicates my logic quite a bit. The animations (mainly emissive state) are based on very complex system logic (aircraft cockpit). Things like script execution order are important. Modifying all my scripts so it runs in editor mode is asking for trouble.

Feature request:
Please make Unity Octane render based on what you see in Game mode. Without this, it it is not usable for me.
elecman
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am

Re: Game mode

Postby SteveElbows » Sat Jul 15, 2017 12:38 pm

SteveElbows Sat Jul 15, 2017 12:38 pm
elecman wrote:I know about that, but it complicates my logic quite a bit. The animations (mainly emissive state) are based on very complex system logic (aircraft cockpit). Things like script execution order are important. Modifying all my scripts so it runs in editor mode is asking for trouble.

Feature request:
Please make Unity Octane render based on what you see in Game mode. Without this, it it is not usable for me.


Perhas you could use something like the following, or a timeline equivalent if it exists, to bridge the gap?

https://docs.unity3d.com/2017.1/Documen ... order.html
SteveElbows
Licensed Customer
Licensed Customer
 
Posts: 5
Joined: Sun Jul 09, 2017 10:34 am

Re: Game mode

Postby Xhed » Sat Jul 15, 2017 12:41 pm

Xhed Sat Jul 15, 2017 12:41 pm
elecman wrote:Feature request:
Please make Unity Octane render based on what you see in Game mode. Without this, it it is not usable for me.

This is high on our list, but we're having problems with the way Unity switches to game mode. When you switch to Game Mode, Unity reloads all script, which is causing problems for our Octane integration.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Game mode

Postby elecman » Sat Jul 15, 2017 1:03 pm

elecman Sat Jul 15, 2017 1:03 pm
Great to hear you are working on it. I hope Unity will be supportive as it would be a great feature.
elecman
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Sun Jul 09, 2017 4:27 am

Re: Game mode

Postby PatHightree » Thu Aug 03, 2017 2:26 pm

PatHightree Thu Aug 03, 2017 2:26 pm
I just want to mention that in Unity 2017 there are a couple of new callbacks for this situation:
- AssemblyReloadEvents.beforeAssemblyReload
- AssemblyReloadEvents.afterAssemblyReload

Also, a look at nVidia's Ansel capture system might be inspiring (it is available on the asset store).

Ciao, Patrick
PatHightree
 
Posts: 1
Joined: Wed May 06, 2015 10:49 am

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 10 guests

Thu Mar 28, 2024 1:21 pm [ UTC ]