Wireframe texture

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Posts: 4032
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Wireframe texture

Post by B.Y.O.B. » Wed Jan 27, 2021 10:36 pm

Dade wrote:
Wed Jan 27, 2021 8:09 pm
This is something can only be done at BlendLuxCore level because, for the time LuxCore receives the mesh, it has already been tessellated in triangles and any previous information about where the mesh coming from is not included.

I'm not even sure it is possible win BlendLuxcore:
It should be possible, maybe in pyluxcore::DefineBlenderMesh(), if I'm not mistaken.
But it's a very minor feature, so I won't put it on my Todo list for now. Anyone else is welcome to implement it of course.

User avatar
Dade
Developer
Posts: 5115
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Wireframe texture

Post by Dade » Wed Jan 27, 2021 11:23 pm

B.Y.O.B. wrote:
Wed Jan 27, 2021 10:36 pm
It should be possible, maybe in pyluxcore::DefineBlenderMesh(), if I'm not mistaken.
If you have the information required, it is possible, you have just to set the vertex AOVs used by wireframe texture in BlendLuxCore instead of using the Shape to automatically create them.
Support LuxCoreRender project with salts and bounties

CodeHD
Posts: 409
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Wireframe texture

Post by CodeHD » Thu Jan 28, 2021 11:11 am

Just a thought in case this does get implemented eventaully On the corona example:
I notice that the rendered teapot in corona has curved wireframe lines. Since that would not be the case with triangles as large as shown in the model, an equivalent feature probably needs to take subdivision modifiers into account.

User avatar
Dade
Developer
Posts: 5115
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Wireframe texture

Post by Dade » Thu Jan 28, 2021 12:03 pm

CodeHD wrote:
Thu Jan 28, 2021 11:11 am
Just a thought in case this does get implemented eventaully On the corona example:
I notice that the rendered teapot in corona has curved wireframe lines. Since that would not be the case with triangles as large as shown in the model, an equivalent feature probably needs to take subdivision modifiers into account.
Actually, Corona looks to me like it is just using a texture and is not related to the underlaying mesh at all :?:
Support LuxCoreRender project with salts and bounties

CodeHD
Posts: 409
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Wireframe texture

Post by CodeHD » Thu Jan 28, 2021 3:58 pm

Dade wrote:
Thu Jan 28, 2021 12:03 pm
Actually, Corona looks to me like it is just using a texture and is not related to the underlaying mesh at all :?:
Your're right. The edges in the render and UI screenshot looked identical at first glance (except the curvature), but they do appear to be slightly different in location.

JulianoLisboa
Posts: 60
Joined: Sat Feb 22, 2020 3:29 am

Re: Wireframe texture

Post by JulianoLisboa » Tue Feb 02, 2021 1:28 pm

Hello, what's up? And the shader bevel, how is it?

Post Reply