Octane viewport material constantly turns black

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

User avatar
marco_py
Licensed Customer
Posts: 24
Joined: Fri Apr 12, 2019 9:45 pm
Location: UK

I'm having this really annoying problem where my octane materials will just suddenly turn completely black in the viewport if I make changes to them. I have to constantly open each material up and press reload for it to work again. They also render black
if I do a quick viewport render to test the animation. I have updated my GPU driver to the latest studio one. I have checked the file paths and they are all fine, no missing textures. I even tried globalizing file paths but that doesn't work. It shows fine in the Octane LV, but not in the C4D viewport or viewport render.
They are all basic glossy textures with a diffuse, spec and normal map. Nothing special on these materials.

Project asset inspector, all green ticks.
Image

Viewport render shows black. Some do manage to render but some randomly show as black.
Image

Viewport render settings:
Image

Is this a C4D(R23) bug or an Octane problem? I am on 2020.2.1 but I had this problem on the previous few versions too.
3D Animator

5950X | 2x RTX 3090 | 128gb RAM | W11 Pro
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

Even interface is black :)
Architectural Visualizations http://www.archviz-4d.studio
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

we don't have bug like this! You may have some wrong settings parameters for previews or materials. Delete oct.dat from prefs folder and restart C4D
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
marco_py
Licensed Customer
Posts: 24
Joined: Fri Apr 12, 2019 9:45 pm
Location: UK

Hi, thanks I tried deleting oct.dat but i'm still having the problem. It only happens with octane materials, standard materials render fine. This happens over multiple octane projects too.

My settings:
Image

Image

It only works if I manually reload the textures each time. But then they turn black again if I make changes to them.
3D Animator

5950X | 2x RTX 3090 | 128gb RAM | W11 Pro
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Not sure what happens but posted images are not helpful. Go to settings/other, use "generate log report" as in link and send the file

viewtopic.php?f=25&t=76746&p=397806#p395405
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
marco_py
Licensed Customer
Posts: 24
Joined: Fri Apr 12, 2019 9:45 pm
Location: UK

Here is the log:
15:04:23 is when all materials were black in the viewport, and I opened the node material editor for a selected material, then that material showed properly in the viewport. Either that or pressing reload manually makes it work again.
Also if I close the project and reopen it, the materials load fine again, until I make changes to them.

Code: Select all

[2021-03-23 14:34:38][1] Register OctaneLive
[2021-03-23 14:34:38][0] Loaded Octane DLL:OctaneRender Studio 2020.2.1  version:10021301  SDK:2020.2.1
[2021-03-23 14:34:38][0] OctaneRender for Cinema 4D 2020.2.1  built for:230   C4D vers:23110
[2021-03-23 14:34:38][0] C4D:23110  comp:[DESKTOP]  OS:[WINDOWS 64 BIT] Windows 10, 64 Bit, Professional Edition (build 19042)  versType:10
[2021-03-23 14:34:38][0] CPU:[AuthenticAMD, stepping 0, model 1, instruction family 15]  speed:3.4 GHz  numOfCpu:32Ht
[2021-03-23 14:34:38][0] Plugins:[houdiniconfig 3dquakersR23 addons advanced_render alembic archigrass bitmapfilter bpexchange browser bugslife_client c4d_viewport_render c4dOctane-R23 ca ca2 cadexchange clothilde collada14 collada15 colorchoosergui compositing deltamush deployment dwg dwgobjects dynamics exchanges expressiontag fbx ForesterR23 getloglines_R23 gltf goz hair i_skp interop io_obj metrics mkmodeler mocca model mograph motioncam motiontracker nbo nbp newman nodeeditor objects onlineupdater projectassetinspector python relaxuv sculpt sculptbrushes shader sketch sky sla spacemouse substance teamrender thinking_particles tpoperators TurbulenceFD_R23_1465 usd uvviewport volumes xpressocore xtensions ]
[2021-03-23 14:34:38][0] NVAPI initializing...
[2021-03-23 14:34:38][0] NVAPI Version: NVidia Complete Version 1.10
[2021-03-23 14:34:38][0] Nvidia driver version:461.92  [r460_00]
[2021-03-23 14:34:38][1] LoadOslScripts()
[2021-03-23 14:34:38][0] Loaded 174 osl scripts from dir:C:\Program Files\Maxon Cinema 4D R23\plugins\c4doctane\res\osl_scripts
[2021-03-23 14:34:38][1] LoadCustomLuts()
[2021-03-23 14:34:39][1] <markMaterials>
[2021-03-23 14:34:40][1] <markMaterials>
[2021-03-23 14:35:17][1] initOctaneLive()
[2021-03-23 14:35:17][1] Init OctaneLive...[2021-03-23 14:35:19][1] Plugin initialized.[2021-03-23 14:35:19][1] Plugin activation...[2021-03-23 14:35:23][1] Plugin activation OK.[2021-03-23 14:35:23][1] Activation time=6.212 sec.
[2021-03-23 14:35:23][0] readDeviceSettings   E:01 P: T:01 D:01
[2021-03-23 14:35:23][0] VRAM used/free/max:0Kb/10Gb/10Gb  Out-of-core used:0Kb  RAM used:7.805Gb total:127.916Gb  OpenGL free/total:0/0
[2021-03-23 14:35:23][1] Device:0  [GeForce RTX 3080]<Dis>[][8.6]  Memory used/free/total:0Kb/10Gb/10Gb  outOfCoreMem:0Kb  p2pBytesUsed:0  runtimeDataSize:0Kb temperature:43
[2021-03-23 14:35:23][1] Device:1  [GeForce RTX 3070]<Dis>[][8.6]  Memory used/free/total:0Kb/8Gb/8Gb  outOfCoreMem:0Kb  p2pBytesUsed:0  runtimeDataSize:0Kb temperature:34
[2021-03-23 14:35:23][1] <markMaterials>
 [OK]
