Git Product home page Git Product logo

Comments (12)

Dreamer-Paul avatar Dreamer-Paul commented on July 4, 2024

这个问题我也老早就注意到了,其实 L2D 官方已经推出了 SDK3 的版本,但是在版权上管理的非常严格,无法直接发布在项目里面... 可以看看 @Himehane 写的 这篇文章

from pio.

Himehane avatar Himehane commented on July 4, 2024

是的,官方给的项目,我在基础上改动了一下,详细的都在上面提到的文章中,官方的其实可以直接用,只不过我对纹理和动作做了更多加载项目的可能。最后加载的方式大同小异。

from pio.

wlt233 avatar wlt233 commented on July 4, 2024

啊又一个大佬出现了(wsl
@Himehane 再次仔细拜读了您的文章,忽略看不懂的技术细节,我理解的版权限制就是官方不让修改原项目的几个js的代码,请问这样说对么?
那么如果基于这个几个js再去开发其他博客框架的插件,应该不算违反吧?
另外不让二次分发的意思,是不是我不能直接clone您的插件repo到我自己的网站并使用,必须要去原项目下载js再使用这样子绕圈子么?
真心感谢大佬们的协助!
(另外由于我的不仔细读文章所以删了一条回复,好像会给Paul大佬造成困扰,再次表示抱歉了…

from pio.

Himehane avatar Himehane commented on July 4, 2024

官方的那个项目只是针对WP的博客框架,如果是其他的,就像我那样写,就只是普通html静态网页都能实现,二次分发你可以理解为指定licence的项目文件在内将源码作为公开的链接提供他人使用,官方那个js确实受地域问题会屏蔽,这个我也告诉过官方staff,还是我文章中写的,自己使用,请保留指定licence的文件中提及不允许改动的代码不要修改,指定不要运行分发的代码二次分发,好比项目中将core内的js提交到github等平台。
总之,我想强调的是,官方开源了SDK的,你可以去找,但是,官方不允许分发这个SDK,我之所以在文章中强调是因为开源当中也有许多注意的地方,作为不太了解licence的开发者应该多多注意,避免不必要的纠纷,毕竟大型企业开发的项目都不是很愿意使用完全开源的框架,毕竟商业纠纷在企业看的很重。

from pio.

wlt233 avatar wlt233 commented on July 4, 2024

所以就是自己使用的话,从官方下载sdk,不能修改js代码,不能把sdk内容再次传到git上或是链接给他人,但是基于这些代码的个人添加是允许的,也不用经过staff确认,是这样么?
再次感谢大佬这么耐心的为我解释…

from pio.

Himehane avatar Himehane commented on July 4, 2024

其实你看官方那个插件的licence,只有一个代码是GPL2.0的其实就是页面加载模型部分,其他的都不允许更改,SDK不允许更改和分发,所以,自己用呢,你加载部分可以改动的情况下,就暂时只能使用我写的那种方法,官方那个改了是没法再后台调出更多模型纹理和动作json的,其他文件由于是基于pixi的,如果想自己渲染,可以选择其他方式渲染,我看你是github上的博客,那么就没法将SDK上传到自己的博客js文件夹下,毕竟你的博客是开源在github上的

from pio.

wlt233 avatar wlt233 commented on July 4, 2024

额…其实不是我github上的网站想用,是另一个有租了单独服务器的网站,那么直接上传服务器应该没问题吧…
由于我水平实在有限,大佬的写法我可能还需要一些时间研究…
实在是太感谢大佬今日的帮助了…

from pio.

Himehane avatar Himehane commented on July 4, 2024

客气了,我也是看到issues提醒来看下的。
自己的服务器是可以,你还可以学习一下如何防止别人盗链,就能防止至少不会被直接在别人的博客里面引用你的js文件这样,包括css html都可以。
最好这样做。

from pio.

imllawei avatar imllawei commented on July 4, 2024

不能二次分发,发怎么改到typecho的教程应该可以吧?大佬能发篇教程吗?😃

from pio.

jupiterbjy avatar jupiterbjy commented on July 4, 2024

image

Testing site link. That link's second outfit is Live2D SDK4 model. Looks tiny but still has working head/body touch areas.

I managed to replace l2d.js dependency with PIXI module. I guess it is safe to use as there is no modifications nor distribution on Cubism SDK this way.

Additionally touch events are also working as intended, at least for models that has proper hit_areas_custom and motion entries in .json.

However I have a question, to expand additional menus to Pio I need to modify pio.js directly. And to disable size check and show on Mobile I need to also edit pio.css. Even more, cdn service is serving 2019 version of pio which is too old. All things considered, is it allowed to edit and upload pio files to my own repository? I am not still clear how GPL2.0 should work, and I have no intention of making it private.

from pio.

Dreamer-Paul avatar Dreamer-Paul commented on July 4, 2024

image

Testing site link. That link's second outfit is Live2D SDK4 model. Looks tiny but still has working head/body touch areas.

I managed to replace l2d.js dependency with PIXI module. I guess it is safe to use as there is no modifications nor distribution on Cubism SDK this way.

Additionally touch events are also working as intended, at least for models that has proper hit_areas_custom and motion entries in .json.

However I have a question, to expand additional menus to Pio I need to modify pio.js directly. And to disable size check and show on Mobile I need to also edit pio.css. Even more, cdn service is serving 2019 version of pio which is too old. All things considered, is it allowed to edit and upload pio files to my own repository? I am not still clear how GPL2.0 should work, and I have no intention of making it private.

You can use Pio for your repository, but it can only be used GPL2. and you can make a "Pull Request" for this project too, I think create a new branch for SDK4 is better that replace all files for SDK2. Thanks for your help~

from pio.

jupiterbjy avatar jupiterbjy commented on July 4, 2024

I am also fine with GPL2 being applied to my codes too, I'll simply set whole javascript folder on repository as GPL2.

About creating PR, since this relies on PIXI module I am afraid if this would cause compatibility issues with configurations other than Plain HTML and Github-Pages. I made #18 and will be discussing there :)

from pio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.