Hi,
I know how to create height maps in Babylon using code like this:
// Ground EDIT to suit color and monochrome images
var image = 'color.png';
var heightmap = 'mono.png';
var groundMaterial = new BABYLON.StandardMaterial("ground", scene);
groundMaterial.diffuseTexture = new BABYLON.Texture(image, scene);
groundMaterial.specularColor = new BABYLON.Color3(0, 0, 0);
var ground = BABYLON.Mesh.CreateGroundFromHeightMap("ground", heightmap, 402, 204, 200, 40, 0, scene, false);
ground.material = groundMaterial;
I want to create dynamic height maps whose topography is controlled by a video file. However, if I change the PNG files above to AVI videos the model does not load.
Is it possible to create animated height maps from video files?
thx in advance
Dave