惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
MyScale Blog
MyScale Blog
Microsoft Security Blog
Microsoft Security Blog
量子位
B
Blog
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
T
The Exploit Database - CXSecurity.com
N
News | PayPal Newsroom
Cloudbric
Cloudbric
A
About on SuperTechFans
AI
AI
Hacker News: Ask HN
Hacker News: Ask HN
S
Schneier on Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 最新话题
T
The Blog of Author Tim Ferriss
Simon Willison's Weblog
Simon Willison's Weblog
有赞技术团队
有赞技术团队
H
Heimdal Security Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
D
Docker
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic
IT之家
IT之家
Know Your Adversary
Know Your Adversary
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
博客园 - 叶小钗
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
The Hacker News
The Hacker News
Y
Y Combinator Blog
I
Intezer
The Register - Security
The Register - Security
F
Full Disclosure
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler

夜行人

回家路上 第一期的直播演示项目 震动检测器 正能量 在线参观CodeLab Neverland 发布 CodeLab Adapter 3.3.1 DynamicTable 之 纸糊方向盘 CodeLab DynamicTable: 一个可实施的技术方案 CodeLab Insight 发布 Alpha 版 情人节 Home Assistant 周报 && IoT 周报 (02) Joplin: 关注隐私的 Evernote 开源替代软件 浏览器的未来与 Web 传感器 Home Assistant 周报 && IoT 周报 (01) 百宝箱(01) 论自由 介绍 WebThings Home Assistant 周报 && iot 周报 (00) 百宝箱(00) 毛姆读书心得 传世之作 周末徒步 CodeLab Adapter ❤️ Jupyter/Python 航班 躲雨 夏令营途中 [译]思想--作为一种技术 The future of coding 美国之行 三门问题的程序模拟 从Python转向Pharo https://blog.just4fun.site/post/iot/iot-open-source-projects/ Python异步编程笔记 https://blog.just4fun.site/post/iot/iot-open-source-hardware-community/ 万物积木化开发者社区 Scratch3技术分析之云变量 API(第7篇) [译]对管道(Pipes)的偏爱 [译]提出正确的问题比得到正确答案更重要 蓝牙设备与Scratch3.0 创建你的第一个Scratch3.0 Extension Scratch3技术分析之项目内部数据(第6篇) Scratch3技术分析之社区 API(第5篇) Scratch3技术分析之User API(第4篇) Scratch3技术分析之项目主页API(第3篇) Scratch3技术分析之静态资源API(第2篇) Scratch3.0、micro:bit与Windows7 https://blog.just4fun.site/post/iot/zerynth-vs-micropython/ 核聚变、方所与半宅空间 可视化编程为何是个糟糕的主意 codelab.club周末聚会 关于codelab.club '下一件大事'是一个房间 Hungry Robot - Eat everything 编程作为一种思考方式 今日简史 史蒂夫·乔布斯传 罗素自选文集 https://blog.just4fun.site/post/edx/tianjin-scratch-ai/ https://blog.just4fun.site/post/edx/richie-cms-openedx/ 徒步武功山 WebUSB与micro:bit 积木化编程与3D场景 夜宿武功山顶 scratch3-adapter接入优必选Alpha系列机器人 https://blog.just4fun.site/post/edx/video-migration-note/ scratch3-adapter重构笔记 https://blog.just4fun.site/post/edx/edx-community-members/ 两种硬件编程风格的比较 使用micro:bit自制PPT翻页笔 柏拉图对话集 scratch3.0 + micro:bit 七月电影放映计划 非营利组织的管理 Screenly--用树莓派让任何屏幕变为可编程的数字标牌 以最佳实践开始你的Django项目 micro:bit与事件驱动 为Scratch3.0设计的插件系统(上篇) OCR应用一例 近两年读过的一些好书 blockly开发之使用python驱动浏览器中的turtle(2) 牛顿新传 文学理论入门 逻辑的引擎 人生的意义 blockly开发之生成并运行js代码(1) blockly开发之hello world(0) micro:bit使用笔记 神器之Termux https://blog.just4fun.site/post/iot/micropython-notes/ Cozmo what is this Scratch的前世今生 下段旅程 我行在远方 爆裂 途中杂记 https://blog.just4fun.site/post/edx/open-edx-startup/ cozmo系列之入门 - 有性格且可编程的机器人 PaperWeekly开发笔记 创业二三事 blockly与结对编程
CodeLab ❤️ Blender
种瓜 · 2019-03-04 · via 夜行人

文章目录

说明

这是之前的文章,更新以匹配 CodeLab Adapter 3.0


前言

@Shaun Miller使用codelab-adapter驱动Cozmo和Vector,在CodeLab积木平台中制作了一部机器人相声: 《Where did the human go?》

Shaun Miller在自我介绍里说:

I am a software engineer in cyber security, and write code in python and C. My 11 year old nephew told me about Vector and asked for one for Christmas. I picked one up to give him and started playing with it so I could explain how it works to him, and I am attached.

他在《Where did the human go?》的项目背景介绍中提到:

