Some 3D models are very dark - Diptrace 5.0 Beta (May 31st 2024)

Report bugs here
Post Reply
Message
Author
NearFarMedia
Posts: 10
Joined: 01 Oct 2020, 09:53

Some 3D models are very dark - Diptrace 5.0 Beta (May 31st 2024)

#1 Post by NearFarMedia » 09 Jun 2024, 06:25

I have found an issue that some 3D models are rendered very dark to be almost entirely black in Diptrace 5.0 Beta May 31, 2024.
In Diptrace v4.3.0.6, they appear fine.

Also, When attempting to export this PCB as a STEP or VRML file from the 3D viewer, it hangs and will not complete the export in both versions.


Is there any known workaround?


[EDIT] It seems the 3D viewer in the Pattern Editor shows the part very dark in v5.0 Beta too.
Attachments
Diptrace v4.3.0.6
Diptrace v4.3.0.6
DIptrace-v4305-3DView.JPG (126.54 KiB) Viewed 6011 times
Diptrace v5.0 Beta - May 31, 2024
Diptrace v5.0 Beta - May 31, 2024
DIptrace-v50-3DView.JPG (111.77 KiB) Viewed 6011 times

Alex
Technical Support
Posts: 4041
Joined: 14 Jun 2010, 10:43

Re: Some 3D models are very dark - Diptrace 5.0 Beta (May 31st 2024)

#2 Post by Alex » 10 Jun 2024, 09:40

Thank you for the report. Could you let me know 3D model name and we will compare its rendering in both versions.

NearFarMedia
Posts: 10
Joined: 01 Oct 2020, 09:53

Re: Some 3D models are very dark - Diptrace 5.0 Beta (May 31st 2024)

#3 Post by NearFarMedia » 10 Jun 2024, 14:07

I have attached the STEP file of the part, but I just found the cause of the issue anyway. It seems the new renderer trips up on inwards facing normals and possibly non-manifold geometry.
While I was thinking about it, I thought I should check the normals on a whim (I didn't make the original model, only modified it) and found they were inwards facing.

Once I flipped the normals and fixed the geometry, I found the part renders correctly and the export works too, so all is good as long as I remember to check normals on my 3D models (Or the renderer can be updated to not care as per the v4 renderer).

The attached file has the inwards facing normals/weird geometry and a fixed version of the same model that I made so you can replicate the issue if needed.



Also, if I can make a small request.... If copper, solder mask and silk layers etc could be exported in the STEP file as they are in the VRML file, that would be really good for mechanical design purposes too. :)
(Although, I noticed that solder mask isn't exported in VRML?)
Attachments
USB4130-GF-C_fixed.zip
(143.08 KiB) Downloaded 360 times
USB4130-GF-C.zip
(181.23 KiB) Downloaded 344 times

Post Reply