AltspaceSDK icon indicating copy to clipboard operation
AltspaceSDK copied to clipboard

added typescript definition as best i could.

Open sidequestlegend opened this issue 7 years ago • 4 comments

altspace uses the THREE global so does not integrate with THREE.js as i hoped it would but it is still usable from typescript. the bundler adds the altspace and three.js libs to the compiled output. Much more to add to the definitions file.

sidequestlegend avatar Jan 02 '18 20:01 sidequestlegend

Could you try to integrate with the repo's build system? And put the build into the root dist folder?

stevenvergenz avatar Jan 02 '18 21:01 stevenvergenz

Yep can do! I'll do some more on this later in the week.

sidequestlegend avatar Jan 02 '18 23:01 sidequestlegend

im wondering if the build should be intergrated with the altspace build, its really is intended as a standalone project template to be used with the compiled output from altspace. would it be better served in a different repo i wonder, with altspace as a submodule?

I don't mind either way to be honest, what are your thoughts?

sidequestlegend avatar Jan 03 '18 15:01 sidequestlegend

I have had some trouble using these, i cant seem to get the scene to render in altspace when using the compiled output. i can access the api ok and the sdk appears to work ( getUser/getSpace/getEnclosure all work and resolve as they should ) but no objects appear int he scene.

I will investigate more once i have more time on this.

sidequestlegend avatar Jan 14 '18 13:01 sidequestlegend