Exemple #1
0
def init_scene():
    g.set_duration(0.0)
    g.set_renderer("ClearView (Unified)")
    g.set_mesh(
        "2011 - All-Hex Mesh Generation via Volumetric PolyCube Deformation",
        "anc101_a1", "mesh")
    g.set_transfer_function("Standard_anc_vid.xml")
    g.set_camera_checkpoint("Frontal")
    g.set_rendering_algorithm_settings({
        "line_width":
        0.0016,
        "lod_value_context":
        0.128,
        "lod_value_focus":
        0.15,
        "use_screen_space_lens":
        True,
        "screen_space_lens_radius":
        0.0,
        "screen_space_lens_position": (10.5, 10.5),
        "focus_outline_width":
        9.0,
        "clip_focus_outline":
        False,
        "focus_outline_color": (1.0, 0.0, 0.0),
        "important_lines":
        0.571,
        "important_cells":
        0.522,
    })
    g.set_duration(2)
Exemple #2
0
def init_scene():
    g.set_duration(0.0)
    g.set_renderer("ClearView (Unified)")
    g.set_mesh("2016 - All-Hex Meshing Using Closed-Form Induced Polycube",
               "grayloc-hex", "vtk")
    g.set_transfer_function("Standard_grayloc.xml")
    g.set_camera_checkpoint("Overview")
    g.set_rendering_algorithm_settings({
        "line_width":
        0.0016,
        "lod_value_context":
        0.0,
        "lod_value_focus":
        0.15,
        "use_screen_space_lens":
        True,
        "screen_space_lens_radius":
        0.0,
        "screen_space_lens_position": (10.5, 10.5),
        "focus_outline_width":
        11.5,
        "clip_focus_outline":
        False,
        "focus_outline_color": (1.0, 0.0, 0.0),
        "important_lines":
        0.562,
        "important_cells":
        0.562,
    })
    g.set_duration(2)
Exemple #3
0
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)
Exemple #4
0
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'
    ])
Exemple #5
0
def init_scene():
    g.set_duration(0.0)
    g.set_renderer("ClearView (Unified)")
    g.set_mesh(
        "2015 - Practical Hex-Mesh Optimization via Edge-Cone Rectification",
        "dragon_out", "mesh")
    g.set_transfer_function("Standard_dragon.xml")
    g.set_camera_checkpoint("Overview")
    g.set_rendering_algorithm_settings({
        "line_width":
        0.0018,
        "lod_value_context":
        0.126,
        "lod_value_focus":
        0.192,
        "use_screen_space_lens":
        True,
        "screen_space_lens_radius":
        0.0,
        "screen_space_lens_position": (10.5, 10.5),
        "focus_outline_width":
        9.0,
        "clip_focus_outline":
        False,
        "focus_outline_color": (1.0, 0.0, 0.0),
        "important_lines":
        0.457,
        "important_cells":
        0.440,
    })
    g.set_duration(2)
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 init_scene():
    g.set_use_camera_flight(True)
    g.set_duration(0.0)
    g.set_renderer("ClearView (Unified)")
    g.set_mesh("2012 - All-Hex Meshing using Singularity-Restricted Field", "sculpture/sculpture-B", "vtk")
    g.set_transfer_function("Standard.xml")
    g.set_camera_checkpoint("Video")
    g.set_rendering_algorithm_settings({
        "line_width": 0.0040,
        "lod_value_context": 0.3,
        "lod_value_focus": 0.3,
        "use_screen_space_lens": True,
        "screen_space_lens_radius": 0.0,
        "screen_space_lens_position": (10.5, 10.5),
        "focus_outline_width": 9.0,
        "clip_focus_outline": False,
        "focus_outline_color": (1.0, 0.0, 0.0),
        "important_lines": 0.644,
        "important_cells": 0.446,
    })
Exemple #8
0
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'
    ])
Exemple #9
0
def init_scene():
    g.set_duration(0.0)
    g.set_renderer("ClearView (Unified)")
    g.set_mesh(
        "2020 - LoopyCuts - Practical Feature-Preserving Block Decomposition for Strongly Hex-Dominant Meshing",
        "motor_tail", "mesh")
    g.set_transfer_function("motor_tail.xml")
    g.set_camera_checkpoint("Close")
    g.set_rendering_algorithm_settings({
        "line_width":
        0.0038,
        "modulate_line_thickness_by_depth":
        True,
        "lod_value_context":
        0.002,
        "lod_value_focus":
        0.251,
        "use_screen_space_lens":
        True,
        "screen_space_lens_radius":
        855.0,
        "screen_space_lens_position": (-0.00368189, -0.157585),
        "focus_outline_width":
        14.0,
        "clip_focus_outline":
        False,
        "focus_outline_color": (1.0, 0.0, 0.0),
        "important_lines":
        0.554,
        "important_cells":
        0.300,
        "use_num_cells_or_volume":
        0.522,
        "lod_merge_factor":
        0.0,
    })
    g.set_duration(1.0)
Exemple #10
0
def move_camera():
    g.set_duration(3)
    g.set_camera_checkpoint("CloseUp")
    g.set_duration(2)