Photo-video rendering plug-in

This topic has been viewed 2478214 times and has 270 replies
Thread status: Active
Test the features and bug fixes of future versions [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
sjb007
Advanced Member
Posts: 357
Joined: Tue May 18, 2021 1:49 pm

Re: Photo-video rendering plug-in

Post by sjb007 »

What the Jimeny Cricket is that?!?!

That is very strange looking, and I've not seen anything like that in my limited testing using Linux. Any chance you can attach (or make available for download) an example SH3D file that demonstrates this? I want to see if this happens in Linux too. It might be something funky with the Windows compile of Yafaray included in DD3D. I've no idea how the compilation of Yafaray dll's was done in the past. I got Claude to build a CI pipeline using Github. It uses one of their windows containers, sets up an environment, and compiles the dll's for windows there. These are then bundled into the test release package. It runs some headless tests, but as I've fully dropped Windows, I don't have a way of doing eyes-on checks.
User avatar
GudmHr
Newbie
Posts: 13
Joined: Wed Sep 11, 2024 3:17 pm
Country: Iceland

Re: Photo-video rendering plug-in

Post by GudmHr »

Well there is a trouble on the horizon, and the sky texture IBL is not active.
The other file is about 50MB, so I threw up asimpler scene.
Thanks, guy's!
Attachments
Avant_DD3D_Q1.png
Avant_DD3D_Q1.png (341.33 KiB) Viewed 279 times
Avant_DD3D_native_PM.png
Avant_DD3D_native_PM.png (360.18 KiB) Viewed 279 times
User avatar
GudmHr
Newbie
Posts: 13
Joined: Wed Sep 11, 2024 3:17 pm
Country: Iceland

Re: Photo-video rendering plug-in

Post by GudmHr »

And here is a SPPM render for comparison:
Attachments
Avant_SH3D_PVR262_SPPM.png
Avant_SH3D_PVR262_SPPM.png (513.33 KiB) Viewed 275 times
sjb007
Advanced Member
Posts: 357
Joined: Tue May 18, 2021 1:49 pm

Re: Photo-video rendering plug-in

Post by sjb007 »

GudmHr wrote: Tue Nov 17, 2026 12:27 am Well there is a trouble on the horizon
Punny! But where is the test file? I can't replicate using a png. I need the saved .sh3d file. Is it failing to be attached here? If so you could use one of a multitude of file sharing services, and share the link.
User avatar
GudmHr
Newbie
Posts: 13
Joined: Wed Sep 11, 2024 3:17 pm
Country: Iceland

Re: Photo-video rendering plug-in

Post by GudmHr »

Here it is.
Attachments
Moulding.sh3d
(4.86 MiB) Downloaded 19 times
sjb007
Advanced Member
Posts: 357
Joined: Tue May 18, 2021 1:49 pm

Re: Photo-video rendering plug-in

Post by sjb007 »

Yup. As I suspected, it looks like it is a Windows specific issue. This is straight from your file. I only checked it was in PM mode with the 1M caustic photons, and then hit create:
Screenshot From 2026-11-17 15-43-49.png
Screenshot From 2026-11-17 15-43-49.png (390.17 KiB) Viewed 218 times

I'll try feeding it as a test file to the AI and see if it can figure it out, but troubleshooting this will be tricky.
sjb007
Advanced Member
Posts: 357
Joined: Tue May 18, 2021 1:49 pm

Re: Photo-video rendering plug-in

Post by sjb007 »

OK, a couple of avenues are being explored. The easier one right now is some CPU/thread count issue (less likely to me). So for me and Claude to check on our side:
  • What CPU is DD3D running under?
  • Core/threading count?
  • Is it virtualised in any way? i.e. running under VirtualBox.
The second (more likely to me) is that Windows is using FAST_MATH with MinGW in the build that does bit twiddling tricks, whereas Linux is using glibc, and a difference between those two libraries is causing the issue.

[Update @18:46] OK, I've got yellow pixels too on Linux, so not specific to Windows. Seems to be more related to "Direct Lighting". With a build with some debug options the renderer is switching to DL instead of PM for me, and then I see yellow pixels like you. I'd be interested if you see the same symptom if you try to manually force DL.
User avatar
GudmHr
Newbie
Posts: 13
Joined: Wed Sep 11, 2024 3:17 pm
Country: Iceland

Re: Photo-video rendering plug-in

Post by GudmHr »

I rendered the scene in DD3D with Direct lighting method. There were no yellow pixels and the sky texture IBL was clearly working. I see that it is not working in the render you made.
Best wishes.
sjb007
Advanced Member
Posts: 357
Joined: Tue May 18, 2021 1:49 pm

Re: Photo-video rendering plug-in

Post by sjb007 »

@Gudmhr Can you try the new test release at: https://github.com/DobryDom3D/DobryDom3 ... 4f37a656ed

After reproducing and trying a couple of variants, the short explanation is that it looks like newer compilers might be causing issues. By adding

Code: Select all

-fno-finite-math-only
as a compile flag on the yafaray lib, it fixed the yellow pixels for me. Hopefully this also works for this Windows build (MinGW/GCC 16.2). (The original SH3D developer, Emmanuel, doesn't appear to have left details of how he built the Yafaray lib, so this might be a bit of trial and error.)
User avatar
GudmHr
Newbie
Posts: 13
Joined: Wed Sep 11, 2024 3:17 pm
Country: Iceland

Re: Photo-video rendering plug-in

Post by GudmHr »

I have rendered both scenes and the yellow pixels are gone.
Well done, sjb007.
Post Reply New Topic