Forum

canvas texture doumentation outdated

18 September 2018 17:39
the documentation of the canvas texture on
https://www.blend4web.com/doc/en/textures.html#canvas
Still referes to a "Source ID" / “canvas_id”, but this is never used in the code snipped and not shown in the blender interface.
https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=canvas_texture

it looks like the canvas texture behaviour changed from
linking an existing html canvas (via id as seen in the documentation)
to
every canvas texture creates their own offscreen canvas, which then is filled and updated (code snippet).

this confusion took me some hours of debugging and figuring out how this works…
 
Please register or log in to leave a reply.