Author Topic: Curvature to opacity  (Read 1181 times)

2023-04-07, 10:20:28

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
I can't get the curvature node to work as a black and white mask to drive the opacity, nothing is displayed
the wireframe node works but the problem is that there is no option to detriangulate

thanks for your feedback

2023-04-07, 10:30:32
Reply #1

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
Hi, can you share an example of your setup?
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 10:32:37
Reply #2

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
it work with refraction but no opacity

2023-04-07, 10:35:20
Reply #3

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
in fact I want to make a wireframe style rendering with the curvature knob
 

2023-04-07, 10:39:22
Reply #4

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
it work with refraction but no opacity
Really? ;)


Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 10:43:20
Reply #5

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
could you show me your shader preset

thx

2023-04-07, 10:54:30
Reply #6

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
with self illumination it work; strange

2023-04-07, 10:57:45
Reply #7

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
sample

2023-04-07, 11:28:10
Reply #8

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
Do you have more info on the look you are trying to go for?

Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 12:58:00
Reply #9

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
https://www.dropbox.com/t/VPG3hn8hZcIPuHCd

Try with this model

I don't see triangulate edge ;)

2023-04-07, 14:12:26
Reply #10

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
Here's the model with wire and opacity:



Another option to render a wire frame is to select all the edges and use the ''edge to spline'' command in C4D, you can then use a Corona render spline tag and the result is as shown.



Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 15:00:50
Reply #11

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
ok but I don't want to see the triangles.
what is your solution with shaders
I use RKT mesh to spline but the model is too big for an animation. I'm looking for a solution to make the shape wire appear without seeing the triangles. Because I can't detriangulate the model, too long

2023-04-07, 15:20:41
Reply #12

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
Are you referring to these?
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 15:46:24
Reply #13

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
yess
all geometry are triangulate and i wish don't see on wire ;)

2023-04-07, 16:00:42
Reply #14

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
They are there, but then so is every other edge and it becomes crowded/messy. ;)

Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 16:08:24
Reply #15

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
that's why I want to go through the curvature node because the wireframe node doesn't fit in this situation

2023-04-07, 16:45:00
Reply #16

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3619
  • Bengamin
    • View Profile
    • Cormats
Sorry, I'm still a little confused what exactly you want. Only edges? Only triangles? Or both? Do you have any reference images of the style you are after?

Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-04-07, 17:41:35
Reply #17

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
I want the outline of the object


2023-04-08, 01:23:33
Reply #18

bnji

  • Corona Team
  • Active Users
  • ****
  • Posts: 162
  • Benjamin
    • View Profile
    • Corona Renderer
Hi there,
I believe that you'll still need to optimize the model.
Please consider that if your model has been imported from a 3rd party app/host software, it will be loaded into C4D as a triangulated mesh, which is normal.
Once in C4D, you need to optimize the model (cleaning the model a bit); you can use the "Optimize" command and then run the "Untriangulate" command and see if the resulting mesh is what you're looking for.
You can't magically expect to solve the issues that come with an imported model made in another software.
I think I understand the result you're looking for, but still, I'll suggest first cleaning/optimizing your model, then using a shader or maybe using the suggestion provided by Beanzvision will take you to the desired result.
Cheers ;)
Benjamin Rosas | chaos-corona.com
3D Support Specialist - Corona | contact us
Corona Uploader l Upload

2023-04-08, 08:40:07
Reply #19

leo3d

  • Active Users
  • **
  • Posts: 185
    • View Profile
    • Leo3D
Thank you for your feedback.
But not having the hand and time to clean the model I was just looking for a solution with the shaders.
For me there is a problem with the Curvature node when it is connected to the transparency.

But I found the solution. I had to activate the self illumination

But when I want to remove the shadows with the composition tag it doesn't work anymore

2023-04-08, 10:08:57
Reply #20

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8618
  • Let's move this topic, shall we?
    • View Profile
    • My Models
It's just a guess, but i think the reason why the curvature shader seemingly don't work for you in opacity slot unless you turn on self-illum, might be because opaque (the white part) in your shader might be too weak to be noticeable. Try to play with ray directionality and/or colour spread and see if you can get better result. You may also want to plug Corona colour correct shader between curvature and material and increase brightness and contrast there.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures