A method comprising: - obtaining at least one digital photographic image of a view of a 3D real space; - obtaining a position and an orientation of the digital photographic image relative to a specified view point; - extracting from the at least one digital photographic image at least one mask representing at least one object having a specified position in the 3D real space in the at least one digital photographic image; - associating to the mask an object distance between the object and the specified view point; - associating to the digital photographic image a distance higher than the object distance; - creating a digital simulation scene comprising the digital photographic image and the mask. said method being characterised by: - determining a light source position and a light source color of a light source representing the sun based on shadows in the digital photographic image, said determining comprising: ∘ placing in the digital simulation scene: ▪ said light source using initial values of the light source position and the light source color; ▪ an artificial object; ∘ projecting a shadow of the artificial object on a horizontal transparent plane; ∘ modifying the light source position and the light source color, in order that said shadow of the artificial object is consistent with a shadow of a real object in the digital photographic image; - adding said light source having the light source color at the light source position in the digital simulation scene. - obtaining at least one digital photographic image of a view of a 3D real space; - obtaining a position and an orientation of the digital photographic image relative to a specified view point; - extracting from the at least one digital photographic image at least one mask representing at least one object having a specified position in the 3D real space in the at least one digital photographic image; - associating to the mask an object distance between the object and the specified view point; - associating to the digital photographic image a distance higher than the object distance; - creating a digital simulation scene comprising the digital photographic image and the mask. - determining a light source position and a light source color of a light source representing the sun based on shadows in the digital photographic image, said determining comprising: ∘ placing in the digital simulation scene: ▪ said light source using initial values of the light source position and the light source color; ▪ an artificial object; ∘ projecting a shadow of the artificial object on a horizontal transparent plane; ∘ modifying the light source position and the light source color, in order that said shadow of the artificial object is consistent with a shadow of a real object in the digital photographic image; ∘ placing in the digital simulation scene: ▪ said light source using initial values of the light source position and the light source color; ▪ an artificial object; ▪ said light source using initial values of the light source position and the light source color; ▪ an artificial object; ∘ projecting a shadow of the artificial object on a horizontal transparent plane; ∘ modifying the light source position and the light source color, in order that said shadow of the artificial object is consistent with a shadow of a real object in the digital photographic image; - adding said light source having the light source color at the light source position in the digital simulation scene.