[2021-03-23 14:35:24][0] Opengl preview:[Mat] size:256*256 0x00000200C9836140 baseMat:0x00000200C9836140 curLink:0x0000000000000000
[2021-03-23 14:35:24][0] restoreDeviceStates status:2
[2021-03-23 14:35:24][0] setDevicesActivity  E:01 P: T:01 D:01
[2021-03-23 14:35:24][0] save
[2021-03-23 14:35:24][1]   convert mat:[Mat]  tip:1029501
[2021-03-23 14:35:24][4]   convert done in:5.465ms. 
[2021-03-23 14:35:24][4]   MakePreview:Mat[2021-03-23 14:35:24][0] AllDevicesOff
[2021-03-23 15:01:27][1] <markMaterials>
[2021-03-23 15:01:29][1] <markMaterials>
[2021-03-23 15:01:46][1] <markMaterials>
[2021-03-23 15:01:47][1] <markMaterials>
[2021-03-23 15:01:52][1] <markMaterials>
[2021-03-23 15:01:55][1] <markMaterials>
[2021-03-23 15:03:17][1] <markMaterials>
[2021-03-23 15:03:19][1] <markMaterials>
[2021-03-23 15:03:23][1] <markMaterials>
[2021-03-23 15:03:35][1] <markMaterials>
[2021-03-23 15:03:39][1] <markMaterials>
[2021-03-23 15:03:40][1] <markMaterials>
[2021-03-23 15:03:40][1] <markMaterials>
[2021-03-23 15:03:40][1] <markMaterials>
[2021-03-23 15:03:41][1] <markMaterials>
[2021-03-23 15:03:42][1] <markMaterials>
[2021-03-23 15:03:43][1] <markMaterials>
[2021-03-23 15:03:44][1] <markMaterials>
[2021-03-23 15:03:46][1] <markMaterials>
[2021-03-23 15:03:58][1] <markMaterials>
[2021-03-23 15:04:00][1] <markMaterials>
[2021-03-23 15:04:00][1] <markMaterials>
[2021-03-23 15:04:01][1] <markMaterials>
[2021-03-23 15:04:05][1] <markMaterials>
[2021-03-23 15:04:10][1] <markMaterials>
[2021-03-23 15:04:12][1] <markMaterials>
[2021-03-23 15:04:14][1] <markMaterials>
[2021-03-23 15:04:17][1] <markMaterials>
[2021-03-23 15:04:19][4] OctaneMat Init:0x00000205C5B83000  BODY.1  ID:0 time:2625585 doc:
[2021-03-23 15:04:19][1] <markMaterials>
[2021-03-23 15:04:19][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:19][1]   convert mat:[BODY.1]  tip:1029501
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:19][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_D.png  chnFormat=-1 eval=0 TM=0.203
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:19][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_S.png  chnFormat=-1 eval=0 TM=0.137
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:410 type:FloatTexture
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:FloatTexture
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:Scattering Medium
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:ColorCorrection
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:240 type:ImageTexture
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:138 type:FloatTexture
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:243 type:Transform
[2021-03-23 15:04:19][4] ImageTexture:F:\Images\SKIN_D.jpg  chnFormat=-1 eval=0 TM=5.798
[2021-03-23 15:04:19][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:19][4] ImageTexture:F:\Images\MAN_BODY_N.png  chnFormat=-1 eval=0 TM=0.138
[2021-03-23 15:04:19][4]   convert done in:44.173ms. 
[2021-03-23 15:04:20][4]   MakePreview:BODY.1[2021-03-23 15:04:20][0] AllDevicesOff
 size=120*120[2021-03-23 15:04:20][1] <markMaterials>
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
 done in:298.51ms.  [res:1]
[2021-03-23 15:04:20][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][1] >> ProcessUpdate(flags=M cAsyn=0 dDelay=0
[2021-03-23 15:04:23][1] <markMaterials>
[2021-03-23 15:04:23][4] OctaneMat Init:0x0000020279862580  BODY.1  ID:0 time:2628808 doc:
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][1]   convert mat:[BODY.1]  tip:1029501
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:23][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_D.png  chnFormat=-1 eval=1 TM=233.728
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:23][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_S.png  chnFormat=-1 eval=0 TM=0.229
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:410 type:FloatTexture
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:FloatTexture
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:Scattering Medium
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:ColorCorrection
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:240 type:ImageTexture
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:138 type:FloatTexture
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:243 type:Transform
[2021-03-23 15:04:23][4] ImageTexture:F:\Images\SKIN_D.jpg  chnFormat=-1 eval=0 TM=5.848
[2021-03-23 15:04:23][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:23][4] ImageTexture:F:\Images\MAN_BODY_N.png  chnFormat=-1 eval=0 TM=0.181
[2021-03-23 15:04:23][4]   convert done in:279.364ms. 
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][4]   MakePreview:BODY.1[2021-03-23 15:04:23][0] AllDevicesOff
 size=120*120[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
 done in:306.122ms.  [res:1]
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:120*120 threaded:1
[2021-03-23 15:04:23][4] OctaneMat Init:0x00000202C85DE9C0  BODY.1  ID:0 time:2629517 doc:
[2021-03-23 15:04:23][0] Preview mat:[BODY.1] pMat:0x00000202C92F7600 size:90*90 threaded:1
[2021-03-23 15:04:23][1] >> ProcessUpdate(flags=M cAsyn=0 dDelay=0
[2021-03-23 15:04:24][0] Opengl preview:[BODY.1] size:2048*2048 0x00000202C92F7600 baseMat:0x00000202C92F7600 curLink:0x0000000000000000
[2021-03-23 15:04:24][1]   convert mat:[BODY.1]  tip:1029501
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:24][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_D.png  chnFormat=-1 eval=0 TM=0.225
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:24][4] ImageTexture:F:\Images\MAN_BODY_BLOOD_S.png  chnFormat=-1 eval=0 TM=0.151
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:410 type:FloatTexture
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:FloatTexture
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:Scattering Medium
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:ColorCorrection
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:240 type:ImageTexture
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:138 type:FloatTexture
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:243 type:Transform
[2021-03-23 15:04:24][4] ImageTexture:F:\Images\SKIN_D.jpg  chnFormat=-1 eval=0 TM=6.115
[2021-03-23 15:04:24][4]     convertOctaneNodes owner: pinID:0 type:ImageTexture
[2021-03-23 15:04:24][4] ImageTexture:F:\Images\MAN_BODY_N.png  chnFormat=-1 eval=0 TM=0.155
[2021-03-23 15:04:24][4]   convert done in:47.37ms. 
[2021-03-23 15:04:24][4]   MakePreview:BODY.1[2021-03-23 15:04:24][0] AllDevicesOff
 size=2048*2048 done in:2182.088ms.  [res:1]
[2021-03-23 15:04:26][1] <markMaterials>
[2021-03-23 15:04:29][0] restoreDeviceStates status:3
[2021-03-23 15:04:29][0] setDevicesActivity  E:01 P: T:01 D:01
[2021-03-23 15:04:29][0] save
 [OK]
 [OK]
[2021-03-23 15:04:29][0] restoreDeviceStates status:3
[2021-03-23 15:04:29][0] setDevicesActivity  E:01 P: T:01 D:01
[2021-03-23 15:04:29][0] save
 [OK]
[2021-03-23 15:04:30][1] >> ProcessUpdate(flags=C cAsyn=0 dDelay=1
[2021-03-23 15:04:30][1] ApiUpdate Wait:0 Caller:needApiUpdate tm:3.498ms.  [OK]
[2021-03-23 15:04:31][1] >> ProcessUpdate(flags=C cAsyn=0 dDelay=1
[2021-03-23 15:04:31][1] ApiUpdate Wait:0 Caller:needApiUpdate tm:3.279ms.  [OK]
3D Animator

5950X | 2x RTX 3090 | 128gb RAM | W11 Pro
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

aoktar wrote:Not sure what happens but posted images are not helpful. Go to settings/other, use "generate log report" as in link and send the file

viewtopic.php?f=25&t=76746&p=397806#p395405
You didn't send what I requested. Please check picture and post the "octanelog_report.zip" file.
Attachments
crash_report.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
marco_py
Licensed Customer
Posts: 24
Joined: Fri Apr 12, 2019 9:45 pm
Location: UK

sent it via PM
3D Animator

5950X | 2x RTX 3090 | 128gb RAM | W11 Pro
User avatar
marco_py
Licensed Customer
Posts: 24
Joined: Fri Apr 12, 2019 9:45 pm
Location: UK

Also recorded it happening, unchecking some material properties makes it work again, or reloading them.
3D Animator

5950X | 2x RTX 3090 | 128gb RAM | W11 Pro
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

I think it's about R23 and mix materials, I see some weirdness. But fine with other materials
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”