i have these files :
Karma model
and when i launch .html file , it shows .dae file but without texture and animation , what i need to do ?
Have you tried running a web server?
https://threejs.org/docs/index.html#manual/en/introduction/How-to-run-things-locally
Related
I'm trying to figure out how to add animations from external files into a GLTF model file, server-side. Currently, I use threeJS to load the GLTF model into a website and FBXLoader to add animation from external files, which works perfectly. To enable use in Web AR like the Google model-viewer, I would like to merge these into a single GLB or GLTF file via script. I was looking into NodeJS gltf-pipeline or Python pygltflib library which looked promising, but I didn't find a way to include animations.
Does anyone have a solution on how to do this with NodeJS or Python, without an app like i.e. Blender?
Recently try to develop using decentraland sdk. I have downloaded some assets from sketchfab and copy those files into my decentraland project.
However, when I click start the project using dcl start. After rendering, I saw a warning message on the browser rendering page. How can I fix that?
Scene Limit Exceeds: Triangles(1918731/10000)
Thank you very much.
This is due to the Entity importing from the .glb file have too many "faces". By open the .glb file in blender, you can modify the .glb file and decreasing the amount of "faces" (eg. make a low-poly version for it).
I would like to build an .fbx viewer in HTML5, which would load *.fbx files (3D models)
and will convert them on-the-fly to json and present them, using Three.js(+WebGL).
Is this possible? I only see Python scripts online that does it.
Unfortunately you can at present only do a non-online conversion of FBX to three.js formats, rather than loading / importing FBX directly into a live scene.
I have a simply question and hopefully someone can answer this. I need to get an animated model into three.js from Maya. I know currently the only exporter/ converter to the three.js JSON format that supports animations is the blender plugin. Unfortunately, my company works with Maya and Blender doesn't take FBXs. I already figured out that in order to do what I need to do, I need to export out of maya a Collada, import the Collada into Blender, then export out to three.js using the plugin.
But here is my problem. When importing the dae file from maya, I get an error:
Sax FWL Error: Could not resolve sid "**" referenced in skin controller.
for each bone in the rig and nothing is connected properly.
I also tried exporting the fbx from other Autodesk applications but each one gives me the same errors.
Anyone know either how to resolve this error or another way to get a Maya animated rig into blender without error.
It may not answer your question but this two animations from the three.js repository use collada .dae format instead of JSON format supported by the ColladaLoader.js:
http://threejs.org/examples/webgl_loader_collada.html
http://threejs.org/examples/webgl_loader_collada_keyframe.html
I have created an updated version that also supports exporting rigged and animated models. It doesn't require any intermediate steps: it just outputs straight to a .JS file. We have a pull request to integrate the updated exporter with the THREE trunk, but if you want to get the new and improved exporter immediately you can get it from this repository: https://github.com/BlackTowerEntertainment/three.js/tree/maya_animation_exporter. The exporter files are in utils/exporters/maya.
I'm trying to create a flash image slider however I need the images to be pulled into the flash file from a directory and then to transition fade through to the next ones.
Has anyone got any ideas of where to start on this or any links that could help?
Much Appreciated.
Pull in images from a local or server directory? For a server directory you would use the Flash Loader class Loader
If you are using Adobe AIR then you can load local files using FileReference.
For fading, I use Tweenlite and tween the alpha value of the from image and the to image to make one fade out and the other fade in.
Flash can't read the content of the folder.
You either have to specify the file name(s) manualy either use a server-side script to create a list of the files in the folder - it may be passed to Flash as a XML, text file or just a query string, up to you.