Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bijx/camouflage-blueprint-generator
A three.js application that generates random weapon camouflage combinations similar to the Modern Warfare weapon blueprints.
https://github.com/bijx/camouflage-blueprint-generator
ai camouflage game-development generator gpt-4 guns skins texture threejs tileable unreal-engine weapon wraps
Last synced: 8 days ago
JSON representation
A three.js application that generates random weapon camouflage combinations similar to the Modern Warfare weapon blueprints.
- Host: GitHub
- URL: https://github.com/bijx/camouflage-blueprint-generator
- Owner: bijx
- Created: 2023-08-31T19:39:43.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-23T18:02:37.000Z (about 1 year ago)
- Last Synced: 2023-09-23T21:26:31.663Z (about 1 year ago)
- Topics: ai, camouflage, game-development, generator, gpt-4, guns, skins, texture, threejs, tileable, unreal-engine, weapon, wraps
- Language: JavaScript
- Homepage: https://bijx.github.io/Weapon-Blueprint-Generator/
- Size: 93.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Tileable Camo Textures](https://imgur.com/ZVsRsGT.png)
[**[LIVE DEMO]**](https://bijx.github.io/Camouflage-Blueprint-Generator/)
# Camo Blueprint Generator
The **CBG** is an experimental online tool that generates random fictional weapons for video games, similar to bundles that can be found on many modern video games. When you generate a new weapon, the name, description, and weapon class are all selected from AI-generated options, and the weapon wrap (skin) is applied to the model on the screen. You can also download the camo pattern for your own projects for free!This application uses [three.js](https://github.com/mrdoob/three.js/) to display the various weapon models and textures.
## What's the Point?
With the surging popularity of modern online video games and their concurrent users, a distinctive identity is something every player covets. Acquiring weapon or character skins, charms, stickers, and other cosmetic accessories often achieves this. The CBG taps into the allure of unique content in-game, suggesting a novel way for players to possess exclusive game items.**TL;DR**: While the website is a fun-filled experiment, the prospects it hints at for future gaming are really exciting. 😁
## How it Works
While the term "generator" suggests creation, the CBG is more aptly a "remixer". It integrates pre-generated content to conserve resources for the sake of the experiment. The various generated components are described below:### Weapon Information
Every weapon is characterized by:1. `Weapon Name`: Deriving from subjects like astrophysics, ancient history, and philosophy, GPT-4 provides colloquial terms that lend an intriguing touch. These names serve as the foundation for the subsequent descriptions.
2. `Description`: The AI-generated descriptions of what each weapon does and if it has any special abilities. With very limited guidance, the GPT-4 was instructed to create a description for each weapon based on its provided name.
3. `Class`: Given its design for a fictional first-person shooter game, the weapon classes encompass: Assault Rifle, Sniper, Pistol, SMG, LMG, Melee, and Shotgun.
4. **OPTIONAL** `preferredTextureId`: The camo texture related to the weapon name.Example Weapon Object:
```json
{
"class": "Pistol",
"description": "Sidearm that nullifies enemy healing for a brief period, embracing the void of recovery.",
"weaponName": "Nihilism",
"preferredTextureId": 19
}
```### Tileable Camoflauge Texture
A set of camo textures were also generated using Midjourney to create the unique skins for each weapon. Some skins were generated with prompts related to a specific weapon's generated `name` and `description`, so those textures are always associated with their respective weapons.The camoflauge textures can be downloaded for each of the generated weapons, which is what makes the tool useful for game developers (or just tileable pattern enjoyers).
## Technology Stack
The system was built as a static HTML site so it could be served using Github Pages. The script uses [three.js](https://github.com/mrdoob/three.js/) to render the 3D models for each weapon class, which were UV-unwrapped and prepared ahead of time in Blender.## Licensing
This project is open-source, under the premise that the images were generated using Midjourney and hence, should be free from any copyright constraints.[![Weapon Blueprint Generator](https://imgur.com/CWm8zfA.png)]([https://bijx.github.io/Camouflage-Blueprint-Generator/](https://bijx.github.io/Camouflage-Blueprint-Generator/))