You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android chrome NOT ALL EXAMPLES WORKS
camera_texture demo works with optimisation code
Cant use video texture on objects on cube works.
Probally exist some limitation for vetrex size...
Hybrid mobile platforms
Hybrid Android
Light ambient too mush amp values [keep it from 0 - 1]
Audio is on camera on but no textures/black
Video textures bliking diff solid colors...
# exports each selected object into its own fileimportbpyimportos# export to blend file locationbasedir=os.path.dirname(bpy.data.filepath)
ifnotbasedir:
raiseException("Blend file is not saved")
view_layer=bpy.context.view_layerobj_active=view_layer.objects.activeselection=bpy.context.selected_objectsbpy.ops.object.select_all(action='DESELECT')
forobjinselection:
obj.select_set(True)
# some exporters only use the active objectview_layer.objects.active=objname=bpy.path.clean_name(obj.name)
fn=os.path.join(basedir, name)
bpy.ops.export_scene.obj(filepath=fn+".obj", use_selection=True)
# Can be used for multiple formats# bpy.ops.export_scene.x3d(filepath=fn + ".x3d", use_selection=True)obj.select_set(False)
print("written:", fn)
view_layer.objects.active=obj_activeforobjinselection:
obj.select_set(True)