Octane does not save materials anymore

A forum where development builds are posted for testing by the community.
Forum rules
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
Post Reply
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

Hi

I just updated to Beta 2.3 v5.
Since I have installed the new Beta Octane does not save materials in the *.ocs file anymore.

I export from blender 2.49 with the export plugin 2.2, I say "Use existing project" and I choose the last Octanefile I saved before with all the material settings and then I start to render. But it looses all the image pathes I set and saved before.

With Beta 2.2b everything runed ok.

What do I do wrong ?


Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

hm, it works when I open the Octancefile in Octane itself and then reload the *.obj file. strange...

Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

Lost most of the "image"-pathes again :-(

Octane set it to "RGB-Spectrum" after a reload of the *.obj file.

I just added two new material in Blender, I guess there is something wrong with the material indexes now.
Cause an object had 2 materials and I added 2 new materials, after it had 4 materials but it only uses the 2 new ones.

Loaded a backup of the scene and exported again, reloaded in octance and there everything was ok again.

Maybe this is a export script topic ?

Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

..ok I found out that when I save the blenderfile and reopen it an export again it works, maybe because blender does not save unused material links ?

Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

Blender saves everything that is assigned somewhere. If you have a material linked to a mesh it is saved, even if no faces use that material.

It's more probable that the script doesn't export materials that are not assigned to atleast one face?
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

Now I lost all materialsetting except one :shock:

It does not work anymore if I load an older backupscene , now I have to redo all the materials ??

How can this happen ? Octance crashed, but it did not save the octanefile which is good but even if I load this file which has been saved half an hour ago and always worked well by updating the *.obj file it does not work anymore now... so octance most have "saved" some wrong information somewhere else ?

Is the no chance to get the material informations back ?


Kind regards
Alain
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
User avatar
ROUBAL
Licensed Customer
Posts: 2199
Joined: Mon Jan 25, 2010 5:25 pm
Location: FRANCE
Contact:

In Blender, TexFace must be enabled in the material settings, otherwize the images are not exported. Maybe it is not the trouble, but I had to tell you.
French Blender user - CPU : intel Quad QX9650 at 3GHz - 8GB of RAM - Windows 7 Pro 64 bits. Display GPU : GeForce GTX 480 (2 Samsung 2443BW-1920x1600 monitors). External GPUs : two EVGA GTX 580 3GB in a Cubix GPU-Xpander Pro 2. NVidia Driver : 368.22.
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

When are you saving the .ocs always save the .obj and .mtl alongside.

The current implementation is very delicate, because it has to keep 3 files consistent. If they are not, shit probably happens.
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

ROUBAL wrote:In Blender, TexFace must be enabled in the material settings, otherwize the images are not exported. Maybe it is not the trouble, but I had to tell you.
I never have this enabled. What do you mean here by images are not exported?
Having texface enabled doesn't affect the structure of .mtl (it always just notes down the names of images on enabled texture channels without path). If you don't enable copy images, you never get images assigned inside Octane.
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
Alain
Licensed Customer
Posts: 270
Joined: Tue Jan 12, 2010 12:12 pm

@ROUBAL
Thanks for that hint.

@matej
My my expression of "exporting images" is wrong. Just the complete materialsettings (except one material) hast been lost.

fortunately I was able to export an older fileversion and the material was back again :-D

I "just" have to redo the last few steps.


Is there a way the keep materialsettings really saved ?
Intel Pentium 2.8 GHz 2 Cores, 8 GB RAM, GeForce GTX Titan 8GB, Blender 2.72b, Win 7 64 Bit
Post Reply

Return to “Development Build Releases”