You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So there should be an additional alternative function than can be used: renderSceneDefaults(viewSettings, sceneSettings, sceneOptionsBoolean, backgroundColor, theme, data)
The user should be able to override the background color should s/he wish
The user should also be able to specify a theme which is light or dark which will use the default colors and lines etc.
The user should specify which scene option elements you want to show ie
Motivation
renderScene()
takes inviewSettings
,sceneSettings
,sceneOptions
anddata
Scene options has a shape that is specified here https://github.com/mithi/bare-minimum-3d/blob/master/src/parameter-types.ts You have to specify a lot of
color
,opacity
, andlineSize
among others. You may not want to think about these things.Solution
So there should be an additional alternative function than can be used:
renderSceneDefaults(viewSettings, sceneSettings, sceneOptionsBoolean, backgroundColor, theme, data)
The user should be able to override the background color should s/he wish
The user should also be able to specify a
theme
which islight
ordark
which will use the default colors and lines etc.The user should specify which scene option elements you want to show ie
For the
sceneOptions
parameter, we can use these defaults for dark modeThe text was updated successfully, but these errors were encountered: