Carlos R

  • Content count

  • Joined

  • Last visited

About Carlos R

  • Rank

Contact Methods

  • Twitter
  1. Justo ahora tengo una reunión del comite, deseenme suerte porque podré perder la paciencia y eso de la convivencia quedará en palabras.

  2. Load scene, get "TypeError: a is undefined"

    Hi @giertych97, can you share us your .babylon scene? or in order to get a quick look we need a repro case in the playground, can you share it?
  3. Thanks everybody for your help, specially to @raananw When i run the code, thist scene was in front of my eyes, Then, i knew that it was necesary to add 180º degrees to the angle: And here is the result: Thanks again, Carlos.
  4. Hi folks, here I am bothering you on this forum hahaha. I've tried, unsuccessfully, to rotate a tree so it can be perpendicular to the surface of an sphere at some point. You can see what I did at (I have use, without his permission, @Temechon trees, you can visit his tutorial here) The trees positions are genereted by using a random theta and phi angles: Here is a pic And heres is another Thanks in advances and sorry for my bad english
  5. Yes, the problem was solved here:
  6. Move RTS ArcRotateCamera

    Hi Chris, I can't understand what you need. Isn't just translate the camara position and keep looking to the same point? Also, could you please give us a hand by using for a simple example? Regards, Carlos.
  7. rotation.z on freecam?

    Using @Deltakosh solution, you can check this example:
  8. fragment shader instead of skybox

    Yes its possible: Check this shaders // Skydome var skybox = BABYLON.Mesh.CreateSphere("skyBox", 50, 500, scene); // The sky creation BABYLON.Engine.ShadersRepository = "shaders/"; var shader = new BABYLON.ShaderMaterial("gradient", scene, "gradient", {}); shader.setFloat("offset", 200); shader.setColor3("topColor", BABYLON.Color3.FromInts(0, 119, 255)); shader.setColor3("bottomColor", BABYLON.Color3.FromInts(240, 240, 255)); shader.backFaceCulling = false; skybox.material = shader;Those aren't mine, credits from Julian:
  9. Retrieve heightmap altitude

    Hey thanks, it works.
  10. Exporting errors

    I also have some problems trying to export my model, then i update blender to version 2.72 and everything works as i expected. What kind of anomalies your animation have? can you create an example? upload it to http://www.babylonjs/playground/ or in dropbox.
  11. Sun in the space

    Everything you can imagine, can be render in BabylonJs.
  12. Retrieve heightmap altitude

    Of course, Line 40.
  13. Retrieve heightmap altitude

    Hi guys, i'm trying to retrieve the altitude of a heightmap but nothing happends. Here i have an example using a simple groundMesh: , You can see that it works well, at any given coordinate (x,z), i could retrive the 'y' value. But not with CreateGroundFromHeightMap, not anymore . Check this example: Also, i try to use 'ground.intersects(rayo, false).pickedPoint' but nothing happends. What can i do? Thanks in advance, Carlos-R
  14. Get height of a point in heightmap

    Oh, sorry, here is an answer:
  15. Hi guys, Its posible to get the height of a heightmap given the X and Z coordinates? Here i show an image explaining what i want: Thanks in advance, Carlos R.