Distance Map

Forums: Distance Map
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Re: Distance Map

Postby haffy » Wed Dec 08, 2021 8:57 am

haffy Wed Dec 08, 2021 8:57 am
Nice to see that so many are involved and probably interested in this also. It would be so great if this worked in C4D also or Blender, but preferably C4D as I do my main work there. Making asphalt, snow mixed with water or ice or any ground material for that matter would be taken to the next level. Especially when working with liquids that interact with the material.
3D Generalist.
haffy
Licensed Customer
Licensed Customer
 
Posts: 173
Joined: Mon Oct 26, 2015 12:19 pm
Location: SE

Re: Distance Map

Postby Meet » Wed Dec 08, 2021 2:02 pm

Meet Wed Dec 08, 2021 2:02 pm
haffy wrote:Nice to see that so many are involved and probably interested in this also. It would be so great if this worked in C4D also or Blender, but preferably C4D as I do my main work there. Making asphalt, snow mixed with water or ice or any ground material for that matter would be taken to the next level. Especially when working with liquids that interact with the material.

Hello haffy, it works fine in blender but it is compute heavy and mesh sdf only works with closed meshes

and yes, would like to know how to make it work in c4d
Attachments
Mesh SDF + Volume to Texture.blend
(10.61 MiB) Downloaded 83 times
blender_g70LOigUFC.png
Ryzen 9 5900x | 64GB RAM | 1x RTX 3090
Blender | C4D | Standalone
Win 10
Meet
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Thu Jan 07, 2021 10:59 am

Re: Distance Map

Postby SSmolak » Thu Jun 30, 2022 11:05 pm

SSmolak Thu Jun 30, 2022 11:05 pm
I think that one of the workaround to make distance map is to use Vertex Map with spline field layer ( which can be converted from object ) :

distance_vertex.jpg


distance_vertex2.jpg


distance_vertex3.jpg


Also the new Cinema R26.107 introduce curvature fields to vertex map :

distance_vertex_curvature.jpg


It is explained here : https://youtu.be/wkm-suj0_z8?t=2377

Vertex Maps can be used within materials in conjuction with gradient node and in Scatter too and they can be inverted.

Curvature or Dirt nodes can be used too for small distance :

distance_curvature.jpg


Next way is to use UV map created by cutting main ground polygon using Knife by splines ( converted from objects outlines ). These polygon islands in UV map mode can be colored by white color and creating low-res blurred image using Cinema's BodyPaint can be driven in Octane material by Gradient node to make distance from them.
Architectural Visualizations http://www.archviz-4d.studio
User avatar
SSmolak
Licensed Customer
Licensed Customer
 
Posts: 1086
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland

Re: Distance Map

Postby haffy » Mon Jul 04, 2022 6:27 am

haffy Mon Jul 04, 2022 6:27 am
Great SSmolak, this sounds like a good workaround.
3D Generalist.
haffy
Licensed Customer
Licensed Customer
 
Posts: 173
Joined: Mon Oct 26, 2015 12:19 pm
Location: SE
Previous

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 21 guests

Thu Apr 18, 2024 7:55 am [ UTC ]