SlideShare uma empresa Scribd logo
1 de 9
1
Laser Beam 구현
그래픽디자인실 VFX Team : 유재성
멋 있는 레이저 빔 을 만들어보자!!
1. LaserBeam의특성
• 광선 (직선의 성질)
• 시작과 끝 지점이 필요하다
• 위의 두 지점이 연결 되어야 한다
(두 지점은 실시간으로 변화할 수 있다)
• 발사 효과와 피격 효과가 들어가야 한다
2
2. 구현방법
기본 유니티 에서 제공하는 기능으로써 표현할 수 있는 방법이 없다 …
그래도 뭔가 쓸만한 기능을 살펴보던 중 Line Renderer 발견
• LineRenderer특징
Position / Element 에서 두 지점의 위치 값을 입력해 주면
자동으로 라인을 그려준다
3
이 기능을 활용하여 구현을 해보자!
• 시작과끝점이 계속 변화하는 것에 대응해야하므로
Script(C#)를이용해서구현한다
• Script에 시작 효과와 피격 효과를 같이 구현해야한다
• Material의 Texture가 정지해 있으면 아름답지 않으므로
UV애니메이션이가능해야한다
• Texture이미지 길이 조절이 자유로워야한다
• 그 밖의 Custom한기능 제공
4
3. 스크립트작성
필요한요소
• 끝 점 지정 ( 시작점은 스크립트생성자의 위치로 한다)
• 끝 점 에서 출력할수 있는 Prefab 링크
• Material지정
• 처음 과 끝의 칼라 값 지정
• 폭(Width)값
• UV스크롤 스피드
• Tilling크기
• Tiling 크기 Fix(라인이길어짐에 따라 이미지가늘어나는 것을 방지)
완성된스크립트
5
6
7
4. 결과물
8
사용하시다가문제점이나개선점등이있으면알려주시면감사하겠습니다!!
9

Mais conteúdo relacionado

Destaque

Timing system for picosecond laser power point
Timing system for picosecond laser power pointTiming system for picosecond laser power point
Timing system for picosecond laser power point
bncscientific
 

Destaque (20)

Laser
Laser Laser
Laser
 
How To Create A Wiki
How To Create A WikiHow To Create A Wiki
How To Create A Wiki
 
The Science of Melanin
The Science of MelaninThe Science of Melanin
The Science of Melanin
 
The Science of Laser Therapy and Clinical Applications
The Science of Laser Therapy and Clinical Applications The Science of Laser Therapy and Clinical Applications
The Science of Laser Therapy and Clinical Applications
 
laser ppt..!!
laser ppt..!! laser ppt..!!
laser ppt..!!
 
Laser Hair removal. Is it Permanent?
Laser Hair removal. Is it Permanent?Laser Hair removal. Is it Permanent?
Laser Hair removal. Is it Permanent?
 
Laser Hair Removal
Laser Hair RemovalLaser Hair Removal
Laser Hair Removal
 
LASER BEAM MACHINING - NON TRADITIONAL MACHINING
LASER BEAM MACHINING - NON TRADITIONAL MACHININGLASER BEAM MACHINING - NON TRADITIONAL MACHINING
LASER BEAM MACHINING - NON TRADITIONAL MACHINING
 
Biology of Melanocyte
Biology of MelanocyteBiology of Melanocyte
Biology of Melanocyte
 
Top 10 Places To Visit In London
Top 10 Places To Visit In LondonTop 10 Places To Visit In London
Top 10 Places To Visit In London
 
10 of the Biggest Stories in Technology
10 of the Biggest Stories in Technology10 of the Biggest Stories in Technology
10 of the Biggest Stories in Technology
 
En la conciencia
En la concienciaEn la conciencia
En la conciencia
 
Timing system for picosecond laser power point
Timing system for picosecond laser power pointTiming system for picosecond laser power point
Timing system for picosecond laser power point
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 
What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great Infographics
 
Masters of SlideShare
Masters of SlideShareMasters of SlideShare
Masters of SlideShare
 
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to SlideshareSTOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
 
You Suck At PowerPoint!
You Suck At PowerPoint!You Suck At PowerPoint!
You Suck At PowerPoint!
 
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization
 
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content MarketingHow To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
 

Mais de Glenn Chae (7)

gv008 ver0.1
gv008 ver0.1gv008 ver0.1
gv008 ver0.1
 
gv007 ver0.1
gv007 ver0.1gv007 ver0.1
gv007 ver0.1
 
gv005_2 ver0.1
gv005_2 ver0.1gv005_2 ver0.1
gv005_2 ver0.1
 
gv005_1 ver0.1
gv005_1 ver0.1gv005_1 ver0.1
gv005_1 ver0.1
 
gv004 ver0.1
gv004 ver0.1gv004 ver0.1
gv004 ver0.1
 
gv003 ver0.1
gv003 ver0.1gv003 ver0.1
gv003 ver0.1
 
gv001ver01
gv001ver01gv001ver01
gv001ver01
 

gv006 ver0.1

  • 2. 멋 있는 레이저 빔 을 만들어보자!! 1. LaserBeam의특성 • 광선 (직선의 성질) • 시작과 끝 지점이 필요하다 • 위의 두 지점이 연결 되어야 한다 (두 지점은 실시간으로 변화할 수 있다) • 발사 효과와 피격 효과가 들어가야 한다 2
  • 3. 2. 구현방법 기본 유니티 에서 제공하는 기능으로써 표현할 수 있는 방법이 없다 … 그래도 뭔가 쓸만한 기능을 살펴보던 중 Line Renderer 발견 • LineRenderer특징 Position / Element 에서 두 지점의 위치 값을 입력해 주면 자동으로 라인을 그려준다 3
  • 4. 이 기능을 활용하여 구현을 해보자! • 시작과끝점이 계속 변화하는 것에 대응해야하므로 Script(C#)를이용해서구현한다 • Script에 시작 효과와 피격 효과를 같이 구현해야한다 • Material의 Texture가 정지해 있으면 아름답지 않으므로 UV애니메이션이가능해야한다 • Texture이미지 길이 조절이 자유로워야한다 • 그 밖의 Custom한기능 제공 4
  • 5. 3. 스크립트작성 필요한요소 • 끝 점 지정 ( 시작점은 스크립트생성자의 위치로 한다) • 끝 점 에서 출력할수 있는 Prefab 링크 • Material지정 • 처음 과 끝의 칼라 값 지정 • 폭(Width)값 • UV스크롤 스피드 • Tilling크기 • Tiling 크기 Fix(라인이길어짐에 따라 이미지가늘어나는 것을 방지) 완성된스크립트 5
  • 6. 6
  • 7. 7