本文整理汇总了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
示例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)
示例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
示例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
示例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
示例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)
示例7: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self.pta_position = PTALVecBase3f.empty_array(1)
示例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()
示例9: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self.size = 4096
示例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
示例11: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self._voxel_res_xy = 256
self._voxel_res_z = 32
示例12: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self.num_splits = 3
self.split_resolution = 512
self.split_regions = []
示例13: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self._transfers = []
示例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"]
示例15: __init__
def __init__(self, pipeline):
RenderStage.__init__(self, pipeline)
self.sharpen_twice = True