As far as I know, the file_packager never changes any data, except for
textures which you can optionally crunch before packaging, if you enable
that option. Perhaps try debugging the file load by dumping out the bytes
or computing a checksum?


2014-02-18 11:53 GMT+02:00 Mark Callow <[email protected]>:

>  On 2014/02/18 18:31, Jukka Jylänki wrote:
>
> No, the .data file will not contain the TOC, but the .js file.
>
> Oh! Silly me.
>
>  Did you use --preload-file with emcc or with file_packager.py? If you
> used emcc --preload-file ... -o output.js, then check the start of the file
> output.js, that will have the TOC.
>
> I see it at line 106, hardly the start of the file.
>
> I laid down some skidmarks (printfs) and it appears the file is actually
> being loaded. However the model it contains is not being rendered. I have
> many samples using the same rendering library but using built-in data that
> all work fine. I have 3 new samples that load data from files and nothing
> is rendered in any of them.  Their Win32 configs all work. I see no GL
> errors or warnings not even with WebGL Inspector.
>
> I suspect the data is somehow being changed by the packaging process in a
> way missed by the library's loader checks but enough to make the model not
> render.  Is anything about the data changed when it is packaged? I'm using
> emcc via MSVS.
>
> Regards
>
>     -Mark
> --
>  注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、
> 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます.
>
> NOTE: This electronic mail message may contain confidential and privileged
> information from HI Corporation. If you are not the intended recipient, any
> disclosure, photocopying, distribution or use of the contents of the
> received information is prohibited. If you have received this e-mail in
> error, please notify the sender immediately and permanently delete this
> message and all related copies.
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to