Displacement on custom meshes - problems

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

Moderators: ChrisHekman, aoktar

Post Reply
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

Hey Guys,

I encountered an unexpected problem. I was going to texture a custom mesh with a displacement map. I thought it would be as simple as creating the mat and throw it on the object. But: Octane either crashes or is showing nothing. The map works perfectly fine on parametric and converted objects. See the attached screenshot below. Cube works fine, the splitted piece of my geometry shows nothing, as well a created mesh with the polypen. What am I missing?

Assigning the material to a selection of the main object and switching to another projection mode beside UVW does work but is slow as hell.

Here you can see the crashlog when switching to cubic projection on the splitted part.
Export materials time= 200.92 ms
Collect objects time= 44.978 ms
Mesh creation time = 215.785 ms.
MB:0/0 ST/MOV:0/496 Nodes:1050 Tris:0 DispTris:0 Hairs:0 Meshes:0
VRAM used/free/max:294Mb/5.984Gb/8Gb Out-of-core used:0Kb total used RAM:13.948Gb
Total export Time = 502.809 ms
plugin already locked the result before!
could not pick materials, because the geometry has changed and rendering is paused
could not pick materials, because the geometry has changed and rendering is paused
plugin already locked the result before!
Scene created in plugin version 2242000
Scene plugin version is older than version:3.06.2
Plugin will convert the parameters of displacement texture.
Animated attributes should be changed by manually!
Transfer LV settings to Octane VPost...
Scene created in plugin version 2242000
Scene plugin version is older than version:3.06.2
Plugin will convert the parameters of displacement texture.
Animated attributes should be changed by manually!
Transfer LV settings to Octane VPost...
--------------------------- EXPORT LOG ---------------------------
Export materials time= 35.516 ms
Collect objects time= 8.288 ms
Mesh creation time = 28.884 ms.
MB:0/0 ST/MOV:0/2 Nodes:25 Tris:0 DispTris:0 Hairs:0 Meshes:0
VRAM used/free/max:265Mb/5.953Gb/8Gb Out-of-core used:0Kb total used RAM:8.622Gb
Total export Time = 109.791 ms
plugin already locked the result before!
plugin already locked the result before!
CUDA error 719 on device 0: unspecified launch failure
-> kernel execution failed(report)
CUDA error 719 on device 0: unspecified launch failure
-> failed to launch kernel(ptBrdf2)
device 0: direct light kernel failed
----------------------------------------------------------------------------------------
<<< Render failure detected!!! >>>
Please check render statistics to solve the problem.
MB:0/0 ST/MOV:0/3 Nodes:27 Tris:126 DispTris:278 Hairs:0 Meshes:3
Device:0 TotMem:8Gb rtData:254Mb film:10Mb geo:213Mb node:2Kb tex:0Kb unavailable:1.728Gb temperature:60
Device:1 TotMem:8Gb rtData:254Mb film:11Mb geo:213Mb node:2Kb tex:0Kb unavailable:1.45Gb temperature:44
CUDA error 719 on device 1: unspecified launch failure
-> kernel execution failed(report)
CUDA error 719 on device 1: unspecified launch failure
-> failed to launch kernel(ptBrdf2)
device 1: direct light kernel failed
I attache the c4d file as well.

In short: how can i apply a displacement material to the curvy mesh?
Attachments
otoy forum_01.rar
(118.74 KiB) Downloaded 108 times
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

Alright, I got the problem. It was, as i expected, because of the lack of a proper UV map. Just unwrapped it properly and now it works. Anyway, maybe the crashfile helps Ahmet in some way or the Thread points someone els in the right direction. :)

Edit: another little issue: how can I get rid of the seems showing in the screenshot? midlevel is already at 0.5
Attachments
otoy_02.PNG
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
Nuji
Licensed Customer
Posts: 5
Joined: Wed Jan 11, 2017 3:55 pm

Only thing I can think of is unchecking "Angle Limit" in the Phong Tag.
Post Reply

Return to “Maxon Cinema 4D”