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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4826 | jQuery | 8년 전 | 1670 | ||
| 4825 | JavaScript | 8년 전 | 2736 | ||
| 4824 | jQuery | 8년 전 | 1461 | ||
| 4823 | jQuery | 8년 전 | 1724 | ||
| 4822 | jQuery | 8년 전 | 1807 | ||
| 4821 | jQuery | 8년 전 | 1636 | ||
| 4820 | jQuery | 8년 전 | 1647 | ||
| 4819 | jQuery | 8년 전 | 1325 | ||
| 4818 | jQuery | 8년 전 | 1965 | ||
| 4817 | jQuery | 8년 전 | 2406 | ||
| 4816 | jQuery | 8년 전 | 1702 | ||
| 4815 | jQuery | 8년 전 | 1420 | ||
| 4814 | jQuery | 8년 전 | 1837 | ||
| 4813 | jQuery | 8년 전 | 5411 | ||
| 4812 | 기타 | 8년 전 | 3163 | ||
| 4811 | jQuery | 8년 전 | 1541 | ||
| 4810 | jQuery | 8년 전 | 1711 | ||
| 4809 | jQuery | 8년 전 | 1798 | ||
| 4808 | PHP |
|
8년 전 | 5082 | |
| 4807 | node.js |
|
8년 전 | 4115 | |
| 4806 | jQuery | 8년 전 | 2214 | ||
| 4805 | jQuery | 8년 전 | 1647 | ||
| 4804 | jQuery | 8년 전 | 1197 | ||
| 4803 | jQuery | 8년 전 | 1910 | ||
| 4802 | jQuery | 8년 전 | 1415 | ||
| 4801 | jQuery | 8년 전 | 1521 | ||
| 4800 | jQuery | 8년 전 | 1741 | ||
| 4799 | jQuery | 8년 전 | 1982 | ||
| 4798 | jQuery | 8년 전 | 1520 | ||
| 4797 | jQuery | 8년 전 | 1452 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기