A computer-implemented method of generating, for use in a rendering process, a representation of a volumetric dataset representing a medical volume, the method comprising:
- generating a plurality of sets of functions representing a volumetric dataset in different respective rendering configurations;
- determining, based on the plurality of sets of functions, given functions having a respective 3D location with respect to the volumetric dataset and a respective one or more visual attribute values to be stored in a representation of the volumetric dataset to be used in a rendering process;
- and
- storing, in the representation of the volumetric dataset, the given functions in association with selection data configured to allow selection, during the rendering process, of one or more of the given functions for use in the rendering process, wherein the selection data is based on one or more of the rendering configurations.