Search the Community

Showing results for tags 'exporter'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 82 results

  1. Hi Blender users! We have to enhance the doc about how to get things from Blender to BJS. Here the existing one: http://doc.babylonjs.com/resources/blender and also some tips: http://doc.babylonjs.com/resources/blender_tips Github issue can be found here: https://github.com/BabylonJS/Documentation/issues/556 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 changelod.md too. Blender animation parenting & pivot issue - instructions http://www.html5gamedevs.com/topic/34026-animation-methodology-review/ http://www.html5gamedevs.com/topic/37162-blender-animations/?do=findComment&comment=212575 http://www.html5gamedevs.com/topic/37272-blender-exporter-scaling-issue/?do=findComment&comment=213037 http://www.html5gamedevs.com/topic/37390-babylon-animations-array/?do=findComment&comment=213651 http://www.html5gamedevs.com/topic/37557-blender-shape-keys-babylon-morphtargetmanager/?tab=comments#comment-214455 animating a child mesh http://www.html5gamedevs.com/topic/37959-animating-a-child-mesh-from-blender-to-bjs/ export multiple actions vs only current : http://www.html5gamedevs.com/topic/37972-blender-exporter-total-frames/?tab=comments#comment-217375 --- todo list canceled for now: about automatic baking : can't be avoid for now
  2. Hi, I've tried importing the latest Unity package from: https://github.com/BabylonJS/Exporters/blob/master/Unity/EditorToolkit/Redist/Babylon Editor Toolkit.unitypackage But it doesn't compile. Errors: - Assets/Babylon/Shaders/Unity/Interface/StandardRoughnessShaderBJS.cs(272,34): error CS1501: No overload for method `TexturePropertyWithHDRColor' takes `4' arguments - Assets/Babylon/Shaders/Unity/Interface/StandardShaderBJS.cs(297,88): error CS0117: `UnityEditorInternal.InternalEditorUtility' does not contain a definition for `IsMobilePlatform' - Assets/Babylon/Shaders/Unity/Interface/StandardShaderBJS.cs(323,34): error CS1501: No overload for method `TexturePropertyWithHDRColor' takes `4' arguments Which version of Unity should I use to test the exporter? I haven't seen it in the documentation. Also, the GettingStarted video: http://www.babylontoolkit.com/videos/GettingStarted.mp4 is pointing to a 404 Pinging @MackeyK24 David
  3. FelipeBaltazar

    Babylon objects to .obj file

    Hello! I need to export my objects to obj. I found an example that I could adapt. But I can not incorporate the position of the object in the scene. Any idea? note: I'm a beginner*** BABYLON.Mesh.prototype.exportOBJ = function() { var output=[]; output.push("mtllib savedFile.mtl"); for(var i2 = 0; i2< selectedItems.length; i2++) { output.push("g object"+i2); output.push("o object_"+i2); output.push("usemtl material"+i2); var g = window[selectedItem[i2]].geometry; console.log(selectedItem[i2]); trunkVerts = g.getVerticesData('position'); trunkNormals = g.getVerticesData('normal'); trunkUV = g.getVerticesData('uv'); trunkFaces = g.getIndices(); for(var i=0;i<trunkVerts.length;i+=3){ output.push("v "+trunkVerts[i]+" "+trunkVerts[i+1]+" "+trunkVerts[i+2]); } for(i=0;i<trunkNormals.length;i+=3){ output.push("vn "+trunkNormals[i]+" "+trunkNormals[i+1]+" "+trunkNormals[i+2]); } for(i=0;i<trunkUV.length;i+=2){ output.push("vt "+trunkUV[i]+" "+trunkUV[i+1]); } for(i=0;i<trunkFaces.length;i+=3) { output.push( "f "+(trunkFaces[i+2]+1)+"/"+(trunkFaces[i+2]+1)+"/"+(trunkFaces[i+2]+1)+ " "+(trunkFaces[i+1]+1)+"/"+(trunkFaces[i+1]+1)+"/"+(trunkFaces[i+1]+1)+ " "+(trunkFaces[i]+1)+"/"+(trunkFaces[i]+1)+"/"+(trunkFaces[i]+1) ); } } var text = output.join("\n"); var fileBlob; try{ fileBlob=new Blob([text]); }catch(e){ var blobBuilder=window.BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder; var bb=new blobBuilder(); bb.append([text]); fileBlob=bb.getBlob(); } var URL=window.URL || window.webkitURL; var link=URL.createObjectURL(fileBlob); return link; }
  4. emara666

    Skyboxes in Facebook

    Hello Everyone, I've just started to use Babylon.js for the the purpose of posting 3d content to Facebook. I am trying to post a scene that consists of a 3d model and an environment from a 360 degree image. How do I export my environment ? all my attempts ( Creating default skybox, a sphere with flipped normal, ...) have been met with failure: - In case of exporting the environment map no success. - In case of flipped sphere, it always views the scene from outside rather from inside. Any solutions? I am trying to refer to the documentation but no clear answer so far. Thanks
  5. Hi community After an export from 3dsmax to gltf, I saw that my metallic/roughness map is to much compressed in jpeg. That create bad artefact on my render. Secondly, I saw that my color map switch from jpeg to png. I have no transparency, it's not necessary in my case. I prefer to keep a little compression for time loading reason. Is there a way to correct this ? Is it possible to add an option like a checkbox "compress", on the exporter, to not compress or compress images ? Thanks for your help. Pierre.
  6. After we select physical material in the 3D max for any mesh, it exports as "PBRMetallicRoughnessMaterial". How to make sure it exports as PBRMaterial and not PBRMetallicRoughnessMaterial ?
  7. Hi, I have installed a new version of Babylon exporter using this: https://github.com/BabylonJS/Exporters/blob/master/3ds Max/Max2Babylon-0.40.0.zip I upacked this, unblock, then deleted previous version and paste those dlls. Here is what I get: Exportation started Exporting nodes Exportation cancelled: External component has thrown an exception. Have you had similar issues?
  8. I tried to export unity scene from unity and enable the physics. But I can't find where babylon create the mesh in index.html that export from unity and what babylon do to recognise all model in unity scene? As I want to set the mass for each model , is there some where can find the register for all game objects ? Anyone also can explain how babylon work with the cannonjs to set the collider for each model ?
  9. Hello community We have an object ( 2 meshes ) with multi material exported with 3dsmax to GLTF format. In inspector, we saw that the exporter splitted our object to 13 meshes. One mesh for each material. Is it possible to keep the same object but with a multi material option instead ? Thanks in advance. Have a nice day .
  10. Pierre Glibert

    [solved] 3DsMax to GLTF : inversed normals

    Hello community We catch a bug with the last exporter version of 3dsMax ( 0.36.0 ) In fact, the normals are inversed with the stable version of babylon.js and not with alpha 3.2.0-alpha7. You can see here the result of a mesh we export today : It working on Sandbox because it run with alpha version of Babylon. @Deltakosh, about that, is it possible to add to the Sandbox an option like playground to choose the stable or latest version ? Can you fixe the exporter for the stable version ? Thanks in advance, Have a nice day
  11. If there are too many similar meshes in my scene, what do I do in unity such that when I export the scene to Babylon, those meshes are instances of one of them and not remain individual meshes in Babylon? Also if there many similar meshes in my scene, which does require separate materials, what do I do in Unity such that when I export the scene to Babylon, those meshes become clones of one of them and not remain individual meshes in Babylon? @MackeyK24
  12. I am using Blender 2.79 version and Blender2Babylon-5.4 exporter. I am getting error while exporting it to .babylon scene Attaching the blend file as well as the log file. Please help. -Ashish pump_oil_blendswap.blend pump_oil_blendswap.log
  13. Hi, was testing my personal project: a low poly mesh with a few actions exported using the b2b exporter v5.4. The animation range in the start frames are off by 1. My actions start from frame 1, exported babylon file shows frame 0 and testing confirms the animation when triggered doesn't loop nicely. Currently, the mesh has 4~5 actions, project upon completion should have a few hundred or so. Just curious, is this bug from the exporter or blender ? Should I start thinking about coding a fix when ImportMesh is called from babylon ? Or is this like a quick 2s fix on the exporter ? Pls do not tell me that I have to edit it manually... Thanks for reading and hope it helps, cheers
  14. Hello! So this is weird.... I've got a rigged character in Blender that I want to duplicate so that I can animate a scene with two characters interacting. The issue I'm having is that when I duplicate that mesh in Blender (by selecting both the mesh and the armature and pressing Shift + D) and export it, the duplicated character is rotated differently in my BJS scene than it was in Blender. If I rotate the duplicated mesh 45 degrees (along the Z axis) in Blender, then export it to a .babylon file, it renders as being rotated 90 degrees in BJS. Rotating him 90 degrees in Blender gets even weirder: the mesh starts rotating along a different axis. And if I rotate him further then he starts doing all sorts of crazy acrobatics. Here's a few screenshots of what I'm talking about: Any ideas why it's rotating like this or how I might fix it? I have a hunch it's something to do with how I duplicated the mesh (maybe Shift + D was a bad idea? Is there a better way to duplicate this rigged mesh?) but I'm a newbie to Blender and BJS and I'm at a loss here. My log file didn't return any errors when I exported the .babylon file too, for what that might be worth. I'd be happy to attach the .blend and .babylon files too if that'd help diagnose it, just let me know! As a side note, I've been lurking these forums for a while and its incredible how helpful everyone here has been. Your answers on all these countless old topics has helped me get this far, I feel like I already owe you guys big time.
  15. Ok I make two animation actions. ElevatorComponent1 (timeframe 0-240) ->Elevator1Action and ElevartorComponent2->Elevator2Action (timeframe 0-200). In Blender it looks fine/OK. Each elevator animate (loop animation of each object 1.ElevatorComponent1 and 2.ElevartorComponent2) Play look fine in blender. You can see it. (I attach blender file) I use only (Visual Location) for both animations. When I export from blender to .babylon. Exporter doesn't export as it should! Range and positions values are not OK !! WHY? IS THERE ANY BUG IN BLENDER->BABYLON EXPORTER ? (IS THERE ANY WAY TO MAKE FOR EACH OBJECT ITS OWN TIME_LINE FOR ANIMATION? HOW?) Can anybody take a look (ATTACHED FILE) and export it into babylon.js and see what is with range and positions values - is there bug??? Here is video https://www.dropbox.com/pri/get/Public/Screencast 2017-06-26 10%3A49%3A24.mp4?_subject_uid=20766916&w=AADvbTlbugqn3hWDvW0TvcKrFlvCsAGWkYMR1IlRIqyGdg (if I export to .babylon (ATTACHED FILE) file and put load it or put in sandbox it is confusion !! @gryff @JCPalmer @Deltakosh Maybe we can fix with editor inside babylon file. BUT IF I BUILD MODEL OVER AND OVER (WORKFLOW) THAN IF EXPORTER DOES NOT WORK OK. THAN THIS IS USELESS. Is possible to fix exporter? Greetings Ian ModelFInish_1.blend.zip ModelFInish.babylon
  16. RobiNERD

    OBJ Exporter help?

    So, with some googling i found this... the problem is, it's in TypeScript (I don't know what this is even)... I don't know how to implement this any time i try using this i get unexpected identifiers. (I also noticed this TypeScript language is really similar to c# lol). So how would i use this... I know this is very nooby but meh
  17. Hi again. I make model as simple as possible. Just Basic Sphere and box colliders. I export it with ToB Exporter to get ModelFinish_Base.js. I include this in playground. I created complete playground. I include playground in attached .zip file. Because I can not save playground! Download attached file unzip and copy text from BabylonJS_ToB_Physics_Collision_Problem_Playground.js and paste it in playground and run it. I would like to know why .physicsImpostor doesn't work? Can anybody debug this and find a problem? Is there problem with babylonjs plugin, cannon or ToB exporter ??? playground_and_files.zip
  18. Hi,I have used the 3ds max exporter to export babylon meshes, but value of v in uvs data always +1. The export uvs data like the following: "uvs":[1.0,1.0,1.0,2.0,0.0,2.0,0.0,1.0,0.0,1.0,1.0,1.0,1.0,2.0,0.0,2.0...], But I need the following: "uvs":[1.0,0.0,1.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0...], What should I do to fix it? Platform: Windows 10, Autodesk 3ds Max 2013 32-bit, 3ds max exporter with babylon get from github Max2Babylon-0.10.0.zip. I'm hard working on my English. If I don't explain my question, the following be in Chinese: 我使用babylon的3dsmax导出插件导出了babylon的模型,但是uvs数据中v值总是+1。 导出的uv数据是这样的: "uvs":[1.0,1.0,1.0,2.0,0.0,2.0,0.0,1.0,0.0,1.0,1.0,1.0,1.0,2.0,0.0,2.0...], 我要的数据是这样的: "uvs":[1.0,0.0,1.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0...], 我该如何得到我要的数据?
  19. HI everyone, my "miniexport" of a simple unwrapped model lacks in automatic texture baking, which should be possible if using cycles render. So there is the questions: What are blender procedural textures (are this the cycles nodes from the popup-menu "Texture" , like Voronoi etc. ) ? What I'm doing wrong? PS: I understand "automatic texture baking" in the sense of no manual baking and saving to disc, but exporter will do this or exports inline if this option was checked. Cheers
  20. Hello all, I found this tutorial for, what seems like, a good way to create terrain textures in blender: https://www.youtube.com/watch?v=p4Dt2S6uMGM My question is about exporting this type of texture. If you don't watch the video, what is being done is a UV Map is being created, and a material with several tiled textures. There is also a stencil layer that masks layers of tiled textures. This seems to work great, since you get the benefit of a tiled textured. My questions are about how the current Blender Export to Babylon JS (4.6.1) works and if there is another way. I have not found this information yet. 1) When exporting this type of material with multiple textures, they seemed to get baked into a [filename]_[meshName]_TEXTURE.jpg. Not ideal, but this can work for now, but I am having troubles specifying the output resolution. Is there any documentation or tutorials on this? 2) Is there a way to achieve the method above without baking the textures? Such as blending different textures, if so is there documentation on this? I'm not currently trying to do infinite terrains, so I'm trying to work within this problem set at hand. Thank you, amorgan
  21. If we model some visual models whit some tools (Bablyon,Max,Unity,....) and add box colliders around model. Is there any showcase how to do model and add colliders on model? Is there any exporter which know to export "model+model's colliders", and is there any BabylonJS importer which is capable to import "model+models's colliders"? Do BabylonJS has ONLY importers/loaders which know ONLY import/load model? Can any of this file format (FBX,, glTF, OBJ, .babylon, ToB .js....) export "model+model's collider" I would like such exporter/importer which is capable to import model_with_it's_colliders. exporter(blender,3DMax,Unity,...) importer(BabylonJS file loader) I don't want to hard code or adding colliders whit hard codeing in babylonJS. I would like to model with (blender,max3d,unity..) and than just import/load all things (model and colliders) in BabylonJS from one file (FBX,babylon,glTF...) I would like that modeling and adding colliders will be separately/independently from BabylonJS coding. BabylonJS Importer should do all for us (so importing model and setup colliders) (our final scene build in 3d modeling tool -blender,max3d,unity...) Any advice? Any infos? Any Help? Greetings Ian
  22. Hi All, We are facing a strange problem when exporting a babylon file from Max. Let us say we have 6 models. when we export, all the 5 models of the six stays intact, but the 6th model, is displaced to the top. Any reason why ? (AS shown in figure attached). 3dsmax version:2017 ,exporter_version:0.4.5 Any possible reason why ? because we are not able to identify why this model alone is displaced after exporting. Regards, Sac
  23. Hi Guys, I created this post hoping to find people interested in helping on the development and documentations of the unity toolkit. The unity editor allows to put an scene together very easy and export it all ,(lights cameras, meshes etc) with out a line of code How this works? Well @MackeyK24 started developing in visual studio the exporter tool and he saw a way to transform the camera , light or mesh from unity to babylon metadata, then later he add support for animations, splat maps painting, particles system and PBR materials, all of these trough the C# and the unity exporter. Furthermore, I join him on the project 6 months ago and I'm no as good as he is as developer but he took the time to show me and recorded videos to show people how to use it and improve it. I was not easy to pick it up if you dont have a strong object oriented programming skills winch most java script developer lack of, but this is an excellent way to learn or improve your coding skills So if you want to joins us and have some spare time to learn, please feel free to contact me, I can try to put you guys up to speed so we can continue with this great tool for development
  24. Does anyone know how I can edit the .CS files for the current Unity3D exporter and the changes applied? When I edit the .CS files it doesn't make any difference within Unity3D. It looks like I have to compile them into something. The package does not convert prefabs into instances which is a big deal if you have 1,000 trees in your Unity3D scene so I want to add these changes to it. I've tried contacting the original author of this package @MackeyK24 via forum post and private message but he seems to have disappeared
  25. Pierre Glibert

    Exporter blender : multi animations bug

    Hello everybody, We have a problem with Blender Exporter 4.6.1. Let us explain to you : We have two animations : one cube with skeleton and another with a standard animation. In blender, after we export our scene with babylon exporter, it replaces all the animations by one. In the babylon file, we have all animations that are merged one after another. For all meshes that contain animation, the exporter copy all the keys of all the animations in one animation. Please find enclosed the file with source and video to show you this bug. Thank you in advance for your help Letsbro studio team. cubeAnimBug.zip