AB4D Forum
OBJ file not drawing correctly - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab4d.SharpEngine (https://forum.ab4d.com/forumdisplay.php?fid=12)
+--- Thread: OBJ file not drawing correctly (/showthread.php?tid=4504)



OBJ file not drawing correctly - Gilrock - 02-03-2026

I'm testing out Ab4d.SharpEngine to use for a project and we plan to get a 4-seat license if I can demonstrate it will work for us.  One of my main needs is going to be rendering OBJ files.  I tested with an OBJ file of my house.

This is what I get in Ab4d:
[Image: w5OwgHD.png]

This is what the house should look like.  I'm rendering this in a program I work on called xLights.  We use the tinyobjloader for loading the OBJ file.  All our code is freeware on GitHub under xLights Sequencer.  But I can't use that code for this new project.  We want to use Avalonia and Ab4d already has nice integration.
[Image: pEus7Er.png]


RE: OBJ file not drawing correctly - abenedik - 02-05-2026

From the images that you provided, it is hard to say what the cause of the problem is.

Please send me the obj file to my email or as a private message. This way, I will be able to investigate it. If there is a problem in the ReaderObj I will fix that and prepare a new pre-release version with the fix for you.