
內容簡介
適合您網站的尺寸靈活的橫幅。用作您獨特的廣告牌!模板標籤、短碼和‘SENOR’ WebGL庫。
功能
模板標籤,‘jimmy_branding_output’
短碼,‘[jimmy_branding]’
三角形開啟器,更改橫幅高度大小
‘jBrandings’ 管理選單
‘jPromoter’ 角色
原始的WebGL庫,‘SENOR’
‘SENOR’(正確地說,‘SENOR’是‘SENORWEBGL1’、‘SENORWEBGL2’和‘SENORUTL’的命名聯盟)是石井健太在GPLv2或更高版本下授權的客戶端WebGL庫。此庫旨在成為「整個面向對象結構系統」,以在客戶端計算機和服務器之間傳輸3D圖形(三維圖形)的數據。此系統獨特之處在於整個過程都依賴於面向對象的架構。這樣做可以使參與3D圖形項目的工程師能夠比不一致的結構更容易地構建系統。‘SENOTRWEBGL1’是WebGL1.0上下文的包裝器。‘SENORWEBGL2’是WebGL2.0上下文的包裝器(‘SENORWEBGL2’現在被保留)。‘SENORUTL’是制造3D圖形的實用工具。‘SENOR’還旨在考慮到‘SENORWEBGL1’,WebGL1.0上下文和‘SENORWEBGL2’,WebGL2.0上下文之間的代碼兼容性。這被稱為「除擴展外,幾乎相同的編碼」。通過用每個‘canvas’ HTML標籤包裝整個上下文,‘SENOR’旨在在您網站的同一頁面上使用多個上下文。
‘SENOR’庫系統圖表(‘SENOR’使用以下三階段程序)
互聯網
(TCP/IP協議等)
│ ^
從 │ │ 到服務器
服務器 │ │ 從
到客戶端 │ │ 客戶端
V │
-------------------------
| (1)原始數據 |
| 頂點、坐標、Phong參數等|
| 在JSON(JavaScript |
|對象表示法)等上傳數據|
-------------------------
│ ^
由目錄 │ │ 由原始數據
JavaScript│ │JavaScript
│ │
V │
-------------------------
| (2)對象化 |
| 初始化WebGL。 |
| 結合對象以 |
| 用作3D模型。 |
| 通過‘SENOR’庫 |
-------------------------
│ ^
輸出到 │ │ 輸入給
由WebGL顯示│ │ 用戶
V │ 通信
-------------------------
| (3)使用對象 |
| 在應用程序中, |
| 遊戲、CAI(計算機- |
| 輔助教學)CAD、監控等 |
-------------------------
用法
模板標籤,jimmy_branding_output
if ( function_exists( 'jimmy_branding_output' ) ) {
//如果您想,在此模板標籤的參數中將此模板的ID配置為字符串
jimmy_branding_output();
}
把模板標籤放在您的佈景主題上,例如 index.php。
在‘jBrandings’菜單上製作您的品牌HTML代碼。
在‘Select’子菜單上選擇您的jBranding內容。
在‘Select’子菜單上自定義標語和開啟器(位於底部中心的三角形)大小。
短碼, [jimmy_branding]
[jimmy_branding name="slug-name-of-your-jbranding-content"]
在‘Select’子菜單上,勾選‘SENOR WebGL Library’以‘獨立運作’和‘短碼
外掛標籤
開發者團隊
原文外掛簡介
Size-flexible Banner for Your Website. Use as your unique billboard! Template Tag, Shortcode and ‘SENOR’ WebGL Library.
Futures
Template Tag, ‘jimmy_branding_output’
Shortcode, ‘[jimmy_branding]’
Triangle Opener to Change Height Size of Banner
‘jBrandings’ Admin Menu
‘jPromoter’ Role
Original WebGL library, ‘SENOR’
‘SENOR’ (exactly, ‘SENOR’ is the naming union of ‘SENORWEBGL1’, ‘SENORWEBGL2’ and ‘SENORUTL’) is an client side WebGL library of Kenta Ishii licensed under GPLv2 or later. This Library aims to be “System of Whole Objective Oriented Structure” to make/transmit data of 3D-graphic (Three Dimensional Graphic) in/between client computers and servers. This system is unique because whole processes depend on object-oriented architecture. By doing so, engineers to participate in 3D-graphic projects can be able to build systems easier than inconsistent structures. ‘SENOTRWEBGL1’ is a wrapper of WebGL1.0 context. ‘SENORWEBGL2’ is a wrapper of WebGL2.0 context (‘SENORWEBGL2’ is now on reserved). ‘SENORUTL’ is utilities to make 3D-graphic. ‘SENOR’ also aims to consider compatibility to code between ‘SENORWEBGL1’, WebGL1.0 context and ‘SENORWEBGL2’, WebGL2.0 context. It’s so called “The Same Coding Rarely Except Extension”. By wrapping whole context with each ‘canvas’ HTML tag, ‘SENOR’ aims usage of multiple contexts on the same page of your website.
‘SENOR’ Library System Chart (‘SENOR’ is using a three-phases procedure as below)
Internet
(TCP/IP Protocol, etc.)
| ^
From | | To Server
Server | | From
To Client | | Client
v |
-------------------------
| (1) Raw Data |
| Vertices, Coordinates,|
| Phong Parameter, etc. |
| On JSON (JavaScript |
| Object Notation), etc.|
-------------------------
| ^
Object by | |Raw Data by
JavaScript | |JavaScript
| |
v |
-------------------------
| (2) Objectify |
| Initialize WebGL. |
| Combine Objects to |
| Use as a 3D Model. |
| Via 'SENOR' Library |
-------------------------
| ^
Output to | | Input by
Display by | | User
WebGL | | Communi-
v | cation
-------------------------
| (3) Use Object |
| In Applications, |
| Game, CAI (Computer- |
| Assisted Instruction) |
| CAD, Monitor, etc. |
-------------------------
Usage
Template Tag, jimmy_branding_output
if ( function_exists( 'jimmy_branding_output' ) ) {
// If you want, configure ID of this template in the argument of this template tag as String
jimmy_branding_output();
}
Put the template tag on your theme, e.g., index.php.
Make your branding HTML code on ‘jBrandings’ menu.
Select your jBranding content on ‘Select’ sub menu.
Customize banner and opener (Triangle on the Center Bottom) size on ‘Select’ sub menu.
Shortcode, [jimmy_branding]
[jimmy_branding name="slug-name-of-your-jbranding-content"]
On ‘Select’ sub menu, check ‘SENOR WebGL Library’ to ‘Stand Alone’ and ‘Shortcode Usage’ to ‘Use’.
On your post, use shortcode [jimmy_branding] with several arguments. ‘name’ must be needed.
Arguments of the WordPress shortcode, [jimmy_branding]
‘id’ – (default: ‘jimmy-branding’)
‘name’ – assign slug name of your jBranding content, must be needed
‘ratio’ – ‘false’ is using pixels, ‘parent’ is using width parent element’s width, ‘window’ is using window’s width and height to make the resolution of the template (default: ‘false’)
‘width_pixels’ – (default: ‘300’)
‘width_percents’ – (default: ‘100’)
‘height_min’ – (default: ‘100’)
‘height_min_percents’ – (default: ’10’)
‘height_max’ – (default: ‘200’)
‘height_max_percents’ – (default: ’20’)
‘opener_color’ – (default: ‘#ff0’)
‘opener_width’ – (default: ’28’)
‘opener_choice’ – Show Opener (‘true’) or not (default: ‘true’)
Usage Samples are on http://electronics.jimmykenmerchant.com/jimmy-branding/ please check out.
Copyright
The Jimmy Branding, A WordPress Plugin, Copyright 2017 Kenta Ishii.
Jimmy Branding is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Several codes of ‘SENOR’, a WebGL library are derived from Mozilla Developer Network, https://github.com/mdn/webgl-examples . The license is under Creative Commons Zero v1.0 Universal, https://github.com/mdn/webgl-examples/blob/gh-pages/LICENSE . This license is compatible with GPLv2 or later.
