Skip to content

Add testing for the webassembly example #2666

@Artis3D

Description

@Artis3D

F3D version 3.3.0
The example doesn't work because of following:
1.

Module.engineInstance
        .getOptions()
        .set_as_string("scene.up_direction", "+Z");

and

Module.engineInstance
        .getOptions()
        .set_as_string("scene.up_direction", "+Y");

There is no function set_as_string, should be changed to setAsString
2.

Module.engineInstance
        .getOptions()
        .set_color("render.grid.color", 0.25, 0.27, 0.33);

and

Module.engineInstance
        .getOptions()
        .set_color("render.grid.color", 0.67, 0.69, 0.75);

There is no function set_color, I changed it to setAsString("render.grid.color", "#....

Also, is it possible to add progressbar to example?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions