Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5310

Sketchfab assignment submission plugin

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7, 2.8
    • Fix Version/s: None
    • Labels:
      None

      Description

      An assignment submission plugin for Sketchfab (http://www.sketchfab.com), allowing instructors to set 3D assignments with target polycounts, texture/material counts (and optionally supporting non-power-of-two textures).

      Use case
      1. Teacher sets an assignment, and enables both file uploading and Sketchfab integration for that assignment
      2. Student submits a .zip with their model and textures in it, along with their API key (not saved anywhere in Moodle for security reasons)
      3. Moodle kicks off a request to Sketchfab, and stores the resulting UID in its database
      4. Teacher now has:
        • a local copy of the student's .zip to run through diff/plagiarism tools
        • an embedded Sketchfab viewer on the view submission page to visually inspect the model and check it against assessment criteria without loading up a DCC app
      Testing instructions
      1. Install the plugin.
      2. As a teacher, create an assignment.
      3. Enable both file uploading and Sketchfab integration for the assignment.
        • This plugin requires that file uploading be enabled.
        • Note that there is a new section of options for the assignment, labeled as 3D criteria. Leave them alone for now.
      4. Create an account at Sketchfab (http://www.sketchfab.com) and make a note of your API key (available at https://sketchfab.com/settings/password once you've logged in).
      5. As a student, submit the attached file, along with your API key.
        • The API key is never stored, as storing it would give the educational institution full read/write access over the user's Sketchfab account.
      6. As a teacher, view the student's submission. Observe that there is now a section labeled Sketchfab submissions that is expandable; expand it to show the viewer.
      7. Edit the settings for the assignment and turn on texture size restrictions. Set the texture size to be 512.
      8. View the submission again. Observe that the plugin has detected that the student's submission has one or more textures above the size restriction.
      9. Edit the settings for the assignment and turn on polygon count restrictions. Set the polycount to be 200.
      10. View the submission again. Observe that the plugin has detected that the student's submission is well within the range required.

        Attachments

          Activity

            People

            • Assignee:
              aborrow Anthony Borrow
              Reporter:
              jethac Jetha Chan
              Participants:
              Component watchers:
              Anthony Borrow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: