Questions tagged [3d]

36 questions
10
votes
3 answers

What is the most cross-browser/system compatible option for 3d graphics on a web page?

I would like to develop a bit of functionality for a web site that involves a bit of 3D - the user can move around objects, rotate them and texture them. So far I've looked into: WebGL (in particular three.js) and it looks great, but it's not…
Rocklan
  • 4,314
  • 1
  • 15
  • 29
9
votes
7 answers

Rendering trillions of "atoms" instead of polygons?

I just saw a video about what the publishers call the "next major step after the invention of 3D". According to the person speaking in it, they use a huge amount of atoms grouped into clouds instead of polygons, to reach a level of unlimited…
Baring
9
votes
3 answers

My algorithm that extracts the largest box that can be made from smaller boxes, is too slow

Imagine a cube based world (such as Minecraft, Trove, or Cube World) where everything is made up of identically sized cubes and all the cubes are of the same kind. The goal is to represent the world with the fewest number of rectangular boxes (by…
Mr. Smith
  • 291
  • 1
  • 9
8
votes
2 answers

Where can I find an algorithm for creating 3D anaglyphs using a depth map image?

I'm looking for a generic algorithm to calculate a red/cyan anaglyph starting from the original image and its black/white depth map, as in this example? That algorithm is used, for example, in Photoshop but I can't find a readable explanation to…
TheUnexpected
  • 221
  • 1
  • 5
6
votes
2 answers

Data structure for determining intersection between line and polygon in 3D

I have a collection of non-self-overlapping simple polygons P. In actuality, they are 2D triangles in 3D-space. I'm looking for a data structure which, given a line L, has a relatively fast lookup for all polygons p in P which L intersects with. If…
elsurudo
  • 161
  • 4
6
votes
1 answer

Detecting surface faces of a huge 3D mesh/grid

I've written a module in my application that creates a mesh from existing coordinate and face data. The number of vertices in the mesh could easily exceed 10 million and the same goes for the faces. The problem with the raw data is that the faces…
6
votes
2 answers

Best approach to selecting programming languages and 3D graphics API for simulating physics experiments

I am starting a research project and need to nail down a programming language and 3D graphics API where I will be creating an environment in the field of molecular cell biology where I will be simulating a large range of experiments in silico. This…
wi1
  • 256
  • 1
  • 7
4
votes
1 answer

Using a “spherical frustum” for 3D projection

I am currently writing a transformation from model space to clip space for use in OpenGL. From what i have seen, programmers typically use a traditional rectangular frustum to define the clipping boundaries in their model space. I personally had in…
creXALBO
  • 41
  • 1
4
votes
3 answers

Starting an HTML canvas game with no graphics skills

I want to do some hobby game development, but I have some unfortunate handicaps that have me stuck in indecision; I have no artistic talent, and I also have no experience with 3D graphics. But this is just a hobby project that might not go…
Jacob
  • 382
  • 3
  • 14
3
votes
1 answer

What's the HTML5 3D canvas? How is it different with WebGL?

I heard about 3D canvas. It's strange for me. Because I know there's already a industrial standard 3D API WebGL. What's that? How is it different with WebGL?
Eonil
  • 1,719
  • 1
  • 13
  • 28
3
votes
1 answer

3D Rendering Engine architecture for multipass rendering

I'm implementing a simple 3D rendering engine for my game, I'm using DirectX11. I created a simple architecture for the rendering engine, with a central rendering system (RenderingSystem class, a singleton) that contains and manages specific…
Luca
  • 181
  • 2
  • 7
3
votes
2 answers

Difference between Sfm and 3D reconstruction?

With respect to computer vision (CV), I always hear these three terms used almost interchangeably: Structure from motion (Sfm) 3D reconstruction Stereo vision/processing However from what I've read, these are similar-yet-different, but nowhere can…
smeeb
  • 4,820
  • 10
  • 30
  • 49
3
votes
1 answer

Building 3D from 2D

If you have an image sheet of facets and data to indicate which point on each facet should connect with other points on the other facets, is it possible to position those facets in 3D space based on the connecting points? Essentially turning 2D…
Matt W
  • 447
  • 1
  • 3
  • 12
2
votes
1 answer

How to create a T-shirt or book displacement map in practice?

So I learned that the feature I am interested in is called a "displacement map". This makes it so you can take a blank t-shirt (with all it's curves and subtle textures), and apply an image to it so it looks like the t-shirt actually has that image…
Lance
  • 2,537
  • 15
  • 34
2
votes
1 answer

Good way to do 3D vector math in language without operator overloading

I would like to make a simple web application (a static website where all computation happens on the client) that generates a mesh and displays it. I have a working prototype in Unity and now I'm wondering what a good framework / language is for the…
Toast
  • 128
  • 4
1
2 3