Skip to main content
Share Your Experience: Take the 2024 Developer Survey
8 votes

How to determine if SceneKit can produce sufficiently 3D graphics like Minecraft?

What is missing? Now that we can see images from your app, the difference that stands out most to me is the lack of shadows and ambient occlusion. This gives a very flat look as the colour of a ...
trichoplax is on Codidact now's user avatar
7 votes

How does voxel cone tracing work?

Illumination components If our scenes only contain point lights (e.g., omni lights, spotlights, etc.) and emissive surfaces, the illumination contributions at a surface position, $x$, are computed as ...
Matthias's user avatar
  • 1,074
5 votes

Comprehensive explanation of conservative rasterization algorithm

I'm not sure what exactly you mean by how to visualize a plane that use w value as one of this coordinates but here's a sketch that will, hopefully, clarify this sentence: a line through each ...
elena's user avatar
  • 66
4 votes

Regular voxel grids and RTX accelerated ray tracing

As you said, the RTX Turing architecture comes with wired primitive-ray intersection, (to be more specific, triangle-ray intersection). The BVH is built by specifying the Bounding Box program to OptiX,...
Nadir's user avatar
  • 267
4 votes

Binary scene voxelization using imageStore - problem

In the binary version you're doing an imageLoad and an imageStore on the same texture to modify it. This is a classic race ...
Nathan Reed's user avatar
2 votes

How to voxelize geometry using textures and shaders?

A fragment shader executes for a 2D rasterized position. When you output the normalized position it's still being projected onto the 2D xy image plane onto a render target. The render target is 2D, so ...
Calvin's user avatar
  • 506
2 votes

3D triangle rasterization to voxels

A brute force method which works well and we use in production code: Calculate AABB of triangle to create a sublist of voxels that may or may not be intersected by the triangle, also calculate the ...
lfgtm's user avatar
  • 456
1 vote

Way to estimate the amount of overlap between a rectangular prism and a frustum?

The typical prism/obb/aabb is made up of 6 planes, and the frustum is also typically made up of 6 planes. To generate a new volume that is the intersection of the two original volumes, use plane ...
pmw1234's user avatar
  • 3,219
1 vote

How to smooth out a voxel grid?

If you have this data in a 3d array where a block is a 1 and no block is a 0 you can apply a 3d blur and then set all voxels that are left with a value higher than 0.5 to 1 and those that arent to 0. ...
Sebastián Mestre's user avatar
1 vote

How to determine if SceneKit can produce sufficiently 3D graphics like Minecraft?

SceneKit, as of iOS 9/OS X El Capitan, can handle all of the suggested lighting changes from @trichoplax. The newly announced (June 2016) Physically Based Rendering (PBR), and support for Pixar's ...
Hal Mueller's user avatar
1 vote

How to determine if SceneKit can produce sufficiently 3D graphics like Minecraft?

1) Drawing a bunch of 3d cubes with simple textures? Yes, SceneKit can do that. 2) Way too broad a question... try reading the docs. 3) Since this is a platform specific question try the scenekit ...
rebusB's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible