import os
-import itertools
class DataExporter:
def export_to_file(self, ctx, out_fn, *, collection=False, shared_resources=False):
-import os
-
def create_technique_resource(material, resources):
from .datafile import Resource, Statement, Token
tech_res = Resource(material.name+".tech", "technique")
-import itertools
-import os
-import bpy
-import mathutils
-
class MeshExporter:
def export_mesh(self, ctx, mesh_or_obj):
from .mesh import Mesh, create_mesh_from_object
import os
-import mathutils
class ObjectExporter:
def collect_object_lods(self, obj):
import os
-import base64
-import codecs
import bpy
def pixels_to_rgba(pixels):
-import bpy
import math
import mathutils
import itertools
-import os
-
def linear_to_srgb(l):
if l<0.0031308:
return 12.92*l