当前位置: 首页>>代码示例>>Python>>正文


Python render_stage.RenderStage类代码示例

本文整理汇总了Python中rpcore.render_stage.RenderStage的典型用法代码示例。如果您正苦于以下问题:Python RenderStage类的具体用法?Python RenderStage怎么用?Python RenderStage使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了RenderStage类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

    def __init__(self, pipeline):
        RenderStage.__init__(self, pipeline)
        self.max_lights_per_cell = pipeline.settings["lighting.max_lights_per_cell"]
        self.slice_width = pipeline.settings["lighting.culling_slice_width"]

        # Amount of light classes. Has to match the ones in LightClassification.inc.glsl
        self.num_light_classes = 4
开发者ID:aimoonchen,项目名称:RenderPipeline,代码行数:7,代码来源:cull_lights_stage.py

示例2: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.resolution = 2048
     self.clip_size = 500
     self.sun_distance = 8000
     self.sun_vector = Vec3(0, 0, 1)
     self.pta_mvp = PTAMat4.empty_array(1)
开发者ID:croxis,项目名称:SpaceDrive,代码行数:7,代码来源:pssm_dist_shadow_stage.py

示例3: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.resolution = 128
     self.diffuse_resolution = 4
     self.regions = []
     self.cameras = []
     self.rig_node = Globals.render.attach_new_node("EnvmapCamRig")
     self.pta_index = PTAInt.empty_array(1)
     self.storage_tex = None
     self.storage_tex_diffuse = None
开发者ID:gitter-badger,项目名称:RenderPipeline,代码行数:10,代码来源:environment_capture_stage.py

示例4: __init__

    def __init__(self, pipeline):
        RenderStage.__init__(self, pipeline)
        self.resolution = 2048
        self.sun_vector = Vec3(0, 0, 1)
        self.sun_distance = 10.0
        self.pta_mvp = PTAMat4.empty_array(1)
        self.focus = None

        # Store last focus entirely for the purpose of being able to see
        # it in the debugger
        self.last_focus = None
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:11,代码来源:pssm_scene_shadow_stage.py

示例5: __init__

    def __init__(self, pipeline):
        RenderStage.__init__(self, pipeline)
        self.max_lights_per_cell = pipeline.settings["lighting.max_lights_per_cell"]

        if self.max_lights_per_cell > 2**16:
            self.fatal("lighting.max_lights_per_cell must be <=", 2**16, "!")

        self.slice_width = pipeline.settings["lighting.culling_slice_width"]
        self.cull_threads = 32

        # Amount of light classes. Has to match the ones in LightClassification.inc.glsl
        self.num_light_classes = 4
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:12,代码来源:cull_lights_stage.py

示例6: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.area_tex = None
     self.search_tex = None
     self.use_reprojection = True
     self._jitter_index = PTAInt.empty_array(1)
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:6,代码来源:smaa_stage.py

示例7: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.pta_position = PTALVecBase3f.empty_array(1)
开发者ID:ELMERzark,项目名称:RenderPipeline,代码行数:3,代码来源:capture_stage.py

示例8: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.voxel_resolution = 256
     self.voxel_world_size = -1
     self.state = self.S_disabled
     self.create_ptas()
开发者ID:croxis,项目名称:SpaceDrive,代码行数:6,代码来源:voxelization_stage.py

示例9: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.size = 4096
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:3,代码来源:shadow_stage.py

示例10: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.pta_position = PTALVecBase3f.empty_array(1)
     self.resolution = 512
     self.capture_height = 100.0
     self.max_radius = 100.0
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:6,代码来源:capture_stage.py

示例11: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self._voxel_res_xy = 256
     self._voxel_res_z = 32
开发者ID:ELMERzark,项目名称:RenderPipeline,代码行数:4,代码来源:cloud_voxel_stage.py

示例12: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.num_splits = 3
     self.split_resolution = 512
     self.split_regions = []
开发者ID:jakogut,项目名称:RenderPipeline,代码行数:5,代码来源:pssm_shadow_stage.py

示例13: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self._transfers = []
开发者ID:croxis,项目名称:SpaceDrive,代码行数:3,代码来源:update_previous_pipes_stage.py

示例14: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.max_probes_per_cell = 4
     self.slice_width = pipeline.settings["lighting.culling_slice_width"]
开发者ID:ELMERzark,项目名称:RenderPipeline,代码行数:4,代码来源:cull_probes_stage.py

示例15: __init__

 def __init__(self, pipeline):
     RenderStage.__init__(self, pipeline)
     self.sharpen_twice = True
开发者ID:ELMERzark,项目名称:RenderPipeline,代码行数:3,代码来源:sharpen_stage.py


注:本文中的rpcore.render_stage.RenderStage类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。