AltspaceVR / AltspaceSDK

Software Development Kit for AltspaceVR
https://developer.altvr.com/
MIT License
161 stars 73 forks source link

added typescript definition as best i could. #211

Open sidequestlegend opened 6 years ago

sidequestlegend commented 6 years ago

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.

stevenvergenz commented 6 years ago

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

sidequestlegend commented 6 years ago

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

sidequestlegend commented 6 years ago

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 commented 6 years ago

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.