I work as a volunteer at a high school helping to teach introduction Computer Science programming. The teachers asked to me to give a presentation on making videos with the Anki robots based on some recent animations that I made. One of the goals is to hopefully get Cozmo and or Vector into the school’s curriculum.

下边是他在社区里分享的创作成果:

我们的老朋友@cyke一如既往地在帖子下对CodeLab予以鼓励,他认为我们在积木上的设计是个brilliant idea,@cyke补充说:

You must remark that the “anim” Codelab block does’t exist in Codelab extension of the great Scratch lab 3.0 inline IDE (based on official Scratch 3.0) but you can use the block “exec” (this block exists in the Scratch lab for Cozmo and this block exists in the Codelab Adapter for Scratch lab for Vector). These blocks doesn’t use the same Anki SDK ! Vector is using its own API and Cozmo does the same too.

此刻,@cyke可能在用google翻译读这篇文章:) 感谢@cyke的支持。

之后我和@Shaun Miller在帖子里闲聊。@Shaun Miller提到:

I also noticed you have something related to Blender. I’m a huge fan of Blender for video editing, and have been thinking about creating a 3D model of Cozmo and Vector. My plan is to make a parody of the game ‘Touhou Project 6 - The Embodiment of the Scarlet Devil’ but using Vector as the protagonist and Cozmo as the enemies / antagonists. But that’s 6-12 months out at best, but if I can make it work, it will be awesome.

@Shaun Miller试图去做的事情,正是CodeLab在未来社中想做的事情之一, 所以我们准备支持@Shaun Miller的计划。

@Shaun Miller接下来提到他的计划细节:

My eventual plan is to create a 3D model of both Vector and Comzo. Those would be the smaller actual characters that fire projectiles at each other. Should be able to generate some interesting projectile patterns using the particle system. I would also alter the camera angle to not be a strict birds-eye view, but angled to make it more 3D (keeping the boss higher to have a more dramatic effect making them seem more powerful). I would then film the real robots on my green screen and use them to mimic the conversations between the protagonist (left side) and antagonist (right side). Possibly not using their voices, and only using text and robot animations. Vector would be the protagonist, and Cozmo the antagonist. After each stage, Cozmo would change colors to mimic the color of the boss in the real game. Also after each stage, Cozmo would become less silly and more darker in personality as Vector gets closer to the truth. The truth would reference another anime ‘Elfen Lied’ (great anime, very violent). I won’t spoil exactly what I’m thinking here, but I think the Elfen Lied story fits well here. The characters in ‘Embodiment of the Scarlet Devil’ game are known for eating people, which is where I got the idea to have Cozmo say ‘I ate him!’ when Vector asks ‘Where did the human go?’ in my video for this post.

同时他提醒我说Blender进入2.8时,有巨大变更,blender2.8是blender十年来最大的一次变更。这次变更中,codelab-adapter目前依赖的Blender Game Engine将会消失,于是我决定用周末时间重写codelab-adapter的blender插件。

周六下午写完了插件。 最新的插件除了兼容blender的最新版本,我们也做到了向前兼容。

在我们展示完插件的使用示例后,@Shaun Miller觉得设计很简洁,他提到codelab-adapter blender插件对他制作3d动画可能提供的帮助:

As animation scenes get more complex, it gets harder to know what object is moving where. Especially if you have multiple objects moving in different patterns. If we use this Blender codelab-adapter, I think this can give us a better view as to what is happening in a given animation. Lets say we have 4 minutes of multiple animations, and we realize we want to make a change from 2:30 to 2:40. I’m thinking with this adapter, we might be able to drill into that particular spot easier.

愿意尝鲜的朋友,欢迎阅读教程文档: blender extension

想象空间

利用最新版本的blender插件,用户除了可以使用积木控制3D角色、制作3D动画/电影,还可以利用积木,以编程的方式创作3D角色,如此一来构建大规模的机器人军队将变得容易!利用随机数和循环,可以轻松创作出个体姿态各异的机器人军团。

codelab-adapter的目标是将万物积木化, 接入Blender的例子很好地展示codelab-adapter想做的事情: 我们可以接入到任何开放生态中,无论是全球最有趣的AI玩具:Cozmo/Vector,还是全球最好的3D动画创作工具Blender,我们都能将其积木化,通过积木封装领域概念,从而将编程能力赋予给各个领域的创作者,同时我们也将其用于教育。

当我们将blender积木化之后,除了可以赋予动画艺术家们编程能力,让他们更轻松构建大型动画场景,还可以让3D相关的教育变得更为友好,这正是@Shaun Miller在做的事,希望@Shaun Miller能为我们带来有趣的探索成果:)

自定义积木

在积木设计上,我们依然采用EIM(everything is a message)风格,我们给出了一个万能积木,允许@Shaun Miller这样热衷教育的开发者,去自定义适合他的教育场景的积木。

我们相信正是这种开放性,让CodeLab可以专注在基础设施上,而让各个领域比我们更优秀的开发者去设计出适合他们领域的积木。

我们相信万物积木化的核心一环是构建开发者社区,而不是构建一个闭环的体系去包罗万物。

我们相信这不是一种谦虚,这是一种清醒。

todo

将blender_server写成blender插件。

参考