ThreeJS로 3디 지구 만들기
웹기반 3디기능을 지원하는 ThreeJS를 이용하여 3디지구를 만들어 보았습니다.
샘플링크주소: World Population Density: 2010
샘플은 2010년도 지역별 인구밀도를 3디지구를 생성하여 표식해주는 기능입니다.
매 지역별 인구밀도값은 CSV파일에 편집되었으며 자바스크립트로 이 CSV파일내용을 읽어 ThreeJS에 넘겨줍니다.
[code]
$(document).ready(function() {
jQuery.get('World Population Density_ 2010_files/density.csv', function(data) {
addDensity(CSVToArray(data));
addLights();
addEarth();
addClouds();
render();
});
});
[/code]
상세한 코드는 샘플링크주소를 참고해주세요.
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4736 | jQuery | 8년 전 | 1562 | ||
| 4735 | jQuery | 8년 전 | 1751 | ||
| 4734 | jQuery | 8년 전 | 1741 | ||
| 4733 | jQuery | 8년 전 | 2036 | ||
| 4732 | jQuery | 8년 전 | 1959 | ||
| 4731 | jQuery | 8년 전 | 1461 | ||
| 4730 | jQuery | 8년 전 | 1919 | ||
| 4729 | PHP |
|
8년 전 | 6906 | |
| 4728 | jQuery | 8년 전 | 2563 | ||
| 4727 | jQuery | 8년 전 | 1612 | ||
| 4726 | jQuery | 8년 전 | 1692 | ||
| 4725 | jQuery | 8년 전 | 1835 | ||
| 4724 | jQuery | 8년 전 | 1312 | ||
| 4723 | jQuery | 8년 전 | 1865 | ||
| 4722 | jQuery | 8년 전 | 1630 | ||
| 4721 | jQuery | 8년 전 | 1919 | ||
| 4720 | jQuery | 8년 전 | 1979 | ||
| 4719 | jQuery | 8년 전 | 1603 | ||
| 4718 | jQuery | 8년 전 | 1609 | ||
| 4717 | jQuery | 8년 전 | 1560 | ||
| 4716 | jQuery | 8년 전 | 1239 | ||
| 4715 | jQuery | 8년 전 | 1397 | ||
| 4714 | jQuery | 8년 전 | 1419 | ||
| 4713 | jQuery | 8년 전 | 1338 | ||
| 4712 | jQuery | 8년 전 | 2228 | ||
| 4711 | jQuery | 8년 전 | 1716 | ||
| 4710 | PHP |
|
8년 전 | 3748 | |
| 4709 | jQuery | 8년 전 | 1630 | ||
| 4708 | jQuery | 8년 전 | 1911 | ||
| 4707 | jQuery | 8년 전 | 1768 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기