Carlos R

Members
  • Content count

    19
  • Joined

  • Last visited

About Carlos R

  • Rank
    Member

Contact Methods

  • Twitter
    @carlochess
  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. Carlos R

    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 http://uvshop.co/mimundo/. (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: http://www.html5gamedevs.com/topic/2248-retrieve-heightmap-altitude/
  6. Carlos R

    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 http://www.babylonjs.com/playground/ for a simple example? Regards, Carlos.
  7. Carlos R

    rotation.z on freecam?

    Using @Deltakosh solution, you can check this example: https://www.babylonjs-playground.com/#D4CDS
  8. Carlos R

    fragment shader instead of skybox

    Yes its possible: http://pixelcodr.com/tutos/trees/trees.html Check this shaders http://pixelcodr.com/tutos/shooter/game/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: http://pixelcodr.com/aboutme.html
  9. Carlos R

    Retrieve heightmap altitude

    Hey thanks, it works.
  10. Carlos R

    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. Carlos R

    Sun in the space

    Everything you can imagine, can be render in BabylonJs. http://www.babylonjs.com/playground/#UDERY
  12. Carlos R

    Retrieve heightmap altitude

    Of course, http://www.babylonjs.com/playground/#SLHC2 Line 40.
  13. Carlos R

    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: http://www.babylonjs.com/playground/#24LCDU#1 , 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: http://uvshop.co/babylonjs/problema/ Also, i try to use 'ground.intersects(rayo, false).pickedPoint' but nothing happends. What can i do? Thanks in advance, Carlos-R
  14. Carlos R

    Get height of a point in heightmap

    Oh, sorry, here is an answer: http://www.html5gamedevs.com/topic/2248-retrieve-heightmap-altitude/
  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.