在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:DerSchmale/helixjs开源软件地址:https://github.com/DerSchmale/helixjs开源编程语言:JavaScript 96.6%开源软件介绍:HelixIntroductionWhat is Helix? In a nutshell: it's a WebGL 3D/game engine built in Javascript. I didn't build it to compete with other Javascript 3D engines. Building and maintaining 3D engines is a sort of hobby of mine. It allows me to experiment much more freely than when I'm confined to an existing engine. I do occasionally use it for real projects depending on their requirements. If you're interested in playing around with it, go ahead! Want to go straight ahead and use it in a professional project, the risk is entirely yours. As the engine is built by me and for myself, you may run into some quirks and pedantries that may be confusing at first. The original code base was ported from a personal C++/DirectX project, and since then large parts of the JS version have been rewritten and remolded. Some concepts from DirectX (blend/stencil states, vertex layouts, ...) stayed in because they were simply good ideas. If you're coming from an old-school Flash background, you may also run into approaches that are similar to the original Away3D "Broomstick" prototype that I developed back in 2010 before it became 4.0. In any case, I think it's worth making things open source. There may always be things to learn and teach doing so. Some aspects of note:
Getting startedThe easiest way to get started is just grabbing and including the Some important things to note:
With this, you're ready to explore the other examples. Easy ones to start:
BuildingIf you want to change code and re-build the project yourself? Helix's compilation process uses Node.js, npm, and gulp, so be sure to have those installed. Then, in a terminal, simply perform the following steps in the helix directory:
This will make sure all dependencies are installed. Unless any dependencies change, you need to do this only once. Then, to compile:
The newly built files will end up in the If anything goes wrong, make sure you have the latest versions of Node.js and npm installed! ModulesHelix is divided into several modules, each having their own directory in the src folder and are built to separate files to prevent optional functionality bloating your Javascript includes. Currently these are the following:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论