Questions tagged [3d-rendering]

Anything related to the process of building a realistic graphic representation of a (possibly virtual and/or dynamic) 3-d object using 2-d images.

78 questions
21
votes
2 answers

Understanding OpenGL Matrices

I'm starting to learn about 3D rendering and I've been making good progress. I've picked up a lot regarding matrices and the general operations that can be performed on them. One thing I'm still not quite following is OpenGL's use of matrices. I…
Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112
6
votes
4 answers

Sphere World Implementation C++

What would be the best way to implement, store, and render spherical worlds, such as the ones in spore or infinity but without the in-between stages of spore, and multiple worlds ala infinity universe. Make no assumptions on how the planet itself is…
Tom J Nowell
  • 9,588
  • 17
  • 63
  • 91
6
votes
4 answers

Image recognition and 3d rendering

How hard would it be to take an image of an object (in this case of a predefined object), and develop an algorithm to cut just that object out of a photo with a background of varying complexity. Further to this, a photo's object (say a house, car,…
GurdeepS
  • 65,107
  • 109
  • 251
  • 387
3
votes
3 answers

Getting started with marching cubes in three.js

I am new to Three.js and looking for a tutorial to get me started on how to use Marching Cubes in three.js. Some of the projects I have seen so far in three.js which use this are a bit complicated for me, so a simple tutorial would be nice. Thank…
miki725
  • 27,207
  • 17
  • 105
  • 121
3
votes
1 answer

Loading Obj with OBJLoader2 to load Vertex Colors

I have an .obj file which has Vertex Colors in it. That is it doesn't have seperate .mtl file for its Texture . The .obj File itself contains the color for each vertex. I wanted to load it using three.js I knew I can load a normal .obj file with…
WhiteBall
  • 143
  • 1
  • 1
  • 8
3
votes
0 answers

Show a text at the particular X, Y, Z position in a 3d model in Android

I'm able render a 3d model (from STL, OBJ or DAE file) in an Android app using this engine. Now I need help to show a text at the particular X, Y, Z position on it.
Dhananjay M
  • 1,851
  • 22
  • 18
3
votes
0 answers

C++ rendering engines to look at for learning purposes

I'm looking for recent c++ 3D Rendering engines to use as a roadmap for my own little render engine. I'm in no hurry and prepared to spend a couple of years working on this, as it's mostly for learning and fun. For now I've chosen Horde3D, as it…
JaimeBarrachina
  • 430
  • 8
  • 21
2
votes
1 answer

3D rendering engine for offline batch rendering of many models + texture maps?

I'm architecting a project which will use many PNG files which must be rendered from 3D models of clothing (we have yet to hire someone to create the models). We have a variety of texture maps (different types and colors of cloth, etc) which will be…
Alex D
  • 29,755
  • 7
  • 80
  • 126
2
votes
1 answer

Render polygon in three.js

How can I render n-sided polygon in three.js. It does not have geometry for that. I need it to be able to render both convex and concave polygons. So maybe there is a patch or workaround somewhere. Usage: The input will be n vertices which will make…
miki725
  • 27,207
  • 17
  • 105
  • 121
2
votes
1 answer

Nested cuboids using pre3d

Taking help of this example from pre3d js lib, I am trying to create a cuboid container which will contain smaller cuboids inside. Now, what I'm not getting properly, is how to place the internal cuboid in a predefined co-ordinate. What will be the…
intellidiot
  • 11,108
  • 4
  • 34
  • 41
2
votes
1 answer

D3D9 & Custom Clipping Planes (IDirect3DDevice9::SetClipPlane)

I've read in docs for the middleware we use that support for this can be flaky, but the D3D docs don't mention it. We're going as far back as the earliest hardware SM2.0 Intel GMA cards, basically the GMA950 & GMA3100, so I'm trying to find out if…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
2
votes
1 answer

Generate the faces of a 3D object given its points and edges

I have a 3D wire-frame consisting of 3D points and edges. How do I go about identifying sets of vertices forming a face of the 3D object? I am using QT and want to render a 3D object given its point set and edge set. The best I have been able to do…
arpanmangal
  • 1,770
  • 1
  • 17
  • 34
2
votes
0 answers

Trilinear Interpolation on Voxels at specific angle

I'm currently attempting to implement this algorithm for volume rendering in Python, and am conceptually confused about their method of generating the LH histogram (see section 3.1, page 4). I have a 3D stack of DICOM images, and calculated its…
Radhika
  • 21
  • 4
2
votes
1 answer

Does a 3D engine needs to analyse all the map objects before rendering

Does a 3D engine needs to analyse every single object on the map to see if it's gonna be rendered or not. My understanding is that a line from the center of projection to a pixel in the view plan, the engine will find the closest plan that intersect…
habibhassani
  • 486
  • 1
  • 6
  • 15
2
votes
0 answers

iOS [Objective-C / Swift] - 3D reconstruction from cross-section images

Just wondering if anyone knows the best way to or if it is even possible or impossible to re-construct 3D rendered object from multiple 2D cross section images. The images are all organized cross sections around 500 slices. Are there any Metal…
1
2 3 4 5 6