def GetRegClasses(): reg_classes = [] if SysUtils.hasRtExporter(): reg_classes.append(VRayRendererRT) else: reg_classes.append(VRayRenderer) reg_classes.append(VRayRendererPreview) return reg_classes
def GetRegClasses(): reg_classes = [] if SysUtils.hasRtExporter(): reg_classes.append(VRayRendererRT) else: reg_classes.append(VRayRenderer) reg_classes.append(VRayRendererPreview) return reg_classes
import sys import shutil import bpy import bmesh from bpy.props import * import vb30.proxy from vb30.lib import LibUtils, BlenderUtils, PathUtils, SysUtils from vb30.lib import ColorUtils from vb30.plugins import PLUGINS, PLUGINS_ID from vb30 import debug HAS_VB35 = SysUtils.hasRtExporter() HAS_ZMQ = HAS_VB35 if HAS_VB35: import _vray_for_blender_rt if HAS_ZMQ: from vb30.engine import ZMQ ## ## ######## ######## ### ######## ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ## ## ## ## ## ###### ## ## ## ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ####### ## ######## ## ## ## ########
# All Rights Reserved. V-Ray(R) is a registered trademark of Chaos Software. # import bpy import sys import _vray_for_blender import os import json from vb30 import version from vb30.lib import SysUtils from vb30.lib import BlenderUtils HAS_VB35 = SysUtils.hasRtExporter() if HAS_VB35: import _vray_for_blender_rt TYPE = 'SYSTEM' ID = 'VRayExporter' NAME = 'Exporter' DESC = "Exporter configuration" def _mtlEditorUpdatePreview(self, context): if self.materialListIndexPrev != self.materialListIndex: self.materialListIndexPrev = self.materialListIndex _vray_for_blender.updatePreview(bpy.context.as_pointer(), BlenderUtils.NC_MATERIAL)