Questions tagged [volume-rendering]

In the case of Direct Volume Rendering (DVR), a transfer function (TF) maps the raw volume data to optical properties needed for image synthesis, e.g. from opaque black and white images to translucent and coloured results.

In the case of indirect rendering methods, opaque surfaces get extracted by preprocessing the raw volume data, e.g. resulting in isosurfaces.

105 questions
1
vote
0 answers

Texture artifacts and bilinear filtering with OpenGL glTexture3D

I'm working on a volumetric rendering application where I have to cut planes of my volumetric data. The problem is that, given a limited resolution, I get some artifacts on the borders of the white zones. The volume is a GLubyte…
linello
  • 8,451
  • 18
  • 63
  • 109
1
vote
1 answer

volume rendering of large data by packing texture

I want to implement GPU-based ray casting volume rendering of large data sets which are larger than GPU memory. I try to do like this: (1)Firstly I divide the volume into bricks with equal size. (2)Then I decide if each brick is transparent or not…
XiaJun
  • 1,855
  • 4
  • 24
  • 41
1
vote
2 answers

Problems about allocating openGL 3D texture size of 1G

I'm doing some work on Volume Rendering. I want to allocate a 3D luminance texture of 1024x1024x1024 uchar. Unfortunately it always fails. By adding glGetError() after glTexImage3D(...), I get the error code 1285, which means "Out of…
rtrobin
  • 270
  • 2
  • 11
1
vote
1 answer

In CUDA kernel function, why the tex3D cannot return any value?

Here, I have two different version of my code. The first one is a complete CUDA program that from CUDA SDK. In kernel, tex3D works well. The second version is more complex with many OpenGL functions and OpenGL textures. Its .cu file is same as the…
TonyLic
  • 647
  • 1
  • 13
  • 26
0
votes
1 answer

Indexing irregular grid X,Y,Z coordinates in a 1D array

As in my previous question, I'm working loading a 1D array with volumetric data of a .raw file. The answer by Jonathan Leffler proved helpful, but now I'm working with a volume dataset of different dimensions (X,Y,Z aren't the same). How would the…
andandandand
  • 21,946
  • 60
  • 170
  • 271
0
votes
1 answer

Loading a 3D byte array from a .raw file

As in my previous question, I'm interested in loading a .raw file of a volume dataset into a byte array. I think using a 3D byte array would make things easier when indexing the X,Y,Z coordinates, but I'm not sure about the read size that I should…
andandandand
  • 21,946
  • 60
  • 170
  • 271
0
votes
2 answers

Volume Rendering: How can I turn a .raw file into an opengl-friendly isosurface?

I want to create a 3D visualizer of .raw volume medical datasets using marching tetrahedra. I found this implementation on GPL license that looks nice and is based on the info by Paul Bourke, but I don't know how to make work with a .raw file,…
andandandand
  • 21,946
  • 60
  • 170
  • 271
0
votes
1 answer

what the difference of PBR(physically-based-rendering) and volume rendering?

I have konw: Volume Rendering: We know the focal point of the camera, and the connection between the focal point and the pixel can create a ray. We can sum the colors of all points on this ray to obtain the color value of this pixel. PBR: orging…
Timi
  • 892
  • 1
  • 8
  • 17
0
votes
0 answers

Using yt to annotate particles on a scene/volume rendering

As the title says, I am trying to use yt in python to create a 3d rendering of a scene and then I am trying to annotate particles onto the scene. I'm using a AMRe-Ex data set with a boxlib for the volume rendering. ds = yt.load("plt00000") sc =…
A. Tai
  • 1
0
votes
0 answers

Volume rendering with a React-Flask architecture

for a project I need to be able to display 3D volumes in a website using vtk.js, these volumes are stored in hdf5 files (h5 file extensions). The data of the 3D volumes are large 3D matrices where each voxel has the same dimension. The architecture…
0
votes
0 answers

use vtkPolyDataToImageStencil to color a custom made volume voxels

I created a lasso a 3D polydata, then I used vtkPolyDataToImageStencil to convert it to ImageStencil. I have a custom volume and I have it’s short data, it has width,height,depth. Now I want to color the voxels in the volume that are marked by the…
andre_lamothe
  • 2,171
  • 2
  • 41
  • 74
0
votes
1 answer

Making a 3D model in VTK solid instead of hollow inside

I'm trying to create 3D model of the skull using VTK [example]:(https://kitware.github.io/vtk-examples/site/Python/VisualizationAlgorithms/HeadBone/) #!/usr/bin/env python # noinspection PyUnresolvedReferences import…
Powiee
  • 1
  • 1
0
votes
1 answer

What is ray coherence in volume ray casting?

Any free paper/tutorial defining this term would be appreciated (google hasn't been much help on the free part).
andandandand
  • 21,946
  • 60
  • 170
  • 271
0
votes
1 answer

How to convert vector (k1, k2) to RGBA (r, g, b, a) in volume?

I have a 3d array representing a volume. Every voxel keeps a vector (k1, k2) as its local principle curvature. Now, I need to visualize this volume by color (just like the picture below). So I need to convert it to a RGBA volume. Is there any…
Raykie
  • 31
  • 5
0
votes
1 answer

How can I speed up the compositing raycasting function?

I'm currently working on a volume rendering project in python where I use a compositing ray casting function to produce an image, given a 3D volume consisting of voxels. The function (which I show below) works correctly, but has a very long runtime.…
Peter
  • 722
  • 6
  • 24