sphere without poles

버전 1.0.0.0 (5.58 KB) 작성자: Maxim Vedenyov
works like sphere bult-in matlab function but result is sphere without poles.
다운로드 수: 1.1K
업데이트 2009/11/2

라이선스 보기

http://simulations.narod.ru/

Main function is sphere_wp.m . Without any parameters it will plot sphere with default parameters. sphere_wp.m use only random_unit_vector.m. Other m-files not need, it is tests:
compare_spheres.m - compare to functions sphere_wp and sphere
animation_example.m - show how to use sphere_wp.m for animation
sphere_wp_movie.m - makes movie that show iteration process.

also sphere_wp use convhulln bult-in matlab function to make triangles.

type help sphere_wp to see sphere_wp usage.

sphere_wp - plot sphere or return geometry info
use as matlab built in function "shere"
it makes sphere without poles
shere consist of triangles

sphere_wp is better then sphere because it has uniformly distributed vertecies see screenshot here or run compare_spheres.m you can see that sphere gives poles you can see it as some point. Also there are two reflections of two lights and spheres gives different reflections spots. sphere_wp does not have this disadvantages, both spots same.

sphere_wp genretes random vertecies on unit sfere then use iterations to makes uniform distribution of vertecies, see iteration process:
http://www.youtube.com/watch?v=NRletxzxGB8

인용 양식

Maxim Vedenyov (2026). sphere without poles (https://kr.mathworks.com/matlabcentral/fileexchange/25711-sphere-without-poles), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Animation에 대해 자세히 알아보기
도움

도움 받은 파일: random unit vector generator

도움 준 파일: Global tsunami simulation GUI

버전 게시됨 릴리스 정보
1.0.0.0