KeyShot Forum

Technical discussions => Rendering => Topic started by: NineAmulets on September 18, 2022, 06:28:44 PM

Title: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 18, 2022, 06:28:44 PM
I never used to have this problem before. Even though the image looks great, still has a lot of jagged lines and no matter what setting I use and even using denoise it doesn't go away. The render nurbs button is gray and it doesn't work. Any clues?

Thanks
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 18, 2022, 09:56:23 PM
Your model seems fine. If you're referring to the dark, jagged lines reflected on the inside of the ring, it's not a geometry issue. It's the HDRI environment. Use a higher resolution HDR image for the scene and you won't get jagged lines like that in your reflections. Either that or you could try scaling the current environment down in size. You may have stretched the image beyond its usable limits for reflections.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 19, 2022, 08:35:49 AM
Thanks. Yes, it appears to be environment images. I did notice that they look low-res even as you look at the thumb pics. They all look low-res and kind of blurred. I downloaded some from the cloud, and they look the same. How do I get the hi-res images? Is that some setting I have to change in KS

Thanks
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 19, 2022, 10:45:45 AM
That one you're using is only 2000x1000. So, you can either make a custom one in the HDRI editor or if you want to continue with a photo based HDR image, you can get very high-res files, for free here: https://polyhaven.com/hdris
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 19, 2022, 12:34:31 PM
I've downloaded a picture from the cloud that says 6000 x 3000, and the same thing happened. All the pictures that come with KS are high res, and I didn't have this problem before. It must be something else...OK, this is a new render using an environment downloaded from the site you recommended, 16K, and the result is the same and even more jagged. 
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 19, 2022, 12:57:56 PM
Strange. I'm getting smooth reflections using that initial HDR. This is a 20mm ring in an environment that is 297mm. Can you upload your KSP here? Maybe something else is going on.

Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 19, 2022, 04:32:01 PM
Yes. This render is what I'm used to with KS right out of the box. Here's the KSP...Thanks
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 19, 2022, 04:43:55 PM
The KSP you attached was empty. There's no model in it and the environment is the startup HDR.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 19, 2022, 07:37:59 PM
Try this one.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 19, 2022, 10:36:55 PM
On close inspection, I realize I was wrong. It is your model that is the problem. It's not smooth. You can see in the image, the HDR is clear. It's your model that has the lines in it. You need to smooth it out in your modeling program. I see that's Z Brush but I don't know anything about Z Brush and can't make a recommendation. Maybe someone else here can. Also, you are working in meters. For something as small as a ring you may want to go with millimeters for your scene units.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 19, 2022, 11:55:15 PM
Thank you for your support. I will try some changes based on your recommendations. The model has millions of polygons, I don't think that's what it is but the scene being in meters might be the problem. Thanks
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: RRIS on September 20, 2022, 01:02:17 AM
Sometimes I get those unsmoothed models in Keyshot, and I know I have smoothed them in my 3D software. In such cases you can try to use the Keyshot geometry edit to re-calculate the normals. That solved it for me the last time this happened.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: mattjgerard on September 20, 2022, 05:24:15 AM
When Importing things I have made in Cinema 4D i have had to recalculate the normals, and that worked. Wish there was a way to do that on import, would save me a ton of time.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 20, 2022, 07:37:05 AM
Excellent tip from RRIS here. I've never encountered a problem like this in my own work, so editing the normals isn't something I would have thought of. Out of curiosity, I tried it and it worked. And, it was easy. I just went into the EDIT NORMALS tool and clicked the CALCULATE VERTEX NORMALS button with everything at their default settings. It completely fixed the issue. Nice to see this can be done inside of KS.

Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: RRIS on September 20, 2022, 10:27:04 AM
Glad it worked :) Also, millions of polygons is probably overkill for a model like this. Your model will probably look absolutely fine with 1/10th of that.

edit: to elaborate a bit further, the last time this happened to me was with an imported .stl file, they sometimes have missing smoothing info (if they have it at all), and you can fix that by recalculating the normals in keyshot.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: TGS808 on September 20, 2022, 12:06:04 PM
Quote from: RRIS on September 20, 2022, 10:27:04 AM
Glad it worked :) Also, millions of polygons is probably overkill for a model like this. Your model will probably look absolutely fine with 1/10th of that.

edit: to elaborate a bit further, the last time this happened to me was with an imported .stl file, they sometimes have missing smoothing info (if they have it at all), and you can fix that by recalculating the normals in keyshot.

This isn't my model. It's NineAmulets. I was just trying to help him out but upon reading your suggestion, had to try it out for myself (using his model). Hopefully he stops back in to see your tip.
Title: Re: Rendering is jagged and nurb rendering is not working.
Post by: NineAmulets on September 20, 2022, 01:59:57 PM
Thanks! I think there is something wrong with my mode after all. Even though the model has more than 21 million polygons, it is still jagged. But after playing around with the edit normals, I got a sharper and smooth image with fewer polygons.