• 제목/요약/키워드: ray-casting

검색결과 197건 처리시간 0.031초

실시간 볼륨 광선 투사법을 위한 자료구조 (A Data Structure for Real-time Volume Ray Casting)

  • 임석현;신병석
    • 한국컴퓨터그래픽스학회논문지
    • /
    • 제11권1호
    • /
    • pp.40-49
    • /
    • 2005
  • Several optimization techniques have been proposed for volume ray casting, but these cannot achieve real-time frame rates. In addition, it is difficult to apply them to some applications that require perspective projection. Recently, hardware-based methods using 3D texture mapping are being used for real-time volume rendering. Although rendering speed approaches real time, the larger volumes require more swapping of volume bricks for the limited texture memory. Also, image quality deteriorates compared with that of conventional volume ray casting. In this paper, we propose a data structure for real-time volume ray casting named PERM (Precomputed dEnsity and gRadient Map). The PERM stores interpolated density and gradient vector for quantized cells. Since the information requiring time-consuming computations is stored in the PERM, our method can ensure interactive frame rates on a consumer PC platform. Our method normally produces high-quality images because it is based on conventional volume ray casting.

  • PDF

Accurate and efficient GPU ray-casting algorithm for volume rendering of unstructured grid data

  • Gu, Gibeom;Kim, Duksu
    • ETRI Journal
    • /
    • 제42권4호
    • /
    • pp.608-618
    • /
    • 2020
  • We present a novel GPU-based ray-casting algorithm for volume rendering of unstructured grid data. Our volume rendering system uses a ray-casting method that guarantees accurate rendering results. We also employ the per-pixel intersection list concept in the Bunyk algorithm to guarantee an accurate result for non-convex meshes. For efficient memory access for the lists on the GPU, we represent the intersection lists for all faces as an array with our novel construction algorithm. With the intersection lists, we perform ray-casting on a GPU, and a GPU thread handles each ray. To increase ray-coherency in a thread block and improve memory access efficiency, we extend a prior image-tile-based work distribution method to fit modern GPU architectures. We also show that a prior approach using a per-thread local buffer to reduce redundant computation is not appropriate for modern GPU architectures. Instead, we take an on-demand calculation strategy that achieves better performance even though it allows duplicate computations. We applied our method to three unstructured grid datasets with different characteristics. With a GPU, our method achieved up to 36.5 times higher performance for the ray-casting process and 19.7 times higher performance for the whole volume rendering process compared with the Bunyk algorithm using a CPU core. Also, our approach showed up to 8.2 times higher performance than a GPU-based cell projection method while generating more accurate rendering results. These results demonstrate the efficiency and accuracy of our method.

A Fast Volume Rendering Algorithm for Virtual Endoscopy

  • Ra Jong Beom;Kim Sang Hun;Kwon Sung Min
    • 대한의용생체공학회:의공학회지
    • /
    • 제26권1호
    • /
    • pp.23-30
    • /
    • 2005
  • 3D virtual endoscopy has been used as an alternative non-invasive procedure for visualization of hollow organs. However, due to computational complexity, this is a time-consuming procedure. In this paper, we propose a fast volume rendering algorithm based on perspective ray casting for virtual endoscopy. As a pre-processing step, the algorithm divides a volume into hierarchical blocks and classifies them into opaque or transparent blocks. Then, in the first step, we perform ray casting only for sub-sampled pixels on the image plane, and determine their pixel values and depth information. In the next step, by reducing the sub-sampling factor by half, we repeat ray casting for newly added pixels, and their pixel values and depth information are determined. Here, the previously obtained depth information is utilized to reduce the processing time. This step is recursively performed until a full-size rendering image is acquired. Experiments conducted on a PC show that the proposed algorithm can reduce the rendering time by 70- 80% for bronchus and colon endoscopy, compared with the brute-force ray casting scheme. Using the proposed algorithm, interactive volume rendering becomes more realizable in a PC environment without any specific hardware.

몰입 가상현실 환경에서 겹쳐진 가상객체들의 효율적인 선택을 위한 펼침 시각화를 통한 객체 선택 방법 (Explosion Casting: An Efficient Selection Method for Overlapped Virtual Objects in Immersive Virtual Environments)

  • 오주영;이준
    • 한국콘텐츠학회논문지
    • /
    • 제18권3호
    • /
    • pp.11-18
    • /
    • 2018
  • 몰입 가상현실 환경에서 가상 객체들을 선택하고 조작하기 위해서는 사용자가 원하는 가상 객체를 빠르고 정확하게 선택할 수 있어야 한다. 가상현실에서 객체 선택을 위한 가장 알려진 접근 방법은 Ray-casting 방법이다. Ray-casting은 가상현실 환경에서 사용자의 손이나 시야 방향에서 직선으로 이동하는 가상의 선을 발사하고, 이 가상의 선이 발사되는 과정에서 충돌되는 가상 객체를 사용자가 선택할 수 있게 해주는 방법이다. 하지만, 가상 객체들이 겹쳐져 있는 상황에서는 사용자가 원하는 객체가 아닌 다른 객체들이 선택 될 수 있는 모호성 문제가 발생하게 된다. 이러한 방법을 해결하기 위해서 본 논문에서는 겹쳐진 가상 객체들 중 사용자가 원하는 객체를 선택하고자 하는 경우, 사용자가 겹쳐진 객체들의 그룹을 먼저 선택하게 한 후에 이 겹쳐진 객체들이 가지고 있는 기하학적인 연관관계를 계산하고 이를 사용자의 시점에서 겹쳐지지 않게 펼쳐서 시각화를 하는 Explosion-casting 방법을 제안한다. 제안한 방법의 평가를 위해서 기존의 Ray-casting 방법과 비교를 하였을 때, 겹쳐져 있는 가상 객체를 선택할 때 걸리는 속도와 정확도가 증가하는 결과를 보여주었다.

깊이버퍼 기반의 경계면 볼륨렌더링 (Boundary Surface Volume Rendering Based on Depth Buffer)

  • 권오봉;송주환;최성희
    • 한국산업정보학회논문지
    • /
    • 제9권2호
    • /
    • pp.23-31
    • /
    • 2004
  • 이 논문에서는 경계면을 이용하여 볼륨데이터를 고속으로 가시화하는 한 방법을 제안한다. 일반적으로 경계면을 이용한 레이캐스팅은 두 단계로 처리되는데 첫 번째 단계에서는 경계면을 찾아 관측점에서 경계면까지의 거리를 3차원 버퍼에 저장하여 놓고, 두 번째 단계에서는 이 거리를 이용하여 볼륨 공간을 고속 탐색하여 가시화한다. 제안하는 방법은 첫 번째 단계에서 일반적인 방법과 다르다. 즉 첫 번째 단계에서 경계면에 관한 정보를 볼륨데이터 좌표계 주축에 직각인 관측평면에 투영하여 6개의 2차원 깊이버퍼에 저장하여 놓고 두 번째 단계에서 이 깊이 값을 이용하여 볼륨 공간을 탐색한다. 제안한 방법은 객체의 복잡도와 관계없이 처리 시간이 거의 일정하고 사용 메모리양도 볼륨데이터 공간 xy, yz, zx 평면 해상도의 2배로 항상 일정하다. 제안된 방법에 내재하는 문제점과 해결 방법에 대해 고찰하고 구현 예를 보인다.

  • PDF

몰입 가상현실 환경에서 적응형 캐스팅을 통한 객체 선택 방법 (An Object Selection Method through Adaptive Casting in Immersive Virtual Reality)

  • 이준송;이준
    • 한국콘텐츠학회논문지
    • /
    • 제19권9호
    • /
    • pp.666-673
    • /
    • 2019
  • 몰입 가상현실 환경에서 사용자들은 다양한 가상객체들을 선택하여 목표로 하는 일을 수행할 수 있다. 사용자가 원하는 가상객체를 선택하기 위해서는 일반적으로 사용자의 시야에서 가상의 선분을 발사하여 그 선분과 객체가 일치되었을 때 객체를 선택하게 하는 Ray-Casting이나 여러 객체들을 동시에 선택해서 원하는 객체를 선택하는 Cone-Casting 기반의 객체선택 방법들이 널리 사용된다. 하지만 CAD에서 사용되는 가상객체들은 그 자체적으로 세부적인 작은 객체들로 구성되고 결합이 되어 있어서 사용자의 시야에서 원하는 객체를 기존 방법들로 선택하는 경우 사용자가 원하는 객체가 아니라 다른 객체가 선택되는 모호성 문제가 발생하여 원하는 객체를 선택하는데 문제가 발생하며, 그룹으로 객체를 선택하더라도 원하는 객체를 선택하기 위해서 결국 가상객체들의 위치 및 구조 등을 변경해야 하는 추가 작업을 해야 하는 문제가 발생한다. 본 논문에서는 가상객체가 여러 작은 세부적인 가상객체들로 구성이 되어 있더라도 이들이 가지고 있는 공간적인 연관 관계를 계산하고 이 연관 관계에 따라서 세부적인 가상객체들을 펼치거나 줄여서 사용자가 선택을 원하는 객체를 빠르고 정확하게 선택하는 방법을 제공한다. 본 논문에서는 본 논문에서 제안한 Adaptive-Casting 선택 방법과 기존의 Ray-Casting 과 Cone-Casting 방법들과 성능비교 실험을 하였다. 실험 결과 본 논문에서 제안한 방법이 사용자가 원하는 객체를 선택할 때 걸리는 속도가 가장 빠르면서 정확하다는 결과를 보여주었다.

바운딩 박스 세분화를 통한 지형 렌더링의 가속화 (Acceleration of Terrain Rendering Using Bounding Box Subdivision)

  • 이은석;이진희;조인우;신병석
    • 한국게임학회 논문지
    • /
    • 제11권6호
    • /
    • pp.71-80
    • /
    • 2011
  • 최근의 3D게임이나 가상현실을 위한 지형 시각화 응용에서는 사실적인 장면을 렌더링 하기 위해 고화질 영상을 실시간에 제공하는 GPU기반의 광선투사법을 이용한다. 이 방법은 지형데이터의 크기가 증가할수록 샘플링 해야 하는 텍셀의 개수가 증가하기 때문에 렌더링 속도가 저하된다. 이러한 문제점을 해결하기 위해서 본 논문에서는 GPU에서 사진트리를 기반으로 수행되는 바운딩 박스 세분화를 이용하여 빈 공간이 제거된 바운딩 박스를 생성하고 이를 이용하여 광선투사법을 가속화하는 방법을 제안한다. 이 방법은 각 광선마다 빈 공간 도약을 위해 트리를 탐색하여 중복된 탐색연산을 수행해야 했던 기존의 방법과 달리 바운딩 박스를 이용하여 탐색 연산을 단 1번만 수행하도록 하여 수행속도를 가속화 하였다.

Casting Simulation on the Integrated Twin-Scroll Turbine Housing with Exhaust Manifold

  • Kang, Ho-Jeong;Yun, Pil-Hwan;Cheon, Joo-Yong;Kim, Hyo-Jung;Kim, Chung-Min;Park, Jin-Young
    • 한국주조공학회지
    • /
    • 제37권6호
    • /
    • pp.173-180
    • /
    • 2017
  • In this paper, the casting design of the integrated twin-scroll turbine housing with exhaust manifold using stainless steel is investigated. Due to the complexity in its geometry and the poor castability of stainless steel, it is more crucial to set up the appropriate casting design to avoid casting defects. Gas porosity and shrinkage formation with the changes of gating systems (one-/two-side), riser conditions and pouring temperatures are examined via casting simulation and virtual castings. Simulation results show that two-side gating system produced better quality casting than that of one-side gating system, minimizing the gas content of the castings and it is also verified by X-ray analysis for the virtual castings. For the changes of riser conditions and pouring temperatures in the two-side gating system, it is found that the change of the height of two risers plays an important role in obtaining the best quality by reducing shrinkage defects.

이동로봇의 안전한 주행을 위한 광선투사법 기반의 실내 경로계획 (Path Planning based on Ray-casting in Indoor Environments for Safe Navigation of a Mobile Robot)

  • 김종원;송재복
    • 로봇학회논문지
    • /
    • 제5권4호
    • /
    • pp.302-308
    • /
    • 2010
  • A gradient method can provide a global optimal path in indoor environments. However, the optimal path can be often generated in narrow areas despite a sufficient wide area which lead to safe navigation. This paper presents a novel approach to path planning for safe navigation of a mobile robot. The proposed algorithm extracts empty regions using a ray-casting method and then generates temporary waypoints in wider regions in order to reach the goal fast and safely. The experimental results show that the proposed method can generate paths in the wide regions in most cases and the robot can reach the goal safely at high speeds.

변형된 마칭큐브 테이블을 이용한 볼륨 광선 투과법 가속화 (Volume Ray Casting Acceleration Method using Modified Marching Cubes Tables)

  • 임석현;김주환;신병석
    • 한국정보과학회논문지:시스템및이론
    • /
    • 제36권3호
    • /
    • pp.210-216
    • /
    • 2009
  • CPU기반의 볼륨 광선 투사법을 위하여 빈 공간을 도약하는 많은 방법들이 소개되었다. 하지만 광선의 샘플점이 투명한 공간과 비투명한 공간 사이에 있는 반투명-셀에 놓일 경우 기존의 방법들은 투명도 값을 매번 계산해야 하는 문제점이 있다. 이 문제를 해결하기 위하여 기존 마칭큐브를 이용하는 방법이 제안되었다. 광선이 반투명-셀에 도착하면 마칭큐브 방법을 이용하여 생성된 삼각형들을 둘러싸고 있는 육면체를 구하고, 현재 샘플점이 육면체 내/외부에 있는지 계산한다. 샘플점이 육면체 외부에 위치하면 투명하다고 판단되어 재샘플링 연산없이 다음 샘플점으로 이동한다. 하지만 기존의 마칭큐브 테이블 구조를 그대로 이용하면 인접한 복셀의 테이블 값을 여러 번 참조해야 하므로 비효율적이다. 본 논문에서는 볼륨 광선 투사법에 적합한 마칭큐브 테이블을 제안함으로써 렌더링 속도를 높인다.