loading members at runtime 2004-03-01 - By Lucas Meijer
Back > I've jsut ran out an issue here last week : if you texture might > contains white borders, then forget about the importFileInto. Indeed > I've found no way to disable the trimWhiteSpacing when > importFileInto-ing a bmp member... which leads to texture with strange > sizes :?/ > The only workaround I've found so far was (thanks Kerry here!) to use a > dummy linked bmp member, with it's trimWhiteSpace property set to FALSE, > then to duplicate this member then setting its fileName.
Err maybe I've missed this conversation, but didn't:
member(1).importFileInto("c:\mybitmap.png",[#trimWhiteSpace:0])
do the trick? Couldn't find any talks on this topic in my dir3d-l archive.
Bye, Lucas __ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|