Processing 5 3D 도형 svg파일 디스플레이
도형 이번 장은 2D와 3D 벡터 그래픽 로딩과 디스플레이에 대해 소개하며 새로운 도형 생성법을 소개한다. 소개할 구문: PShape, shape(), shapeMode(). PShape, disableStyle(), PShape, enableStyle(), createShape(), PShape, setFill(), PShape,setStrokel). PShape,get VertexX(), PShape.getVertexY(), PShape,setVertex(), PShape.get VertexCount() JPG나 PNG 파일 작업과 달리 SVG(가변 벡터 도형 처리)나 OBI 등의 파일 형식은 이미지 데이터를 색의 격자 대신 벡 터 도형으로 저장한다. 이 차이는 파일의 용례에 영향을 미친다. 예를 들..
2023. 4. 26.