Blender Cloud integration in Blender #48905

Closed
opened 2016-07-20 12:27:05 +02:00 by Francesco Siddi · 4 comments

Blender Cloud integration in Blender

We are planning some steps to improve the integration of Blender with the Blender Cloud. The goals are:

  • Forward and backward compatibility with Blender Cloud data and Add-on releases
  • Basic asset management functionality (pick asset variants)
  • Overall easier interaction with Blender Cloud data (nodes)

Our main motivation is to get some quick tools to allow for such easier interaction, before the asset engine project is completed.

Use case: image variant selection

The first planned use case is to allow the selection of variants of an image (in terms of resolution), within an image datablock.

The expected workflow is:

  • Open image editor
  • Image > Open From Blender Cloud...
  • Navigate and select the desired image
  • Once the image is selected, download the lowest resolution version
  • Select other variants of the image

Image data structure on Blender Cloud

Blender Cloud runs on the Pillar Framework and it uses flat-node-based data structures. In the case of an image we have the following (simplified) data:

{
	"name": "Forest",
	"node_type" : "hdri", 
	"project" : ObjectId("578d0984c379cf32a3ef45ca"), 
	"properties" : {
        "files" : [
            {
                "resolution" : "512p", 
                "file" : ObjectId("578e02a288bef6b02c071320")
            }, 
            {
                "resolution" : "256p", 
                "file" : ObjectId("578e30f788bef6becd487e6a")
            }
        ], 
        "status" : "unpublished", 
   
    },
}

We plan to generate a enum-based interface that easily allows the selection of a file, using the resolution attribute as a label. This will then trigger a callback which will download or fetch from a cache the selected file.

Visualizing datablocks connected with the Cloud

We want to be aware about which content has been assigned attributes that can be used by the Blender Cloud Add-on.
Our planned solution is to display additional text, or a standard label, on all such content. For example: in the Image Editor, we could display the Cloud icon in the header. The goal is to be informative, but not intrusive.

# Blender Cloud integration in Blender We are planning some steps to improve the integration of Blender with the Blender Cloud. The goals are: * Forward and backward compatibility with Blender Cloud data and Add-on releases * Basic asset management functionality (pick asset variants) * Overall easier interaction with Blender Cloud data (nodes) Our main motivation is to get some quick tools to allow for such easier interaction, before the asset engine project is completed. ## Use case: image variant selection The first planned use case is to allow the selection of variants of an image (in terms of resolution), within an image datablock. The expected workflow is: * Open image editor * Image > Open From Blender Cloud... * Navigate and select the desired image * Once the image is selected, download the lowest resolution version * Select other variants of the image ## Image data structure on Blender Cloud Blender Cloud runs on the [Pillar Framework](https://pillarframework.org) and it uses flat-node-based data structures. In the case of an image we have the following (simplified) data: ``` { "name": "Forest", "node_type" : "hdri", "project" : ObjectId("578d0984c379cf32a3ef45ca"), "properties" : { "files" : [ { "resolution" : "512p", "file" : ObjectId("578e02a288bef6b02c071320") }, { "resolution" : "256p", "file" : ObjectId("578e30f788bef6becd487e6a") } ], "status" : "unpublished", }, } ``` We plan to generate a enum-based interface that easily allows the selection of a `file`, using the `resolution` attribute as a label. This will then trigger a callback which will download or fetch from a cache the selected file. ## Visualizing datablocks connected with the Cloud We want to be aware about which content has been assigned attributes that can be used by the Blender Cloud Add-on. Our planned solution is to display additional text, or a standard label, on all such content. For example: in the Image Editor, we could display the Cloud icon in the header. The goal is to be informative, but not intrusive.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @fsiddi

Added subscriber: @fsiddi

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Francesco Siddi self-assigned this 2016-10-17 07:19:30 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/blender-cloud#48905
No description provided.