게임 개발 자료

이미지 생성 AI 메모 <스테이블 디퓨전으로 만드는 게임 그래픽> 책 참고

원소랑 2024. 2. 15. 02:56
728x90

 

Open AI 의 DALL-E2

https://openai.com/dall-e-2

 

DALL·E 2

DALL·E 2 is an AI system that can create realistic images and art from a description in natural language.

openai.com

 

Midjourney

https://www.midjourney.com/

 

Stability AI - Stable Diffusion 개발사

https://stability.ai/

 

Stable Diffusion 오픈소스

https://github.com/Stability-AI/stablediffusion

 

GitHub - Stability-AI/stablediffusion: High-Resolution Image Synthesis with Latent Diffusion Models

High-Resolution Image Synthesis with Latent Diffusion Models - Stability-AI/stablediffusion

github.com

 

 

Stable Diffusion WebUI (스테이블 디퓨전 WebUI)
StableDiffusion GitHub : https://github.com/AUTOMATIC1111/stable-diffusion-webui

 

Windows 환경 설치 문서

https://github.com/AUTOMATIC1111/stable-diffusion-webui?tab=readme-ov-file#automatic-installation-on-windows

 

설치 순서

1. Python 3.10.6 이상 설치 (환경변수 등록 필수)

https://www.python.org/downloads/release/python-3106/
2. Git 설치

https://git-scm.com/download/win

3. Git 으로 AUTOMATIC1111/stable-diffusion-webui 설치

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

4. webui-user.bat 실행

5. webui-user-my.bat 작성

VRAM 낮은 옵션으로 실행하도록 배치파일 수정.

--medvram 은 VRAM 중간 수준 설정으로 낮은 VRAM 환경에 적합. 이렇게 해도 오류가 발생하면

--lowvram 으로 더 낮은 설정으로 수정.

--xformers 는 메모리 절약과 속도 향상을 위한 설정. cross attention layers에 xformers를 사용하도록.

@echo off

set PYTHON=
set GIT=
set VENV_DIR=

set COMMANDLINE_ARGS=--medvram --xformers

call webui.bat --no-half

6. 학습 모델 추가, 입수, 배치 (필수X)

 

학습모델(model.ckpt) 은 Hugging Face 에서 제공.

https://huggingface.co/

 

Hugging Face – The AI community building the future.

The Home of Machine Learning Create, discover and collaborate on ML better. We provide paid Compute and Enterprise solutions. We are building the foundation of ML tooling with the community.

huggingface.co

 

모델 파일 확장자

.ckpt : 체크포인트 파일

.safetensors : .ckpt를 개선한 형식의 파일. 안전성이 높아졌고 고속 처리 가능. 둘 다 제공한다면 safetensors 를 설치.

 

 

 


추천 도서 리스트

 

<스테이블 디퓨전으로 만드는 게임 그래픽> 구입 링크

https://link.coupang.com/a/bqwVQp

 

스테이블 디퓨전으로 만드는 게임 그래픽 : 게임 캐릭터 배경 생성부터 ChatGPT 연동까지

COUPANG

www.coupang.com

 

<The Game Graphics AI 비주얼 테크닉> 구입 링크
https://link.coupang.com/a/bqwVzi

 

the GAME GRAPHICS : AI 비주얼 테크닉

COUPANG

www.coupang.com

 

<유니티 교과서 개정6판>(유니티 최신 버전) 구입 링크
https://link.coupang.com/a/be3P0t

 

유니티 교과서 개정6판

COUPANG

www.coupang.com


<리얼-타임 렌더링(REAL-TIME RENDERING) 4/e> 구입 링크
https://link.coupang.com/a/8VWas

 

리얼-타임 렌더링 4/e

COUPANG

www.coupang.com

 

<이득우의 게임 수학:39가지 예제로 배운다! 메타버스를 구성하는 게임 수학의 모든 것> 구입 링크
https://link.coupang.com/a/9BqLd

 

이득우의 게임 수학:39가지 예제로 배운다! 메타버스를 구성하는 게임 수학의 모든 것

COUPANG

www.coupang.com

 

유니티 에셋 스토어 링크
https://assetstore.unity.com?aid=1011lvz7h

 

에셋스토어

여러분의 작업에 필요한 베스트 에셋을 찾아보세요. 유니티 에셋스토어가 2D, 3D 모델, SDK, 템플릿, 툴 등 여러분의 콘텐츠 제작에 날개를 달아줄 다양한 에셋을 제공합니다.

assetstore.unity.com

(링크를 통해 도서/에셋 구입시 일정액의 수수료를 지급받습니다.)


 

728x90
반응형