The castle building on the Kozlov edge was first mentioned in the 12th century, but the castle's appearance changed several times with changing owners and repairs after earthquakes (1348 and 1511). The last major renovation took place in 1608. The 3D reconstruction thus shows the castle at the beginning of the 17th century, when Gašper Vid of Dornberg restored and improved it for the last time. It is a walled, raised bastion courtyard surrounded by four towers, with ancillary buildings leaning against the walls: the armoury, the captain's chamber and room, the kitchen, the crew room, the chapel, the solarium and the cellar below, and two filter cisterns - fountains - in the courtyard. One of the round towers houses the prisoners' quarters and store room, the other the powder magazine. The purpose of the polygonal towers is unknown, but they are probably purely defensive.
In front of the castle entrance there is a fortified and walled platform - the bastion, while the entrance to the castle itself is protected by a deep defensive moat and connected to the bastion by a swinging drawbridge. The buildings are surrounded by a walled wreath, which prevents a direct attack on the main wall. A small round tower is built into this wall to guard the passage on the side. The castle was abandoned in the 17th century when the owners moved to a new building in Tolmin. During the First World War, the ruins served as an observation point for the defence of the 'Tolmin bridgehead', but since the 1990s the area has been rehabilitated and made into a lookout point. The ruins of the castle have been declared a cultural monument.
An attempt at 3D reconstruction shows the castle at the beginning of the 17th century, when Gašper Vid of Dornberg restored and improved it for the last time. The basis for the reconstruction attempt was the precise measurements of the existing ruins, which were captured as a point cloud by drones and the floor plan was geodetically measured. In dialogue with experts from the Tolmin Museum, we reviewed archival materials and digitally reconstructed the walls and key elements of the castle in the Unreal Engine software environment. In parallel with the preparation of the reconstruction experiment, several 360-degree photographs were taken in the field and the 3D reconstruction experiments were integrated into them.