Search the Community

Showing results for tags 'blender'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 309 results

  1. mikhluz


    We are glad to present a new release of Verge3D – the Blender version comes first this time. We included several significant improvements in this release, such as basic support for Cycles nodes, puzzles for dragging objects with the mouse or gestures and puzzles for limiting object movement, support for anisotropic filtering for textures, Unicode characters and new settings for constraints. We have also created a new application to demo all these features. In this release: • Support for Cycles renders, including physically-based lighting model and the Principled BSDF node! • New Puzzles for positioning, rotating and zooming objects by using the mouse or touch screen. This tool has unlimited possibilities whether it's controlling the a complex equipment or the simple arrangement of the furniture in your apartment. • Support for international and special characters for the names of objects, animations, files and projects. • Textures now look much better due to anisotropic filtering feature. • Ability to control constraints, procedural animations, sounds and many other features in the Puzzles editor. • Various UI/UX improvements in App Manager. Remember the NASA Curiosity application? Now you can create the same app without a line of code using only visual logic blocks, look at our new example. Link to the Industrial Robot demo Link to the Full Article
  2. Hi Blender users! We have to enhance the doc about how to get things from Blender to BJS. Here the existing one: and also some tips: Github issue can be found here: You can use github or this forum to suggest some missing parts, and you can, of course, suggest direclty here content to "copy-paste" If you prepare screenshots, please use the default Blender theme "Flatty light". If you want to see the advancement, here is my doc' fork. --- Nota Bene: (I put here a list which will be updated to easily retrieve some tips/methods/asking) about animation, something to investigate: when animating multiple objects, use have to rename each action with objectName-Action? Another one. about animation, explanations from JCPalmer, contribution to future too. Blender animation parenting & pivot issue - instructions animating a child mesh export multiple actions vs only current : --- todo list canceled for now: about automatic baking : can't be avoid for now
  3. I downloaded the latest blender exporter for Babylon (currently 5.6.2), but I noticed that when I try to export there are no options for the exporter. See here: I tried with blender versions 2.79 and 2.80, and while the exporter does work in 2.79 I can only export with the default options. I've always hated Python so I'm not clear exactly what's happening, but I did notice that if I combine the contents of the JsonMain and ExportSettingsPanel classes I do see the options panel as intended. Does anyone know what's going wrong here?
  4. mikhluz

    Farmer's Journey

    This is a simple runner (walker exactly:) ) made with Verge3D engine and runs directly in the browser. All was modelled in Blender, even texturing in 90% made in Blender: I just set up shaders and light and baked it to texture. In my pipeline I've also used 3ds Max, Krita, Webflow, Gimp and Audacity. The game was made without coding in two weeks by only one artist. Character and most of the assets based on concepts of Vihn Nguyen . Thanks to Forget the Whale for the soundtrack. Link to the game: DIRECT LINK You can also download all source files with mesh, textures and sounds HERE Some art related to the game can be found here on my ARTSTATION PAGE
  5. Hi all! I use Blender for modelling. I've found out that mesh's instances can greatly improve performance, however I've got 2 issues after importing scene in Babylon.js: 1. There are no collisions with any instances except "parent" mesh. In Blender collision checkbox is set and affects all instances (no chance to set it separately, but that's OK in this case). How to enable collisions? 2. There are no tags for individual instance. I can set them for "parent" mesh, in Blender tags are visible for all instances, however they are not accessible from Babylon.js. How to set different tags for individual instance? Thank you!
  6. Hello, I'm posting this partly to help anyone else who has struggled with this, but also to ask if I am doing something wrong / if this is a bug in the exporter. When I export a mesh from Blender with 'Shape Keys', I have to create two Keys in addition to the Basis for it to work in Babylon. One Key + basis: Two keys + basis:
  7. Hello, Can mesh.lookAt be hardcoded into a .babylon file? If so, how? I have a few meshes in blender that I would like to use the 'Track To' constraint but I see that these are not supported for meshes in the exporter, whereas they are for cameras. I am hoping I can tweak the Blender > Bablyon exporter. I appreciate I can do the same thing in the js script, but I'd rather have Blender and the exporter do it for me. Cheers,
  8. Probably a good question for @JCPalmer: I am looking for some advice regarding rotations of exported Blender models. During the creation of the two models below I used the Blender alignments, i.e. I used front view when editing the front of the model, right view to edit what I considered the right side, etc. However, when I export them they have different alignments than expected. The box model is just a simple test cube. It does not have an armature. The "dude" model does have an armature. Still, it is aligned with the same axes as the box. Neither model has any rotation (all 0's). Both are using the default XYZ Euler rotation mode. The dude is slightly elevated (y axis) but is otherwise at 0, 0. I would not expect the red dot to be visible in the Babylon shot. I have not rotated either mesh in Blender, only imported them with SceneLoader.ImportMesh.
  9. MDP Monkey

    Blender animations

    Hello - can anyone explain how to create a simple blender object with 2 or more animations, for exporting to babylon? I can get a basic animation to work, but more than 1 is a mystery. I can't find any tutorials that explain this. I just want a really simple cube that moves sideways and up and down, as separate animations. Then I'll be able to understand how to setup multiple animations in blender, ready to be used in babylon. Thanks
  10. QUESTION: How to animate many things? GOAL: review ALL types of Animation Options available. Reduce various animations into Patterns or Templates or MINIMUMS. There are great docs on this... what follows are the practices of each. RESULT: Animation-Type-Templates Examples: - eyes to look at stuff - mesh.lookAt() - a generic low-poly arm to grab stuff: bone animation - scene.beginAnimation() import from blender. - a generic IK arm - constraints - a morphing eyebrow - morph targets (minimum). - interpolate - random attributes like color, or opacity - a motion path - Blender Animation Ranges like: idle, jump, attack, die, win ADDITIONS: - Bone Animations - Review from docs - mesh.spinTo(), moveTo(), scaleTo() - Dynamic Animation (powerful?) - BABYLON.Animation.createAndStartAnimation() There are a ton a great resources on all of these. Point is: They are all different Animation Types. Highlighting the tricky spots, referencing solutions, and... the great docs and playgrounds that already exist. UPDATE: a long list of successful blender animation export examples below.
  11. Its me again I can play animation of an imported model with: new BABYLON.PlayAnimationAction(BABYLON.ActionManager.NothingTrigger, MESH_NAME, 0, FINAL_FRAME, 0), But this only works if I know the number of frames to put it as "FINAL_FRAME", now, I need to know if an imported model contains an animation (1) or not (0) and if it contains animation to know how many frames it haves. Is this possible? How can I make it? Gracias.
  12. Hi, Maybe its a dumb question but how can I get only the first mesh of a imported model from Blender? Until now I had no reason to use another thing like: scene.getMeshByName("unique_mesh"); But now I need to get only the first one (nad meybe the third one) to make changes in babylon. How can I achieve it? Thank you all.
  13. Hi there, i am currently trying to export just a model from blender using the babylonJS exporter provided on git. The installation worked. In the documentation there is an export property window shown where i can check what i want to export. But i cant't find this window? If i export as babylon there is just written no properties. I tried with Blender 2.79 2.76 2.73 (64/32 bit) and Exporter Version 5.6 and 5.5 The reason for this is that i want to export without the automatic texture bake... Can anyone please help me out? Best Regards
  14. Hello everyone After a long time i am back and with something for you maybe a banal issue but for me it's a nightmare . I am trying to make little adventure game and I have issue with my charakter.babylon... when i import him to the game without skeleton everything is ok but with skeleton is wrong everything, like some parts of his clothes is missing... the console is showing me endless error lines etc. I am struggling with this 1/2 weeks . I tried everything like remake my charakter.babylon and skeleton ....I treid google, youtube ... ect. Can you guys help me ? ... sorry for my bad english . I added a photo and a blende file helpblend.rar
  15. Hi, I try for a long time to create animations in Blender. In my case I have multiple meshes in one scene which mush have different independent animations. Bad result I get - both meshes share the same location/rotation/scale of their animations. PG demo: You can see that both meshes move and rotate together, like it is one mesh. However in Blender I try to make them independent, and inside Blender they really move like independent meshes - green box only rotates and red torus only moves. But when imported in BJS - they start to share position and rotation. I attach my .blend file here. I tried applying standard animations, tried Dope Sheet -> Action Editor to create different actions, but the same result. Is it possible to create different independent animations for different meshes in one scene? If yes - could you guide me step by step? Thanks! demo.blend
  16. Hello, When I use Blender and apply texture to some object - I can select an image from any folder. However, when I import scene to the BJS - it looks for all images in the folder where *.babylon file is. Import example: var meshTask = loader.addMeshTask("someName", "", "assets/", "myScene.babylon"); As a result - *.babylon file contains filenames only and BJS looks for them only in "assets/" + image_name.png. If we want to store images (and other files?) in a different separate folders - how it can be achieved? Because putting all Blender source files and all related files in one folder - not comfortable at all I see that Blender has a field with a relative path - maybe it can be exported/used somehow?
  17. Hi, I am trying to import an animated character from but without success. I am a developer, not a 3D Designer so I don't really understand what happening ^^ I go on, select a character and an animation (walking) I check "in place" animation", export with ".dae" extension, 24 frames/s, uniform key frames reduction, with skin, and finally download the the character (zip), I import the .dae in Blender, then export it with the BabylonJS exporter I go an error in log : can't export because of armature I read I just have to ctrl+A in Blender then scale => indeed, after that, the export is working, but it breaks the animation If I continue, load the .babylon in babylon I see the character loaded, with textures But... animation make absurd things, the character is not "moving in place" but totally go away It is not a direct Babylon problem : the problem is this "ctrl +A > scale" that breaks the animation. My question is simple : after imported the .dae in Blender, what I have to do to export it correctly, with animation, in .babylon format ? My goal is just to load ANY animated character in BabylonJS, ideally, a character moving, jumping, and crouching. That could be another question : how to get many animations from mixamo in a single export ? I understood we then just have to select frame index and play the good animation. So, loading few times the same character for different animation seems not very smart ^^ Thank you for your help
  18. Hi everyone, I need your help a new time... I updated my BabylonJs version from 2.2 to 3.1.1 and I have a problem with an import skeleton : here the code (from the doc) calls which is very simple : function importSquelette(nomSkelAtelier, chemVersFichierSkelAtelier, nomFichierSkelAtelier, laScene) { BABYLON.SceneLoader.ImportMesh(nomSkelAtelier, chemVersFichierSkelAtelier, nomFichierSkelAtelier, laScene, function (newMeshesSkel, particleSystems, skeletons) { var dude = newMeshesSkel[0]; //dude.rotation.y = Math.PI; dude.position = new BABYLON.Vector3(0, 0, 10); } ); } parameters values : - nomSkelAtelier = 'Armature_Striker_AZ_9' - chemVersFichierSkelAtelier = '../Scripts/Bll_IFC/Mesh/MeshSkelette/' - nomFichierSkelAtelier = 'Striker_AZ_9.babylon' - lascene = the scene loaded before I specify that : - the scene.babylon file and the skeleton.babylon file aren't in the same folder. - the exporter for Blender was the version 5.5 - the version of Blender is 2.79 And here the consol log when i click to the button which call the import skeleton function: How can I fix it ? I try to finish a game fight robot and import skeleton is the main part of the game .... Thanks !
  19. i have a noob question. im using babylonjs blender exporter. i figured out how to do everything i wanted except for sound. what are you exactly supposed to do for the sound? i wanted outdoor sounds in the beginning. but then music when entering certain scenes. oh and by the way i wanted characters speaking if you walk by them or run into them.
  20. I get that we can't export armature to .babylon from Blender if some of the meshes attached don't have transformations applied. I'm trying to find the best way to solve this issue. I have a separate head and body attached to the same armature. When I try to export to .babylon it will complain about the head mesh not having transformations applied. When I check the mesh properties I see location, rotation all zero and scale all 1. Applying transformations to that mesh does nothing. However, when I clear parent I notice Rotation X goes from 0 to -0. I can then apply rotation and it'll set that back to 0. Then I can parent mesh back to armature and export works fine. However, I used "automatic weighting" so now I've lost all the weighting that was important to me. This isn't a Babylon.js problem but I didn't know where to ask. Does anyone know how to stop that nonsense that results in a -0? Or does anyone know how I can clear parent then re-attach to parent using the same weighting as before? Or is it possible to edit the plugin to treat -0 as 0?
  21. Hi, can you add to the Blender exporter an option to set a flag Is Pickable, please? In Blender UI, for example, somewhere under the Check Collisions flag. Maybe it's already possible to set it somehow in Blender?
  22. Hi ! I am looking for the sources of Dude.babylon used in some demos, are they available ? I would like to add some animations for an open source project. I don't know Blender but I am not afraid Thanks
  23. Hello, I would like to convert the material definitions in a .babylon file to the most basic PBR possible. Currently, exported from Blender, I have two materials; bed.Floor & Bed.Wood: "materials":[ { "name":"bed.Floor", "id":"bed.Floor", "ambient":[ 1, 1, 1 ], "diffuse":[ 1, 1, 1 ], "specular":[ 0, 0, 0 ], "emissive":[ 0, 0, 0 ], "specularPower":50, "alpha":1, "backFaceCulling":true, "checkReadyOnlyOnce":false, "maxSimultaneousLights":4 }, { "name":"bed.Wood", "id":"bed.Wood", "ambient":[ 1, 1, 1 ], "diffuse":[ 1, 1, 1 ], "specular":[ 0, 0, 0 ], "emissive":[ 0, 0, 0 ], "specularPower":30, "alpha":1, "backFaceCulling":true, "checkReadyOnlyOnce":false, "maxSimultaneousLights":4 } ], I would like to manually edit this file so that BJS treats this as PBR? But can't work out what to do. Yes, I know I can create new materials in my scene script... but would be grateful if anyone could advise what changes I need to make to the .babylon file by hand? Hope this makes sense! Thank you all.
  24. JCPalmer

    Kinect V2 skeleton

    This topic is a follow up to one of the "what's next?" comments I made. I have added facility into an addon for Blender, which allows post import operations on MakeHuman meshes / skeletons. The button highlighted, converts the 160 some odd bone, default skeleton to one made for Kinect2. The bones are named for the bone tail which lines up to the joints the sensor's output. There was an old topic about this, but: The people are gone. They shared nothing but pictures. This includes their skeleton, which could have been the reason for all their problems. Here is a .blend of my converted skeleton. Any comments would be appreciated, @gryff, @dbawel maybe? The skeleton units are in decimeters, which are easy to convert the sensor's meters to, but any solution should probably have a units multiplier. The .blend is already in weight paint mode, seen below. Just RIGHT click any bone to see its weighting on vertices. For the rest of this topic, I am just sounding out how I think this might be implemented in 3.2. DB, for your electronics company work, I think you are going to have time requirements which are too tight for waiting for 3.2. First, I wish to use this for pose capture, but making changes to the Skeleton class (or QI Skeleton sub-class) to do live animating may actually help debug things & therefore be a twofer. To this skeleton class, if the bones array cannot be changed to a { [bone: string] : BABYLON.Bone } dictionary for compatibility reasons, I think there needs to be some additional data elements & a method to switch on Kinetics, because calling getBoneIndexByName() 25 times every update is probably slower. Next thing is, yes bones are basically a local matrix to the bone parent, & kinetics returns data in it's world space, BUT that is no reason to go all the trouble of converting sensor output to local space (unless doing mocap - more later), WHEN skeleton.prepare() is just going to have to convert it back. Performance could suck. Having an alternate _computeTransformMatrics() seems like the level to branch off to convert from kinect space to world space. Here is a non-running mock up of all these changes: public onAfterComputeObservable = new Observable<Skeleton>(); protected _kinectsDictionary : { [bone: string] : BABYLON.Bone }; protected _useKinetics : boolean; protected _kineticsBody : any; protected _kinecticsBodyIdx : number; protected _kinecticsUnits : number; protected _kineticsFloorClipPlane : BABYLON.Quaternion; public switchToKinetics(val : boolean, units = 1, bodyIdx = 0) : void { this._useKinetics = val; if (val) { for (var i = 0, len = this.bones.length; i < len; i++) { this._kinectsDictionary[this.bones[i].name] = this.bones[i]; } this._kinecticsUnits = units; this._kinecticsBodyIdx = bodyIdx; } else this._kinectsDictionary = null; } public incomingKineticsDataCallback(eventData : string) : void { var parsed = JSON.stringify(eventData); this._kineticsBody = parsed.bodies[this._kinecticsBodyIdx]; // account for right handed to left handed for this here this._kineticsFloorClipPlane = new BABYLON.Quaternion( parsed.floorClipPlane.x, parsed.floorClipPlane.z, parsed.floorClipPlane.y, parsed.floorClipPlane.w ); this._markAsDirty(); } /** * @override */ public _computeTransformMatrices(targetMatrix: Float32Array, initialSkinMatrix: BABYLON.Matrix) : void { if (this._useKinetics) { this._kineticsTransformMatrices(targetMatrix, initialSkinMatrix); }else{ super._computeTransformMatrices(targetMatrix, initialSkinMatrix); } this.onAfterComputeObservable.notifyObservers(this); } protected _kineticsTransformMatrices(targetMatrix: Float32Array, initialSkinMatrix: BABYLON.Matrix) : void { // ... } For using this for capture, maybe a method in the bone class say, worldToLocalMatrix(), which could be called by code monitoring the onAfterComputeObservable. This is my current straw man. I do not even have the hardware, right now. Thoughts?
  25. good afternoon, I had not gone through here for work because I'm already a bit free again and I want to continue learning ^^. Note that they have made many changes so I started again from the basics. That is why I have an animation that a friend made for me made in untity, try to export it to .babylon but I can not do it, so I opened it in blender and exported it from there, the problem is that I can not load it correctly, it is say load the model and its textures if they load, but your animation does not, I tried it in the sandbox and the same thing happens, seeing the element inspector notice this error: "babylon.js:3 BJS - [17:36:30]: Unable to import meshes from Scenes/Planeta/Planeta.babylon: Error in onSuccess callback t._ErrorEnabled @ babylon.js:3 f @ babylon.js:32 p @ babylon.js:32 (anonymous) @ babylon.js:32 m @ babylon.js:32 p @ babylon.js:3 XMLHttpRequest.send (async) s @ babylon.js:3 d @ babylon.js:3 t.LoadFile @ babylon.js:3 b @ babylon.js:32 i @ babylon.js:33 (anonymous) @ babylon.js:33 XMLHttpRequest.send (async) t.checkManifestFile @ babylon.js:33 t @ babylon.js:33 i._loadData @ babylon.js:32 i.ImportMesh @ babylon.js:32 createScene @ (index):71 (anonymous) @ (index):97 babylon.js:3 XHR finished loading: GET "http://babylon-uno/Scenes/Planeta/Planeta.babylon"." here is code. <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Babylon.js sample code</title> <!-- Babylon.js --> <script src=""></script> <script src=""></script> <script src=""></script> <script src=""></script> <script src=""></script> <script src=""></script> <style> html, body { overflow: hidden; width: 100%; height: 100%; margin: 0; padding: 0; } #renderCanvas { width: 100%; height: 100%; touch-action: none; } </style> </head> <body> <canvas id="renderCanvas"></canvas> <script> var canvas = document.getElementById("renderCanvas"); var engine = new BABYLON.Engine(canvas, true); var createScene = function () { var scene = new BABYLON.Scene(engine); // var camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene); var camera = new BABYLON.ArcRotateCamera("Camera", 0, 0, 10, new BABYLON.Vector3(0, 30, 0), scene); camera.setTarget(BABYLON.Vector3.Zero()); camera.attachControl(canvas, true); var light = new BABYLON.HemisphericLight("light1", new BABYLON.Vector3(0, 1, 0), scene); light.intensity = 0.7; var model; var skeleton; BABYLON.SceneLoader.ImportMesh("", "Scenes/Planeta/", "Planeta.babylon", scene, function (newMeshes, particleSystems, skeletons) { model = newMeshes[0]; skeleton = skeletons[0]; model.rotation.y = Math.PI; model.scaling = new BABYLON.Vector3(10,10,10); model.position = new BABYLON.Vector3(0, 0, 0); skeleton.position = new BABYLON.Vector3(0, 0, 0); skeleton.scaling = new BABYLON.Vector3(10,10,10); scene.beginAnimation(skeletons[0], 0, 100, true, 1.0); }); return scene; }; var scene = createScene();; engine.runRenderLoop(function () { scene.render(); }); // Resize window.addEventListener("resize", function () { engine.resize(); }); </script> </body> </html> I tried loading the model Dude and rabbit and these if they load everything well, so I do not know if it's a problem of how I export it, a problem with the plugin or something else I should do: here id the .fbx and de model exported :