Page 1 of 2

Unnecessary texture loading

PostPosted: Thu Dec 20, 2018 4:07 pm
by J.C
Steps to reproduce:
1. Start a new project
2. Create a object and assign a material to it.
3. Add any image texture node.
4. Don't connect it to any input.
5. Launch render.... it takes few seconds longer (depends on texture file size and it's quantity) then without any texture.
6. In systems users folder a liveDB folder is created with texture that has been used in any project. (this grows to GIGABYTES size!)

Re: Unnecessary texture loading

PostPosted: Fri Dec 21, 2018 7:21 pm
by J.C
It's pretty annoying when you render a part of a scene without any texture and you have to wait 10 second until all textures from other objects are loaded somewhere for unknown reason.

Re: Unnecessary texture loading

PostPosted: Fri Dec 21, 2018 8:21 pm
by J.C
Any unused texture that is in any material (that is used or not) in project file gets loaded or compiled or both. This causes unnecessary slowdowns before rendering.

Re: Unnecessary texture loading

PostPosted: Wed Jan 09, 2019 2:46 am
by FrankPooleFloating
Sounds like a rather large bug to me. I'm surprised no devs have responded. Maybe because of Holidays...

Re: Unnecessary texture loading

PostPosted: Thu Jan 10, 2019 1:05 pm
by DrawFun
Hi J.C and FrankPooleFloating,

Sorry for the belated response. Just get out of the 17.1 development. I will look into the issue.

Cheers,
DrawFun

Re: Unnecessary texture loading

PostPosted: Thu Jan 10, 2019 1:51 pm
by DrawFun
Hi J.C and FrankPooleFloating,

Could you please turn on the option "User Preference-Add-ons-OctaneRender Engine-Node Graph Upload Optimization" and try again? The unused nodes are filtered out when the optimization is on.

Cheers,
DrawFun

Re: Unnecessary texture loading

PostPosted: Thu Jan 10, 2019 3:13 pm
by J.C
What about liveDB folder? Why it is created and why there are copies of textures of my projects there?

Re: Unnecessary texture loading

PostPosted: Fri Jan 11, 2019 12:33 am
by DrawFun
J.C wrote:What about liveDB folder? Why it is created and why there are copies of textures of my projects there?


First, the folder is created by the old livedb system to store preview thumbs.
You can remove the folder now. But the old livedb will recreate the folder and regenerate the preview thumbs there.
We are going to remove old livedb in the next build(not the coming 17.1), so the thumbs will not be created again at that time.

Second, image nodes “borrow" the folder to store some image as the cache. I am not sure whether it is necessary now. If not, I will remove the feature too.

Re: Unnecessary texture loading

PostPosted: Fri Jan 11, 2019 11:33 am
by J.C
DrawFun wrote:Hi J.C and FrankPooleFloating,

Could you please turn on the option "User Preference-Add-ons-OctaneRender Engine-Node Graph Upload Optimization" and try again? The unused nodes are filtered out when the optimization is on.

Cheers,
DrawFun


Enabling this did the trick. Thanks for the tip!

Re: Unnecessary texture loading

PostPosted: Tue Jan 15, 2019 1:16 pm
by DrawFun
J.C wrote:
DrawFun wrote:Hi J.C and FrankPooleFloating,

Could you please turn on the option "User Preference-Add-ons-OctaneRender Engine-Node Graph Upload Optimization" and try again? The unused nodes are filtered out when the optimization is on.

Cheers,
DrawFun


Enabling this did the trick. Thanks for the tip!


Awesome! Please let me know if this optimization causes bugs. Once it gets stable, we will remove the option and leave it on as default.

Cheers,
DrawFun