Questions tagged [bounding-volume]
24 questions
0
votes
1 answer
Clipping tensor data to a bounding volume
I have 2 questions about tensorflow 2.0, with the focus on how tensorflow handles combined conditional tests in it's operations graph.
The task: cut up a volume of data points into blocks, and store the indices to the samples that belong to the…

StarShine
- 1,940
- 1
- 27
- 45
0
votes
1 answer
How to calculate the miss links in a BVH tree?
I am creating an OpenGl based ray tracer for polygon models. To accelerate the application I am using BVH-trees. Because there is no recursion in GLSL, I decided to find an other way to traverse the bounding boxes, sent to the fragment shader as…

Fox1942
- 276
- 2
- 18
0
votes
1 answer
How to convert a BVH node object into a simple array?
I am working on an Opengl ray-tracer, which is capable of loading obj files and ray-trace it. My application loads the obj file with assimp and then sends all of the triangle faces (the vertices and the indices) to the fragment shader by using…

Fox1942
- 276
- 2
- 18
0
votes
2 answers
How to find out the rotation matrix for the oriented bounding box
So I am using the Matterport 3D dataset for my task and it has described the oriented bounding box using the standard structure with one change as follows:
"obb": {
"centroid":[3.39208,-1.72134,1.13262],
…

bhushan
- 470
- 3
- 14
0
votes
1 answer
Reduce calculations while Raytracing
I've written my own 3D Game Engine (it took me a year) and I wanted to create a Raytracer that runs on my CPU (not the GPU!!)
For now, the ray tracing process is simplified like this:
Cast a ray for each output pixel.
If the current ray hits an…

Luecx
- 160
- 1
- 12
0
votes
1 answer
Collision detection with boundingSphere
For each mesh (THREE.Object3D) Three.js provide a very handy properties - boundingSphere and boundingSphere that have intersectsSphere and isIntersectionBox methods.
With all this I thought I can use it for simple collision detection but when I try…

SET001
- 11,480
- 6
- 52
- 76
0
votes
1 answer
what is meant by linearization of BVH and bucket count for SAH?
I am working on a CUDA ray tracer and doing some research work on it in which i am unable to find answer of few important questions:
What is the purpose of linearizing BVH during ray tracing? and
What is meant by bucket count for SAH (Surface area…

Sana.91
- 1,999
- 4
- 33
- 52
0
votes
0 answers
OpenGL, deferred shading, bounding volume for point light and stencil pass, light attenuation
Currently I'm trying to implement deferred shading in my engine. I mostly based on one tutorial founded in web (I don't paste link here due to links limitation :))
but I also use another sources and I know how deferred shading works. My current…

Harry
- 144
- 2
- 9
0
votes
2 answers
NULL-pointer associated with vector
In my ray tracer I am constructing a Bounding Volume Hierarchy. I have used a couple of days trying to fix this error but I seem to be doing something fundamentally wrong.
This first method is the construction being called is the one below using a…

miniwolf
- 339
- 1
- 4
- 19