odd GI baking for VR
Posted: 21 May 2020 02:20 AM   [ Ignore ]  
Total Posts:  14
Joined  2017-04-03

Hi.

I’m trying to come up with a preset for a GI bake, for VR.

The results you see in the small jpg: (a larger one is in the zip file) The render from the camera view looks fine, but when I use the same set up for baking, light leaks and very odd shading on flat surfaces. Note the wall with the 2 doors.

My sample count is 10000, 6000 over the sample count recommended for baking. Yet, I still get these odd results.

Also note the corners, and the light leaks on the baked version.

Thank you in advance for any help!

Image Attachments
comparison.jpg
File Attachments
GI bake test.zip  (File Size: 177KB - Downloads: 4)
Profile
 
 
Posted: 21 May 2020 09:23 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  8231
Joined  2011-03-03

Hi tomvr,


The problem is not in your GI settings. The Ceilings Normal is not set for this object correctly. It is pointing to the outside. There, your light sources are taller, and so it takes this side. As a result, your baking looks different.

Flip that normal and perhaps adjust the light size. I would also take care first of the N-Gons (Mesh> N-Gons> Remove N-Gons, and pack the UV data, so you get clean results.

I have done several tests, even rendering the ceiling first, then exclude the Light sources from GI and casting shadows. All works fine.

Let me know if there is anything else, I’m happy to look into it.

Cheers, stay safe, stay healthy.

P.S.:
You scene file (jpgs for demo and size only)
https://www.amazon.com/clouddrive/share/XZpMWWP0NnYb6yupdvFpAv3llM24N0dGuDoZimO58BV

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 23 May 2020 09:00 AM   [ Ignore ]   [ # 2 ]  
Total Posts:  14
Joined  2017-04-03

Hi Dr. Sassi.

Once again, you’ve pointed me to a solution. It worked just how I’d hoped.

In this case, I’ve learned something I hadn’t experience before: packing UVs. I’ll need to explore that more.

Thanks. Again.

Have a safe, healthy weekend.

Profile
 
 
Posted: 23 May 2020 09:05 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
Total Posts:  8231
Joined  2011-03-03

You’re very welcome, tomvr, thanks for the feedback.

The question was an excellent example (… grateful for your question), why checking the mesh (e.g., Normals) is a good idea.

Thank you, stay safe, stay healthy,  and enjoy the weekend!

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile