• Content Count

  • Joined

  • Last visited

Everything posted by burbonvagin

  1. is it possible to make a mesh visible without light? in three.js you can use THREE.MeshBasicMaterial. in blender you can use an emit shader. how can this be accomplished in babylon.js? can it be done without a custom shader?
  2. i haven't actually tried this yet but i saw a video on blender cycles baking and it looks like it could be awesome in babylon.js. i just wanted to share it. http://youtu.be/sB09T--_ZvU?list=UUOKHwx1VCdgnxwbjyb9Iu1g
  3. i have been looking at some shader tutorials, but i haven't found any that i understand very easily yet. does anyone have any suggestions?
  4. list: all of the exporters that come with blender: collada, stanford... all of them. no, add shortcut lets you define a custom shortcut.
  5. you can right click on most blender exporters and select add shortcut to add a keyboard shortcut for the exporter. the add shortcut action is not available on the blender exporter, is it possible to make it available?
  6. I have a Qualcomm GPU. This three.js project worked: http://mrdoob.github.io/three.js/examples/webgl_materials_bumpmap.html
  7. this is a replacement for gravity though, right? because when i turn off gravity it still works.
  8. i can easily get it to work with the camera, like the tutorial shows. I can't get it to work with a mesh though. I think I added all the properties here: https://33fbbfe7efe608e329702f900dfc06fc804016bb.googledrive.com/host/0BzDfAgmFmMswMWdkenBneEFWRVE/mirror_for_junior2/
  9. that sounds awesome, but I can't get it to work. https://33fbbfe7efe608e329702f900dfc06fc804016bb.googledrive.com/host/0BzDfAgmFmMswMWdkenBneEFWRVE/mirror_for_junior2/
  10. thanks! how do you simulate gravity on a character like this? do you just move it down until he intersects a mesh, or is there a better way?
  11. I'm trying get mesh.movewithcollisions working, and I'm not sure why the player sphere is partially intersecting the sphere and the plane. I have some physics in the scene, but turning them off doesn't change the result. html: http://jesseolsson.github.io/bug_movewithcollisions/ javascript: http://jesseolsson.github.io/bug_movewithcollisions/index.js
  12. Hi, I'm trying to drop a cube onto a plane with physics, and the cube ends up floating above the plane. One of the physics bodies seems to be positioned/sized wrong. Has anyone encountered similar situations? html: http://jesseolsson.github.io/floating_box/ you have to rotate the camera to see the plane javascript: http://jesseolsson.github.io/floating_box/index.js
  13. I don't think you are causing long term problems. Yeah it probably does make it easier.
  14. i noticed some things in the first page of the tutorial. the type attribute of the script element is unnecessary in html5. i think it is a bit odd to put script elements in the body instead of using window.addEventListener('load'.
  15. maybe a mirror texture? i don't think the mirror plane has to be the same as the mesh that the texture is applied to. This might be nonsense because I don't completely understand mirror textures. Tutorial link: https://github.com/BabylonJS/Babylon.js/wiki/14-Advanced-Texturing
  16. about two thirds of the way down http://blogs.msdn.com/b/eternalcoding/archive/2013/06/28/babylon-js-how-to-load-a-babylon-file-produced-with-blender.aspx in a code comment it says that scene.executeWhenReady waits "for textures and shaders to be ready". Maybe images haven't been loaded yet or maybe the textures and shaders just need to be prepared.
  17. How do you prevent blender animations such as change in location from running when the scene is loaded so that you just trigger them with javascript instead? Another question if anyone wants to answer: I noticed while using bones animation the the animate "smoothly", that is their speed varies so that they slow down before stopping, and the opposite after starting. How can this be applied to other animations such as location/rotation/scale?
  18. In babylon.js cameras, lights, and meshes require you to give them names. In three.js they don't. I assume three.js generates them for you. Why is it useful to name them yourself?
  19. Sorry if this is doesn't make sense. I am very tired and can rewrite it in the morning. In 14 Advanced Texturing > Mirror Textures. As a newcomer this is the first time I came across the BABYLON.Plane constructor. It was completely unclear to me what properties of the plane the 4 arguments were defining. And the documentation is not helpful (http://doc.babylonjs.com/page.php?p=24815). After a bit of experimentation I still didn't understand it. PS: Great job updating the tutorial. Unless I just didn't notice the rest before. I'm super excited to add lens flares.
  20. I noticed that when the canvas' height and width are set to 100% so it fills the window babylon.js changes the canvas' width and height properties to the size of the window. Is it possible to disable this so that the canvas could run at 720p but fill the window?