[Исходники] Techne Online

471
5
vKzHQYC.png


Кто ещё не в курсе, то сообщаю, что сайт автора программы течне - "умер". А именно тот "сервис", куда любой зарегистрированный пользователь мог загружать свои модели, а так же просматривать любые модели прямо в браузере. В общем что-то типо sketchfab, только для .tcn моделей.

Вот собственно ссылка на него: http://techne.zeux.me/
А вот рассказ автора о сайте на майнкрафт форуме: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-tools/1264197-model-viewer-techne-online-gallery

Порыскав по интернету случайно наткнулся на исходники одной из функций того сайта, которая позволяла прямо в браузере делать кубические модели и экспортировать их в json код. Исходники находятся не на официальной странице автора, поэтому я хз насколько они достоверны.

[font=Arial, sans-serif]Techne[/font]
[font=Arial, sans-serif]Techne is a modeller for Minecraft written in TypeScript and in use over at http://techne.zeux.me[/font]
[font=Arial, sans-serif]Usage[/font]
[font=Arial, sans-serif]There is an example implementation of the editor in /example[/font]
[font=Arial, sans-serif]Building from source[/font]
[font=Arial, sans-serif]Requirements[/font]
[font=Arial, sans-serif]Run one of the commands below and you will find the compiled file in ./build[/font]
[font=Arial, sans-serif]Viewer[/font]
Код:
tsc @build-viewer

[font=Arial, sans-serif]Editor[/font]
Код:
tsc @build-editor

[font=Arial, sans-serif]Contributing[/font]
[font=Arial, sans-serif]If you wish to contribute, please create a fork and submit a pull-request. Also, I'd appreciate it if you follow the code standard in use.[/font]
  • Write a comment for every fuction (at least public ones)
  • No implicit typing on function arguments and return values
  • No implicit typing on fields and properties
  • Preferably, write tests for your changes and make sure existing ones don't fail
[font=Arial, sans-serif]Getting help[/font]
[font=Arial, sans-serif]You can get help by either createing an issue or joining #techne on irc.esper.net.[/font]
[font=Arial, sans-serif]Dependencies[/font]
[font=Arial, sans-serif]The viewer and editor have different dependencies.[/font]
[font=Arial, sans-serif]Viewer[/font]
  • JQuery
  • three.js
[font=Arial, sans-serif]Editor[/font]
  • all of the above
  • knockout.js
  • pixi.js (for the texturemapper)
[font=Arial, sans-serif]License[/font]
[font=Arial, sans-serif]This projects is licensed under the Apache 2.0 license Short version:[/font]
  • You modify, distribute and sublicense
  • You cannot hold the developers liable for anything you do with the software
  • You must retain the original copyright, state changes and include the full license text in modified software
[font=Arial, sans-serif]There's also a nice overview over at tl;drLegal[/font]

Вот собственно откуда можно скачать исходники:
https://bitbucket.org/paulpach/techne-online/
https://bitbucket.org/AzaToth/techne-online/

https://yadi.sk/d/j0pUdzYU3EvCAq
 
Сверху