Octane in Game Mode

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

Moderator: ChrisHekman

Octane in Game Mode

Postby FahadA92 » Wed Nov 08, 2017 8:01 pm

FahadA92 Wed Nov 08, 2017 8:01 pm
Hello,
When reading the release notes for latest version, I see that Game Mode is supported but I can't get Octane to work. Whenever I enter game mode, octane unloads, and if I try to load it, it just shows a "stopped" viewport.
Windows 8.1, GTX 970 EVGA SC, i7 4790k, 32GB RAM
FahadA92
Licensed Customer
Licensed Customer
 
Posts: 82
Joined: Sun Jun 29, 2014 6:29 pm

Re: Octane in Game Mode

Postby Xhed » Thu Nov 09, 2017 9:33 am

Xhed Thu Nov 09, 2017 9:33 am
You'll have to restart the render target after loading Octane in play mode, the same way as you would do normally.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Octane in Game Mode

Postby jalley » Thu Nov 09, 2017 6:05 pm

jalley Thu Nov 09, 2017 6:05 pm
And what about Octane-specific node parameters. In between reloads of Unity Play mode and consequently Octane, some parameters seem to be lost in between. Is there a way to save such info so we do not need to manually tune it each time you load Octane. For instance render target enviroment tuned parameters are lost in between save and reload. There is a recent post thread discussing the environment problem, but there are many others happening e.g. with object RenderLayerID, of a GameObject, etc. Quite time consuming ...

Thanks!
jalley
Licensed Customer
Licensed Customer
 
Posts: 27
Joined: Thu Aug 31, 2017 6:00 pm

Re: Octane in Game Mode

Postby ChrisHekman » Fri Nov 10, 2017 9:38 am

ChrisHekman Fri Nov 10, 2017 9:38 am
In the upcomming build we have updated switching to play/game-mode and octane will now stay loaded.

In the meantime, If the properties have been changed via the rendertarget component gui, you should get a save prompt after pressing the play button. If you save, the changed properties should hold.
If they dont, please do tell us which properties have not been saved.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Octane in Game Mode

Postby jalley » Fri Nov 10, 2017 12:27 pm

jalley Fri Nov 10, 2017 12:27 pm
Hi Chris and OctaneRender Team,

First of all, let's say we acknowledge your great effort in opening this plugin. Thanks for your hard work.
Going to the point. We provide here two examples of two things that are failing and bothering us in our work.

Two examples of modifying Octane Node exclusive parameters, that after entering and exit Play mode are not save among executions. Or worse, even if you save de Unity project and load it again, they are also lost. So we did not find a proper way to not having to repeat this work, every time we need to produce a render.

Case 1. RenderLayerID assignment.

There seems to be some sort of bug for which some objects retain properly the assigned LayerID, but others don't. We tried adjusting them again and re-saving, but these changes are not stored for some reason. It seems like from our set of objects some work well and some don't. Weird.

Case 2. Enviroment Settings.

Similarly, we want to store a certain configuration of an HDR enviroment. But each time we save specific Octane Node parameters, they are forgotten the next time we repone the Unity project or even just reload Octane. Again weird.

I enclose in this post two pictures of the changes and the final result after Octane Reload (equivalent if you reopen the Unity scene/project).

Thanks again for you work, we hope you can find the problem. It will save lots of time for us, so we can double our bid on using Octane SW.

Best,
jalley
Attachments
environment.png
Similarly we set some Octane Node specific parameters for an HDR (marked in green color) that are also lost in our next Octane/Unity session working in the same project. Of course we have tried pressing Save Scene/Project many times.
RenderLayerID.png
This example shows a change of the RenderLayerID (layer 2) that is lost in the next Octane reload or Unity project opening. The change is lost.
jalley
Licensed Customer
Licensed Customer
 
Posts: 27
Joined: Thu Aug 31, 2017 6:00 pm

Re: Octane in Game Mode

Postby ChrisHekman » Wed Nov 15, 2017 3:19 pm

ChrisHekman Wed Nov 15, 2017 3:19 pm
On the environment settings.
We do not fully support changing settings from the Octane GUI and recommend using the Untiy RenderTargetComponent interface. Some settings will be saved, others -like textures- are only saved when set via the Unity interface.

On the renderlayerID.
This is fixed in our current mainline and will be part of the next build
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Octane in Game Mode

Postby jalley » Wed Nov 22, 2017 1:10 pm

jalley Wed Nov 22, 2017 1:10 pm
Hi Chris, all

Thanks for your reply. We are happy to hear that some of those problems are already fixed. It would be extremely useful to get other Octane-GUI parameters exposed and saved as well.

For the sake of completion, we have performed more tests on other attributes we need (these ones exposed through the Unity interface) but that are not being saved as well:

color_and_bakeid.png
1) We set the color attribute and/or bake id to ObjectA; 2) In object B we set different values. We save the project ... open again ... Object A appears with values of Object B. We do not know why. Reason could be related with the fact that they were both instances of the same prefab in Unity, but at least in Unity, this is not the expected behavior (as we never press the apply to all instances button)


Are those parameters included in the "bug fixed list"? Can we expect this to be fixed in the next release as well?

Thanks so much,
jalley
jalley
Licensed Customer
Licensed Customer
 
Posts: 27
Joined: Thu Aug 31, 2017 6:00 pm

Re: Octane in Game Mode

Postby Xhed » Thu Nov 23, 2017 9:38 am

Xhed Thu Nov 23, 2017 9:38 am
Thanks for finding the bug Jalley. It is still present currently, so we'll look into it.
- Rick
User avatar
Xhed
OctaneRender Team
OctaneRender Team
 
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Re: Octane in Game Mode

Postby ChrisHekman » Thu Nov 23, 2017 11:12 am

ChrisHekman Thu Nov 23, 2017 11:12 am
jalley wrote:Hi Chris, all

Thanks for your reply. We are happy to hear that some of those problems are already fixed. It would be extremely useful to get other Octane-GUI parameters exposed and saved as well.

For the sake of completion, we have performed more tests on other attributes we need (these ones exposed through the Unity interface) but that are not being saved as well:

color_and_bakeid.png


Are those parameters included in the "bug fixed list"? Can we expect this to be fixed in the next release as well?

Thanks so much,
jalley


I found the underlying issue. It seems that when copy is made of a PBRInstanceProperties component (By duplicating/copy-pasting a gameobject for example) they will share the same underlying data. Which explains why changing object B changes object A
I fixed this. It should also repair scenes that have this data-sharing issue.

Would it be possible for you to confirm this is the underlying issue?
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 969
Joined: Wed Jan 18, 2017 3:09 pm

Re: Octane in Game Mode

Postby jalley » Tue Nov 28, 2017 11:01 am

jalley Tue Nov 28, 2017 11:01 am
ChrisHekman wrote:Would it be possible for you to confirm this is the underlying issue?


Hi Chris,

I guess you are asking Xhed about this, but obviously we can only verify/confirm that it is fixed when we gain access to the latest release. Could you share an estimate about when that date should be?

Thanks both for putting your effort on solving this issue,
jalley
jalley
Licensed Customer
Licensed Customer
 
Posts: 27
Joined: Thu Aug 31, 2017 6:00 pm
Next

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 25 guests

Thu Apr 25, 2024 9:09 pm [ UTC ]