Embed 3d object in patcher?

John Daniel's icon

Hello all!
I seem to remember finding a recipe for this on the forum somewhere - but I cannot track down the post.

Is there a way to embed a .dae into a max patcher without loading from disk each time?

(fyi in case this matters - this same patcher will end up in a standalone eventually)

thanks!!
jd

John Daniel's icon

Quick follow up that may or may not impact any answers - the .dae files that I will be using range from 1 meg to over 120mb in size...
thx
jd

Rob Ramirez's icon

jit.gl.model @file filename

if the file is not in the search path, use the full file path instead

John Daniel's icon

Thanks Rob!

ahhhhhh - let me re-frame question.... Am using the @file filename already

Example - The fpic object has a "Embed Image In Patcher" flag.

Can I (somehow) do this with a .dae? (or really - any kind of file - while I'm asking ; )
Maybe in a matrix?

"Solely" for the purpose of not mucking about with relative filepaths on different install machines - ALL the .dae data and the executable is in one big phat file.... : )

thanks !!
jd