<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding threejs to a custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181110#M32826</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/337650"&gt;@cesarecaoduro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Power BI visuals are not set up for async operations by default. Looks like threejs might require this, so this can be mitigated by adding &lt;A href="https://www.npmjs.com/package/regenerator-runtime" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;regenerator-runtime&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;to your project.&lt;/P&gt;
&lt;P&gt;From the command line in your project's root folder (assuming you're using npm for package management), run the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;npm i regenerator-runtime&lt;/LI-CODE&gt;
&lt;P&gt;At the top of your &lt;FONT face="courier new,courier"&gt;visual.ts&lt;/FONT&gt;, add an &lt;FONT face="courier new,courier"&gt;import&lt;/FONT&gt;, similar to the following:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import 'core-js/stable';
import 'regenerator-runtime/runtime';  /* &amp;lt;---- add this line */
import '../style/visual.less';&lt;/LI-CODE&gt;
&lt;P&gt;Re-run &lt;FONT face="courier new,courier"&gt;pbiviz start&lt;/FONT&gt; and this particular error should go away when you re-initialise your visual.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 18:25:47 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-11-09T18:25:47Z</dc:date>
    <item>
      <title>Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2179610#M32804</link>
      <description>&lt;P&gt;I am tring to add threejs to a custom visual but I keep receiveng always the same error.&lt;/P&gt;&lt;P&gt;I have initialized a simple custom visual using pbiviz and then just installed threejs via npm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "name": "visual",
  "description": "default_template_value",
  "repository": {
    "type": "default_template_value",
    "url": "default_template_value"
  },
  "license": "MIT",
  "scripts": {
    "pbiviz": "pbiviz",
    "start": "pbiviz start",
    "package": "pbiviz package",
    "lint": "tslint -c tslint.json -p tsconfig.json"
  },
  "dependencies": {
    "@babel/runtime": "7.6.0",
    "@babel/runtime-corejs2": "7.6.0",
    "@types/d3": "5.7.2",
    "@types/three": "^0.134.0",
    "core-js": "3.2.1",
    "d3": "5.12.0",
    "powerbi-visuals-api": "~3.8.0",
    "powerbi-visuals-utils-dataviewutils": "2.2.1",
    "three": "^0.134.0"
  },
  "devDependencies": {
    "ts-loader": "6.1.0",
    "tslint": "^5.18.0",
    "tslint-microsoft-contrib": "^6.2.0",
    "typescript": "3.6.3"
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;simple pbiviz.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "visual": {
        "name": "pbiifc",
        "displayName": "pbiifc",
        "guid": "pbiifcAC7183C660094BBFBAF6377A0971F532",
        "visualClassName": "Visual",
        "version": "1.0.0",
        "description": "",
        "supportUrl": "",
        "gitHubUrl": ""
    },
    "apiVersion": "3.8.0",
    "author": {
        "name": "Cesare Caoduro",
        "email": "cesare.caoduro@aecom.com"
    },
    "assets": {
        "icon": "assets/icon.png"
    },
    "style": "style/visual.less",
    "capabilities": "capabilities.json",
    "dependencies": null,
    "stringResources": []
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tsconfing.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "compilerOptions": {
        "allowJs": false,
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "target": "es6",
        "sourceMap": true,
        "outDir": "./.tmp/build/",
        "moduleResolution": "node",
        "declaration": true,
        "lib": [
            "es2015",
            "dom"
        ]
    },
    "files": [
        "./src/visual.ts"
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and visual.ts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/*
*  Power BI Visual CLI
*
*  Copyright (c) Microsoft Corporation
*  All rights reserved.
*  MIT License
*
*  Permission is hereby granted, free of charge, to any person obtaining a copy
*  of this software and associated documentation files (the ""Software""), to deal
*  in the Software without restriction, including without limitation the rights
*  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
*  copies of the Software, and to permit persons to whom the Software is
*  furnished to do so, subject to the following conditions:
*
*  The above copyright notice and this permission notice shall be included in
*  all copies or substantial portions of the Software.
*
*  THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
*  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
*  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
*  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
*  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
*  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
*  THE SOFTWARE.
*/
"use strict";
import { Scene } from "three";

import "core-js/stable";
import '../style/visual.less'
import powerbi from "powerbi-visuals-api";
import VisualConstructorOptions = powerbi.extensibility.visual.VisualConstructorOptions;
import VisualUpdateOptions = powerbi.extensibility.visual.VisualUpdateOptions;
import IVisual = powerbi.extensibility.visual.IVisual;
import EnumerateVisualObjectInstancesOptions = powerbi.EnumerateVisualObjectInstancesOptions;
import VisualObjectInstance = powerbi.VisualObjectInstance;
import DataView = powerbi.DataView;
import VisualObjectInstanceEnumerationObject = powerbi.VisualObjectInstanceEnumerationObject;

import { VisualSettings } from "./settings";

const scene = new Scene();

export class Visual implements IVisual {
    private target: HTMLElement;
    private updateCount: number;
    private settings: VisualSettings;
    private textNode: Text;
    private scene: Scene;

    constructor(options: VisualConstructorOptions) {
        console.log('Visual constructor', options);
        this.scene = new Scene();

        this.target = options.element;
        // this.updateCount = 0;
        if (document) {
            const new_div: HTMLElement = document.createElement("div");
            new_div.id = "threejs-canvas";
            console.log(new_div);
            this.target.appendChild(new_div);
        }
    }

    public update(options: VisualUpdateOptions) {
        this.settings = Visual.parseSettings(options &amp;amp;&amp;amp; options.dataViews &amp;amp;&amp;amp; options.dataViews[0]);
        console.log('Visual update', options);
    }

    private static parseSettings(dataView: DataView): VisualSettings {
        return &amp;lt;VisualSettings&amp;gt;VisualSettings.parse(dataView);
    }

    public enumerateObjectInstances(options: EnumerateVisualObjectInstancesOptions): VisualObjectInstance[] | VisualObjectInstanceEnumerationObject {
        return VisualSettings.enumerateObjectInstances(this.settings || VisualSettings.getDefault(), options);
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the error I am getting&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-11-09 16_26_54-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/627761i16293C4BDA099AAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-11-09 16_26_54-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" alt="2021-11-09 16_26_54-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Don't think this should be a very complicated task?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 05:35:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2179610#M32804</guid>
      <dc:creator>cesarecaoduro</dc:creator>
      <dc:date>2021-11-09T05:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181110#M32826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/337650"&gt;@cesarecaoduro&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Power BI visuals are not set up for async operations by default. Looks like threejs might require this, so this can be mitigated by adding &lt;A href="https://www.npmjs.com/package/regenerator-runtime" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;regenerator-runtime&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp;to your project.&lt;/P&gt;
&lt;P&gt;From the command line in your project's root folder (assuming you're using npm for package management), run the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;npm i regenerator-runtime&lt;/LI-CODE&gt;
&lt;P&gt;At the top of your &lt;FONT face="courier new,courier"&gt;visual.ts&lt;/FONT&gt;, add an &lt;FONT face="courier new,courier"&gt;import&lt;/FONT&gt;, similar to the following:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import 'core-js/stable';
import 'regenerator-runtime/runtime';  /* &amp;lt;---- add this line */
import '../style/visual.less';&lt;/LI-CODE&gt;
&lt;P&gt;Re-run &lt;FONT face="courier new,courier"&gt;pbiviz start&lt;/FONT&gt; and this particular error should go away when you re-initialise your visual.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 18:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181110#M32826</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-11-09T18:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181493#M32829</link>
      <description>&lt;P&gt;Following this discussion, I have managed to get the threejs viewer to load in the canvas.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-11-10 10_09_37-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/628389i9AA1B22F610D50EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-11-10 10_09_37-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" alt="2021-11-10 10_09_37-TestCustomViz-01 - Power BI and 6 more pages - Work - Microsoft​ Edge.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next steps are the possibility to reference a file that sits under the asset folder. This file is a wasm that is required by the IFCLoader to work within the viewer. The console is giving a cors error thou.&lt;/P&gt;&lt;P&gt;At the same time I have enabled the possibility lo load an IFC file from the local drive and this will be the file that I will use for extracting the information. Also this is giving a cors error!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-11-10 11_05_28-TestCustomViz-01 - Power BI and 8 more pages - Work - Microsoft​ Edge.jpg" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/628391i76F664BBF1649245/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-11-10 11_05_28-TestCustomViz-01 - Power BI and 8 more pages - Work - Microsoft​ Edge.jpg" alt="2021-11-10 11_05_28-TestCustomViz-01 - Power BI and 8 more pages - Work - Microsoft​ Edge.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe this is an interesting topic that, once solved, can open endless opportunities.&lt;/P&gt;&lt;P&gt;Thanks for any additional support.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:07:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181493#M32829</guid>
      <dc:creator>cesarecaoduro</dc:creator>
      <dc:date>2021-11-10T00:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181516#M32830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/337650"&gt;@cesarecaoduro&lt;/a&gt;,&amp;nbsp;and glad to see you are making progress. If you've marked a question as solved, I'd suggest posting in a new thread as folks might miss any replies after that (I got a notification as I'm subscribed to the thread).&lt;/P&gt;
&lt;P&gt;Custom visuals run in a sandboxed iframe and as such have no domain. This means that if you're trying to load a file relative to your project, the main window assumes that you're trying to load a file relative to powerbi.com and because the domain is &lt;FONT face="courier new,courier"&gt;null&lt;/FONT&gt; this will cause the CORS error. I wrote a summary up for one of my visuals, that can also be applied to any custom visual as the permissions cannot be overridden.&amp;nbsp;&lt;A href="https://www.html-content.com/reference/limitations" target="_self"&gt;Here's the details if you want to read them&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Additionally, files in the assets folder (other than the icon) are not packaged so there are not endpoints for them in the webpack build. Because of the iframe restrictions, lazy-loading over HTTP is currently not possible. It is however possible to load from a remote server that has an Access-Control-Allow-Origin set to * in their response headers.&lt;/P&gt;
&lt;P&gt;You can use a HTML input element (&lt;FONT face="courier new,courier"&gt;type="file"&lt;/FONT&gt;) to present the user with a dialog to open a file and manage the loading via JS. Therefore, if you're just using the file in your assets folder for static testing and would prefer this functionality, I'd recommend skipping over this (unless you can host on a suitable domain and serve over HTTP).&lt;/P&gt;
&lt;P&gt;You might also be able to use &lt;A href="https://github.com/microsoft/powerbi-visuals-webpack-plugin" target="_self"&gt;powerbi-visuals-webpack-plugin&lt;/A&gt;&amp;nbsp;to override certain aspects of the standard webpack configuration (e.g. if you need particular loaders). I'm 99% confident you cannot load files through this mechanism even if you create endpoints for them as most browsers still treat these behavious as a CORS violation in sandboxed iframes. I have lost count of the amount of time I have spent trying to solve this approach for loading web workers, so if you want to try and are successful, I'd be very excited to know how you did it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:25:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181516#M32830</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-11-10T00:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181519#M32831</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in simple words you are saying:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I can place the *.wasm file somewhere in another domain and then point to that domain&lt;/LI&gt;&lt;LI&gt;I can load the IFC file from the dialog and save that somewhere else and have that as a reference URL (or just for testing I can manually upload that file somewhere where I have read rights - AWS buckets?)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am not going to try to build a custom webpack, but I have seen 3D viewer around, so I am pretty sure this can be achieved.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:34:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181519#M32831</guid>
      <dc:creator>cesarecaoduro</dc:creator>
      <dc:date>2021-11-10T00:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181522#M32832</link>
      <description>&lt;P&gt;Yup - you can place a file somewhere like that - it's not just read rights though; make sure there are no cross-domain restrictions or firewalling applied at the server level for those endpoints. I can't speak for AWS but for some Azure assets I need to explicitly enable this so that cross-domain calls from iframes with no origin are possible (otherwise you'll get the same problem).&lt;/P&gt;
&lt;P&gt;I haven't seen the 3D viewer you mention, but I'm sure that they will mandate a similar approach for users, or will allow uploads via the file dialog (or a combination of the two). It could be worth seeing how they do it or reach out to the developers to see if they have any lessons that they can provide you to help narrow your focus on the things that can work. There are a lot of things that are simple to do in a regular web application that become difficult via custom visuals due to the constraints impose by the main window.&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:43:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181522#M32832</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-11-10T00:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181530#M32833</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;will try...&lt;/P&gt;&lt;P&gt;this is one the viewers I am talking about.&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.provingground.io/tracer/" target="_blank"&gt;Tracer For Revit | 3D Building Information Models for Power BI (provingground.io)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 00:59:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181530#M32833</guid>
      <dc:creator>cesarecaoduro</dc:creator>
      <dc:date>2021-11-10T00:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181541#M32834</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;just on the same topic, do you think would be a feasable option to run a tiny local webserver that serves those file and manages the upload?&lt;/P&gt;&lt;P&gt;This way I can create an aspnet core webapi and package that in a selfcontained server that gets installed on the user machine.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 01:12:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181541#M32834</guid>
      <dc:creator>cesarecaoduro</dc:creator>
      <dc:date>2021-11-10T01:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181726#M32837</link>
      <description>&lt;P&gt;I've never had a case come up where I've needed to try something like that. I imagine it&amp;nbsp;&lt;EM&gt;might&lt;/EM&gt;, but I honestly don't know.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 02:42:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/2181726#M32837</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-11-10T02:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3358788#M43685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/337650"&gt;@cesarecaoduro&lt;/a&gt;&amp;nbsp;- I'm also trying to get Three.js working in Power BI. You mentioned in one of your replies that you managed to get a canvas displaying - can you elaborate on how you did that please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've copied over the code you posted into a template custom visual, but all I'm getting is a blank Visual in Power BI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 00:58:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3358788#M43685</guid>
      <dc:creator>jknottUOW</dc:creator>
      <dc:date>2023-08-01T00:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3428713#M44428</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Were you able to make a 3D visualization? Do you have material or something like that?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 13:58:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3428713#M44428</guid>
      <dc:creator>HectorElMago</dc:creator>
      <dc:date>2023-09-13T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding threejs to a custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3429648#M44435</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/616584"&gt;@HectorElMago&lt;/a&gt;, - I've personally not attempted any 3D work in custom visuals so far.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 23:39:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-threejs-to-a-custom-visual/m-p/3429648#M44435</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2023-09-13T23:39:10Z</dc:date>
    </item>
  </channel>
</rss>

