kpiorno / kivy3dgui

Pure Kivy library to display and interact with Kivy widgets in a 3D mesh.
MIT License
127 stars 29 forks source link

Issues on loading large obj files #9

Open MukundSutrave opened 5 years ago

MukundSutrave commented 5 years ago

engine.zip

I get the following error when loading large obj files. I have attached the concerned obj file and the code file as well. 3d_render.zip

kivy.graphics.vertex_instructions._ensure_ushort_view OverflowError: value too large to convert to unsigned short

kpiorno commented 5 years ago

Hi @MukundSutrave, I'll check the issue soon. Thanks.

moonpyx commented 3 years ago

Hi @kpiorno, @MukundSutrave make some adjustments to accept objects that exceed the limit of 65535 kivy indices and manage to load large objects, it is necessary to improve load performance but it is a step

this is PR https://github.com/kpiorno/kivy3dgui/pull/12

kpiorno commented 3 years ago

@jeyfrinjulian It looks good 👍