Skip to content

ScriptBuilder add visibility #7330

Answered by pmconne
peiyanlu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @peiyanlu,

I was unable to reproduce this in my unit tests and display-test-app because I'm using a much newer version of iTwin.js than you are. You are using 3.7.5.

I updated your demo app to iTwin.js 4.10.0 and confirmed the transparency interpolates smoothly. I did have to add an option to your call to IModelApp.startup because your app isn't set up to serve an otherwise-needed worker script. Without that change the iModel would fail to display.

    await IModelApp.startup({
      tileAdmin: {
        cacheTileMetadata: true,
        enableFrontendScheduleScripts: true,
        generateAllPolyfaceEdges: false,
        decodeImdlInWorker: false, // <-- ADDED THIS
      },

iTwin.js 3.x

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@peiyanlu
Comment options

Answer selected by peiyanlu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants