ExportLDraw icon indicating copy to clipboard operation
ExportLDraw copied to clipboard

Textures on curved custom parts not imported

Open MasterHastur opened this issue 10 months ago • 6 comments

I created a bunch of textured parts in PartDesigner, and most of them are displayed with their correct custom textures in Blender (2x2 tiles, 1x2 bricks, Slope 65° 2 x 2 x 2, minifig parts...), except one : a Wedge Curved 6 x 4 Triple (43712). I tried to redo the part in PartDesigner, and got the same result. I then tried to create two other custom curved parts (11477 Slope Curved 2 x 1 No Studs and 24309 Slope Curved 3 x 2 No Studs), and the custom textures for those parts weren't imported either. I don't know if its a bug or if textures on curved parts are not supported yet ?

I've attached a zip file containing the .dat for my custom 43712 part.

mE572520D_2024329_105856.zip

MasterHastur avatar Mar 29 '24 23:03 MasterHastur

I'll take a look.

cuddlyogre avatar Apr 02 '24 15:04 cuddlyogre

Thanks !

MasterHastur avatar Apr 02 '24 17:04 MasterHastur

I'm also encountering the same issue where textures do not display in Blender when using curved custom parts like 15068, 11477 ,61678 ... etc.

moc-master avatar May 25 '24 14:05 moc-master

@moc-master @MasterHastur Those parts don't actually have the texture in real life. If you need them to, I should be able to add that function. Or I can show you how to adjust the material to add the texture.

The list of textured part names is hard coded with their name and textured angles, so any new ones that are added to the library won't render properly. I'll need to come up with a more elegant solution eventually, but for now I just need to update the list.

If you could provide a list of any part names you know of with this problem, it will help.

cuddlyogre avatar May 25 '24 16:05 cuddlyogre

@moc-master @MasterHastur Those parts don't actually have the texture in real life. If you need them to, I should be able to add that function. Or I can show you how to adjust the material to add the texture.

The list of textured part names is hard coded with their name and textured angles, so any new ones that are added to the library won't render properly. I'll need to come up with a more elegant solution eventually, but for now I just need to update the list.

If you could provide a list of any part names you know of with this problem, it will help.

Thank you so much. I'll test it here and provide you with a list.

moc-master avatar May 26 '24 00:05 moc-master

@moc-master @MasterHastur Those parts don't actually have the texture in real life. If you need them to, I should be able to add that function. Or I can show you how to adjust the material to add the texture. The list of textured part names is hard coded with their name and textured angles, so any new ones that are added to the library won't render properly. I'll need to come up with a more elegant solution eventually, but for now I just need to update the list. If you could provide a list of any part names you know of with this problem, it will help.

Thank you so much. I'll test it here and provide you with a list.

invalid_20240526101230 test_parts.zip

Here are the attachments with screenshots and the problematic parts. I have already added the texture to them. Please kindly take a look for me. Below is a list of partnum I encountered after testing: 11477 15068 29119 29120 61678 88930

moc-master avatar May 26 '24 02:05 moc-master