Skip to content

make image,marmoset model complimer to a complete html,可做Wallpaper Engine 3d壁纸

Notifications You must be signed in to change notification settings

ChenYCL/single-html

Repository files navigation

what's this

it's teamplate export a single html with webpack,nodejs, make images to base64 to show, and with .mview model.

可以将图片和模型导出为完整html,配合wallperEngine 可做壁纸,使用ModelView_WallpaperEngine_templatee.html模版导出

rules

  • imgs dir collect image

    放置图片的文件夹,将会自动打包

  • model dir collect .mview etc

    放置模型的文件夹,将会自动打包

use

npm install
npm run fix-memory-limit
npm run build // normal
npm run wallper // for wallper engine

// export  dist/index.html 
// 导出位置 dist/index.htl


global variable on window

[filename]_model - model object,if imgs dir have scene.mview

模型变量 文件名_model

eg. scene_model

[filename]_img - image object,if imgs dir have show.png

图片变量 文件名_img

eg. show_img

Preview

image.png

wallpaper_engine

image.png

About

make image,marmoset model complimer to a complete html,可做Wallpaper Engine 3d壁纸

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published