Skip to content

Yannickgregoire/Bloom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bloom

bookmarks

3d engine online

results of tests on ios

dev tools

about json export for threejs

NOTICE: The Blender exporter for the Three.js JSON format has been removed, to focus on better support for other workflows. For recommended alternatives, see Loading 3D Models. The Three.js Object/Scene JSON format is still fully supported for use with Object3D.toJSON, the Editor, THREE.ObjectLoader and converters.

found here: https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender

therefore, going to: https://threejs.org/docs/#manual/en/introduction/Loading-3D-models

blender -> glTF -> threejs

out-of-the-box results:

  • OK: meshes, camera (to be fixed), point lights, animations (to be fixed), textures
  • NOT SURE: spot lights should be exported, but can not see where they are in gltf-viewer... -> investigate the loaded scene programmatically
  • KO: directional lights, materials

webraytracer by alexandra.dk

super cool because it is a real raytracer, work could be achieved by generating all meshes for each objects in blender, exported in collada

BUT stucked by the limitation of memory due to compilation of the code using webassembly in bundle.js > flag ALLOW_MEMORY_GROWTH should be set to 1

contact: [email protected], could be solved by contacting him, but no garantee

profile on researchgate: https://www.researchgate.net/profile/Thomas_Kjeldsen

RaytracingRenderer of threejs

test with the collada elf model provided with threejs on an i7 @ 3.4ghz

  • mesh: ~8k vertices & 14k faces
  • at 50% of the rendering, each tile takes +1200 seconds (~20 minutes!) to render at 18 x 15 (270) tiles

the only solution available on mobile is not even usable on high-end laptops :)

server

Frames to be rendered on the client side are distributed through a webserver. For insctructions read web/README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages