def mode3(): g.set_duration(0) g.set_dataset_settings({ 'major_on': True, 'major_lod': 1.0, }) g.set_duration(6)
def init_scene(): g.set_duration(0) g.set_dataset('Arched Bridge 3D (TVCG01, Fig 6, Fig 9)') #g.set_dataset('KittenHex (Vis2021, results)') g.set_camera_checkpoint('Front') g.set_rendering_algorithm_settings({ 'line_width': 0.0022, 'band_width': 0.004, 'depth_cue_strength': 0.8 }) g.set_dataset_settings({ 'attribute': "Principal Stress", 'major_on': True, 'medium_on': False, 'minor_on': True, 'major_lod': 1.0, 'medium_lod': 1.0, 'minor_lod': 1.0, 'major_use_bands': False, 'medium_use_bands': False, 'minor_use_bands': False, 'thick_bands': True, 'smoothed_bands': True, 'use_principal_stress_direction_index': True, }) g.set_transfer_functions([ 'qualitative-ocher.xml', 'qualitative-emerald.xml', 'qualitative-pale-lilac.xml' ]) g.set_duration(6)
def init_scene(): g.set_duration(0) g.set_dataset('Cantilever (Vis2021)') g.set_camera_checkpoint('Overview') g.set_rendering_algorithm_settings({ 'line_width': 0.007, 'band_width': 0.005, 'depth_cue_strength': 0.0 }) g.set_dataset_settings({ 'attribute': "Principal Stress", 'major_on': True, 'medium_on': False, 'minor_on': True, 'major_lod': 0.5, 'minor_lod': 0.5, 'major_use_bands': True, 'minor_use_bands': False, 'thick_bands': False, 'smoothed_bands': True, 'use_principal_stress_direction_index': True, }) g.set_transfer_functions([ 'qualitative-pale-lilac.xml', 'qualitative-emerald.xml', 'qualitative-ocher.xml' ])
def init_scene(): g.set_duration(0) g.set_dataset('Femur (Vis2021, Teaser)') g.set_camera_checkpoint('TeaserA-2') g.set_rendering_algorithm_settings({ 'line_width': 0.005, 'band_width': 0.008, 'depth_cue_strength': 0.8 }) g.set_dataset_settings({ 'attribute': "Principal Stress Magnitude", 'major_on': True, 'medium_on': False, 'minor_on': True, 'major_lod': 0.3, 'minor_lod': 0.5, 'major_use_bands': True, 'minor_use_bands': False, 'thick_bands': True, 'smoothed_bands': True, 'use_principal_stress_direction_index': True, }) g.set_transfer_functions([ 'qualitative-pale-lilac.xml', 'qualitative-emerald.xml', 'qualitative-ocher.xml' ]) g.set_transfer_functions_ranges([(0.0, 1.594), (0.0, 1.594), (0.0, 1.594)]) #g.set_transfer_functions_ranges([(-0.06, 1.274), (-0.213, 0.157), (-0.96, 0.019)]) g.set_duration(0.001) g.set_transfer_functions_ranges([(0.0, 1.594), (0.03, 1.594), (0.0, 1.594)]) g.set_duration(6)
def bands(): g.set_duration(0) g.set_dataset_settings({ 'medium_on': False, 'major_use_bands': True, }) g.set_duration(10)
def change_lod(): g.set_duration(6) g.set_dataset_settings({ 'major_lod': 0.3, 'medium_lod': 0.3, 'minor_lod': 0.6 }) g.set_duration(10)
def use_von_mises_stress(): g.set_duration(0) g.set_dataset_settings({ 'attribute': "von Mises Stress", 'use_principal_stress_direction_index': False }) #g.set_transfer_function_range((0.031, 1.124)) g.set_transfer_function_range((0.075, 1.236)) g.set_duration(6)
def init_scene(): g.set_duration(0) g.set_dataset('Arched Bridge 3D (TVCG01, Fig 6, Fig 9)') g.set_camera_checkpoint('Closeup') g.set_rendering_algorithm_settings({ 'band_width': 0.003, 'depth_cue_strength': 0.8 }) g.set_dataset_settings({ 'major_on': False, 'medium_on': False, 'minor_on': True, 'minor_lod': 0.3, 'minor_use_bands': True, 'thick_bands': False, 'smoothed_bands': True, 'use_principal_stress_direction_index': True }) g.set_transfer_functions([ 'qualitative-ocher.xml', 'qualitative-emerald.xml', 'qualitative-pale-lilac.xml' ])
def elliptic_tubes_on(): g.set_duration(0) g.set_dataset_settings({'thick_bands': True})
def mode4(): g.set_duration(0) g.set_dataset_settings({'minor_use_bands': True}) g.set_duration(6)
def mode2(): g.set_duration(0) g.set_dataset_settings({'minor_lod': 0.4}) g.set_duration(6)
def mode1(): g.set_duration(0) g.set_dataset_settings({'major_on': False}) g.set_duration(6)
def mode0(): g.set_duration(0) g.set_dataset_settings({'major_lod': 0.4}) g.set_duration(6)