You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to enable the meshes inclusion on main executable
these are 2 minimal changes:
-on tmodel.bmx
file=openstream("littleendian::"+f_name$)
must be changed on:
file=readstream("littleendian::"+f_name$)
and
-on ttexture.bmx
Local TS:TStream = OpenFile(file$,True,False)
must be changed on:
Local TS:TStream = readFile(file$)
...
this fixes the loading of INCBIN meshes but textures can't be INCBIN-ed :( (but
putted on same directory of main executable) this prevent to share proprietary
3d models
Original issue reported on code.google.com by d...@3nt.net on 15 May 2011 at 8:41
The text was updated successfully, but these errors were encountered:
Hi,
I have the same wish to load from included binaries. I couldn't find the files
you are referring to (tmodel), so I did it another way: I modified assimp.bmx
and common.bmx so as to use the assimp function "aiImportFileFromMemory" when
incbin is detected.
I attach my changes.
JM.
Original comment by jeanmari...@gmail.com on 16 Jan 2013 at 10:27
Original issue reported on code.google.com by
d...@3nt.net
on 15 May 2011 at 8:41The text was updated successfully, but these errors were encountered: