NasimiAsl

Members
  • Content count

    1,299
  • Joined

  • Last visited

  • Days Won

    48

Everything posted by NasimiAsl

  1. editor and SVG Path under progress https://www.babylonjs-playground.com/#1ZEABJ#76 https://www.babylonjs-playground.com/#1ZEABJ#77 https://www.babylonjs-playground.com/#1ZEABJ#78 https://www.babylonjs-playground.com/#1ZEABJ#79
  2. NasimiAsl

    BranchGeometry ( GeometryBuilder )

    https://www.babylonjs-playground.com/#1ZEABJ#147
  3. NasimiAsl

    How to actually use Cocoon.io

    it is old post @MackeyK24 i don't remember i just test some and i don't work with that tools now
  4. NasimiAsl

    gizmo

    that is perfect
  5. NasimiAsl

    gizmo

    @trevordev hi my samples is just geometry i don't make gizmo in playground wish that be done (anybody) that animation show angels when drag and drop happen you can remove them just need setFloat like i set
  6. NasimiAsl

    gizmo

    https://www.babylonjs-playground.com/#1ZEABJ#126 that generated by GeometryBuilder & shaderBuilder i can make obj and shader too if anyone wanna use
  7. NasimiAsl

    gizmo

    hi @Deltakosh are you start that task (yourself)? i can help if you want. bandicam 2018-06-07 11-37-53-471.mp4
  8. NasimiAsl

    Car Light Physics Engine

    wonderful
  9. NasimiAsl

    How to implement weapon accuracy?

    hi use MAth : (Math.random()*1.-0.5)*0.1 https://www.babylonjs-playground.com/#2GXKNW#32 var pos = camera.position; var tar = { x:camera.getTarget().x*1.+(Math.random()*1.-0.5)*0.1-pos.x, y:camera.getTarget().y*1.+(Math.random()*1.-0.5)*0.1-pos.y, z:camera.getTarget().z*1.-pos.z}; var r = new BABYLON.Ray( pos,tar,1000.); var meshFound = scene.pickWithRay(r );
  10. NasimiAsl

    cloud : fill inside of mesh

    make points instance inside of box mesh https://www.babylonjs-playground.com/#L3PEXN#17 https://www.babylonjs-playground.com/#L3PEXN#18
  11. NasimiAsl

    cloud : fill inside of mesh

    thanks @Wingnut it is not just cloud before this we just can draw on face but i try draw inside of mesh i don't think now about what benefit that have i start with this sample https://www.babylonjs-playground.com/#L3PEXN and https://www.babylonjs-playground.com/#L3PEXN#6 and https://www.babylonjs-playground.com/#L3PEXN#8 i just wanna draw what i want in one shader ( without post-process )
  12. hi All GeometryBuilder Alpha version is Ready This Is Core Version We can make GeometryBuilder Template like face , Box , Sphere or ... geometryBuilder Has 2 part for any Template 1. the Builder 2. the Creator in part 1 we define how we make face with vertices and make uv and define what setting we need for make a instance of this Geometry template and in part 2 just fill the setting (this defined in part 1) and make a mesh simple Face part 1 var face = function (op) { // define a template builder var builder = function (setting /*setting of template */ , geo /*automatic generated in GB (current instance)*/) { /*make a face in the geo instance*/ GB.MakeFace(geo, [setting.p1, setting .p2, setting .p3, setting .p4] , { faceUVMap: "0123", // uv map draw side uvStart: { u: 0., v: 0. }, uvEnd: { u: 1., v: 1. } }); }; return new BABYLONX.Geometry(GB.GeometryBase(op, builder )); } part 2 : var mesh = face({ p1: { x: -1., y: 0.0, z: -1 }, p2: { x: -1., y: 0., z: 1 }, p3: { x: 1., y: 0., z: -1 }, p4: { x: 1., y: 0.0, z: 1 }, }).toMesh(scene); http://www.babylonjs-playground.com/#1QC9DP#5 some template sample : box : http://www.babylonjs-playground.com/#1QC9DP#4 Cylinder : http://www.babylonjs-playground.com/#1QC9DP#6 Cone : http://www.babylonjs-playground.com/#1QC9DP#7 something special : http://www.babylonjs-playground.com/#1QC9DP#8 smooth version : http://www.babylonjs-playground.com/#1QC9DP#9 *notice : this is preview version the final version in Test and refactor level cheers Nasimiasl
  13. NasimiAsl

    GeometryBuilder (core) Alpha Version

    https://www.babylonjs-playground.com/#1ZEABJ#108
  14. NasimiAsl

    Animating ArcRotateCamera setTarget

    hi @promontis welcome to BJS froum http://www.babylonjs-playground.com/#5VM87K#1 http://www.babylonjs-playground.com/#5VM87K i use my tools just need replace this camera._target.x = ev.source.position.x ; with this var wx = new wind(); wx.fun = function (i, par) { camera._target.x = i;}; wx.go( ev.source.position.x); manage between frame by steps : http://www.babylonjs-playground.com/#5VM87K#2 http://www.babylonjs-playground.com/#5VM87K#3 http://www.babylonjs-playground.com/#5VM87K#6 // advance
  15. NasimiAsl

    GeometryBuilder (core) Alpha Version

    https://www.babylonjs-playground.com/#1ZEABJ#100 https://www.babylonjs-playground.com/#1ZEABJ#101 https://www.babylonjs-playground.com/#1ZEABJ#98 highpoly size : 22 kb
  16. NasimiAsl

    Animation Conventions GLSL

    attribute most be for each vertex ( check uv2 ) i don't think that help in clone time
  17. NasimiAsl

    Animation Conventions GLSL

    what kind of animation show me a video or gif
  18. NasimiAsl

    Animation Conventions GLSL

    can i ask what animation and what mesh you wanna do ?
  19. NasimiAsl

    Animation Conventions GLSL

    if you can make particle from your mesh you can manage them by one shader http://www.babylonjs-playground.com/#1QC9DP#99
  20. NasimiAsl

    Animation Conventions GLSL

    and other way is available too let me think about that
  21. NasimiAsl

    Animation Conventions GLSL

    You saw this helped finally some one use wired solution
  22. NasimiAsl

    Animation Conventions GLSL

    a wired way is available but i don't know that is best solution any way the attribute channel is different for shader but you clone that so just world position is different https://www.babylonjs-playground.com/#CSZYEP#8 maybe that help https://www.babylonjs-playground.com/#CSZYEP#9
  23. NasimiAsl

    Animation Conventions GLSL

    https://www.babylonjs-playground.com/#CSZYEP#6 you can not set diffrent value to one Shader Effect so you can clone mesh but need make new Shader for each one again
  24. NasimiAsl

    Door designer (Work in progress)

    so good
  25. NasimiAsl

    GPU (shaders) for vertex animation

    hi oz if you have time (2 week )for this project we can make it and need your cloth vertex data and obj too