Skip to content

Xflow: No operator with name 'xflow.add' found #100

Closed
@j4yk

Description

@j4yk

Xflow tells me that xflow.add could not be found (the issue title is the error message from the console) and I have no clue why. Below is a subset of my code which triggers this error (verified by removing everything else except html boilerplate). What could possibly cause this?

    <script src="http://www.xml3d.org/xml3d/script/xml3d.js" type="text/javascript"></script>
    <script src="http://www.xml3d.org/xml3d/script/tools/camera.js" type="text/javascript"></script>
    <!-- ... -->
        <dataflow id="createBoxesFromPointCloud" out="position">
            <float3 param="true" name="center"></float3>
            <float3 param="true" name="extent"></float3>
            <compute>
                position = xflow.add(center, extent);
            </compute>
        </dataflow>
        <mesh type="tristrips" style="shader: #boxInstancesShader">
            <data compute="dataflow['#createBoxesFromPointCloud']">
                <float3 name="center">0 0 0 0.463232 0.005 0.49296 ...</float3>
                <float3 name="extent">1 0.005 1 0.0374403 0.005 0.0130795 ...</float3>
            </data>
        </mesh>

PS. is there another active channel for questions about XML3D/Xflow that are not possibly bug reports or feature requests but rather calls for help? :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions