No smooth surfaces

Forums: No smooth surfaces
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

No smooth surfaces

Postby davorin » Sat Nov 17, 2018 9:15 am

davorin Sat Nov 17, 2018 9:15 am
Good morning

This is odd...or I just don't know how to do it...

If I just place a simple sphere and assign no material the surface looks kinda smooth though the shadow doesn't follow the sphere but the mesh preview.
It also makes no difference when choosing smooth or flat in the tools menu:

sphere_no_material.png
Sphere with no material set


As soon I assign a material the smoothness is gone and I have to set it in the material node...though the shadow is still rough and doesn't follow the sphere...

sphere_with_material.png
Sphere with material assigned


Is Octane unable to render perfect spheres or round edges?
Debian 10.2 on AMD 1950X, 64GB RAM, 2 * RTX2080Ti
Octane Blender Studio 2020.1-XB3-21.3
Blender 2.83 E_Cycles
davorin
Licensed Customer
Licensed Customer
 
Posts: 150
Joined: Tue Oct 09, 2018 1:17 pm

Re: No smooth surfaces

Postby dktw » Sat Nov 17, 2018 10:47 am

dktw Sat Nov 17, 2018 10:47 am
hi,
try checking "smooth" box in shader node
Attachments
smooth.jpg
dktw
Licensed Customer
Licensed Customer
 
Posts: 50
Joined: Mon Dec 02, 2013 6:24 pm

Re: No smooth surfaces

Postby davorin » Sat Nov 17, 2018 10:59 am

davorin Sat Nov 17, 2018 10:59 am
Yes...and the result is above..the orange sphere...

Pretty ugly for "smooth" (o;

Especially the shadow...
Debian 10.2 on AMD 1950X, 64GB RAM, 2 * RTX2080Ti
Octane Blender Studio 2020.1-XB3-21.3
Blender 2.83 E_Cycles
davorin
Licensed Customer
Licensed Customer
 
Posts: 150
Joined: Tue Oct 09, 2018 1:17 pm

Re: No smooth surfaces

Postby milanm » Sat Nov 17, 2018 11:18 am

milanm Sat Nov 17, 2018 11:18 am
This is known as the "terminator problem". It's well known in cg industry. TL;DR: -> You need more polygons to better define your geometry for a raytracing/pathtracing algorithm unless you are planing to fake your shadows in compositing or adjust rayepsilon. It's normal. There was a huge discussion about this a long time ago on these forums but I am simply too tired to look for it now.

This exists in all render engines that are calculating shadows by tracing rays.

It's more pronounced for directional and really small lights. You can reduce it by increasing the 'sun size' or the size of your mesh lights (to make a 'softer' shadow) or,again ,by adding more polygons to your geometry.

Here is a reference if you want to learn why is that happening:
https://fenix.tecnico.ulisboa.pt/downloadFile/1689468335601264/Its-Really-Not-a-Rendering-Bug-You-see....pdf

Cheers
Milan
Colorist / VFX artist / Motion Designer
macOS - Windows 7 - Cinema 4D R19.068 - GTX1070TI - GTX780
milanm
Licensed Customer
Licensed Customer
 
Posts: 261
Joined: Tue Apr 30, 2013 7:23 pm

Re: No smooth surfaces

Postby grimm » Sat Nov 17, 2018 9:28 pm

grimm Sat Nov 17, 2018 9:28 pm
Adding bump or normal textures help as well.
Linux Mint 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: No smooth surfaces

Postby milanm » Sat Nov 17, 2018 10:17 pm

milanm Sat Nov 17, 2018 10:17 pm
grimm, you've inspired me to try another method.

I always thought this should work in theory but I never had a good reason to test it. Just tried it and it worked great -> Try adding a 0.01 amount displacement. It's enough to basically teselate the object into voxels and eliminate this problem. Any texture map will do.

lowpolysphere.JPG


Cheers
Milan
Colorist / VFX artist / Motion Designer
macOS - Windows 7 - Cinema 4D R19.068 - GTX1070TI - GTX780
milanm
Licensed Customer
Licensed Customer
 
Posts: 261
Joined: Tue Apr 30, 2013 7:23 pm

Re: No smooth surfaces

Postby grimm » Sun Nov 18, 2018 9:05 am

grimm Sun Nov 18, 2018 9:05 am
Ha, cool, great idea! :D
Linux Mint 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Re: No smooth surfaces

Postby J.C » Sun Nov 18, 2018 12:20 pm

J.C Sun Nov 18, 2018 12:20 pm
milanm wrote:grimm, you've inspired me to try another method.

I always thought this should work in theory but I never had a good reason to test it. Just tried it and it worked great -> Try adding a 0.01 amount displacement. It's enough to basically teselate the object into voxels and eliminate this problem. Any texture map will do.

lowpolysphere.JPG


Cheers
Milan


That's awesome idea :)
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1721
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: No smooth surfaces

Postby davorin » Sun Nov 18, 2018 12:45 pm

davorin Sun Nov 18, 2018 12:45 pm
Hmm..I don't see any difference adding a texture to displacement...

Beides...there is no option to enter a numeric value for displacement in Blender.
Debian 10.2 on AMD 1950X, 64GB RAM, 2 * RTX2080Ti
Octane Blender Studio 2020.1-XB3-21.3
Blender 2.83 E_Cycles
davorin
Licensed Customer
Licensed Customer
 
Posts: 150
Joined: Tue Oct 09, 2018 1:17 pm

Re: No smooth surfaces

Postby grimm » Sun Nov 18, 2018 7:47 pm

grimm Sun Nov 18, 2018 7:47 pm
I took a couple of quick screenshots to show how this is done. The fist capture shows the terminal issue with displacement unconnected:

term-disp1.png


And here it is with displacement connected and I drew an arrow to the height setting, which I just left as default:

term-disp2.png


You do have to make sure you UV unwrap the sphere for it to work.

Jason
Linux Mint 20 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 460.56
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1321
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA
Next

Return to Blender


Who is online

Users browsing this forum: No registered users and 15 guests

Fri Apr 19, 2024 3:07 pm [ UTC ]