Questions tagged [3d]

3D computer graphics are graphics that use a three-dimensional representation of geometric data stored in the computer for the purposes of performing calculations and rendering 2D images.

3D could mean 3D graphics. 3D graphics usually involve a lot of matrix manipulation and vector mathematics. These matrices will be both affine transformations for manipulating the objects in 3D space (translation, rotation and scaling) and perspective transformations for generating the 2D image required for display. More information about 3D graphics at Wikipedia page of 3D graphics

3D could also mean Stereoscopy. Stereoscopy (also called stereoscopics or 3D imaging) is a technique for creating or enhancing the illusion of depth in an image by means of stereopsis for binocular vision. To generate stereo images two normal displays are generated offset from each other by the distance between the eyes. These are then combined on the display in one a variety of ways (LCD shutter glasses, polarised projections etc.) to generate the 3D effect.

More information on Stereoscopy at Wikipedia page of Stereoscopy

17108 questions
4
votes
1 answer

glTF 2.0 video texture support

I have been reading the glTF specs and looking around and haven't been able to find an explicit answer to this: are video textures supported by glTF 2.0 or one of its extensions? Could anyone point me to the right thread or documentation if such…
Silvain
  • 399
  • 4
  • 20
4
votes
2 answers

How to switch to wireframe display mode for a Viewport3D control in WPF?

Is there a way to do this? I am looking for something like this: viewport3dControl.DisplayMode = DisplayMode.Wireframe; Instead of the current shaded one. Or do I have to set this for each object I want to display as wireframe? If so, how?
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
4
votes
1 answer

F# WPF - displaying a simple object in Viewport3D

I'm trying to get into generating 3D graphics in F# (as was apparent from my previous question) with very little time and very little initial knowledge of F#. I'm studying Tomas Petricek's fractal example, but I can't really make heads or tails of…
moebius
  • 213
  • 1
  • 2
  • 4
4
votes
1 answer

Slicing a NURBS surface

I have a NURBS surface which has 4 curved edges. (I have the 4 bezier points for the curves) I'd like to slice the NURBS surface with a slicing-plane thats on-axis (not as advanced as 3DSMAX!), and calculate a curve where the slicing-plane and NURBS…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
4
votes
2 answers

Image scaling quality on 3D surface problem in WPF

I have an image viewer created with WPF 3D graphics. Image quality is really WORSE there, so I've started researching this issue, created simple application which shows the image using 2D graphics on the top part of the window, and the same image on…
4
votes
1 answer

Changing color range 3d plot Matplotlib

I am trying to make a 3d plot but the color range is so small that it only covers a small portion of the values that the z-axis can have. How do I fix this? I attach the code and the image that I get: fig = plt.figure() ax =…
4
votes
5 answers

3D sparse matrix implementation?

I've found a quite good sparse matrix implementation for c# over http://www.blackbeltcoder.com/Articles/algorithms/creating-a-sparse-matrix-in-net. But as i work in 3d coordinate-system, i need a sparse-matrix implementation that i can use to map…
HuseyinUslu
  • 4,094
  • 5
  • 33
  • 50
4
votes
1 answer

Light mesh with specific light three js

I have a scene with a couple of objects and some objects in these case the spheres i want to be affected by the lights with the colors pink and blue. But i also have a tube geometry that should only be affected by a white light, without being…
FutureCake
  • 2,614
  • 3
  • 27
  • 70
4
votes
1 answer

Can glsl be used instead of webgl?

This may be a bit of a naive question so please go easy on me. But I was looking at shaders at shadertoy.com and I'm amazed at how small the glsl code is for the 3d scenes. Digging deeper I noticed how most of the shaders use a technique called ray…
Shai UI
  • 50,568
  • 73
  • 204
  • 309
4
votes
5 answers

Finding a distance between two line segments?

Given two line segments, find the two points at which the distance between the line segments is d. This is similar to the "shortest distance between two line segments problem", except we are solving for the two points on the line segment separated…
user2940623
  • 369
  • 3
  • 14
4
votes
1 answer

Materials for 3D objects

As I was playing around with the WPF's 3D support, I wanted to try different options for the 3d objects material types, so at first I created a simple scene, with just a triangle (which is rendered ok):
melculetz
  • 1,961
  • 8
  • 38
  • 51
4
votes
1 answer

3D Cube rotation around x and y axis

I'm writing a WPF application that uses Viewport 3D to display a cube, made up of 6 different colored-faces. In the end I'm trying to create a rotatable Rubik's Cube. I have built in two methods to rotate the camera around the cube, one using…
4
votes
3 answers

Which graphics API for browsers should I learn?

Which 3D graphics API for browsers should I learn? I hear there's WebGL for Firefox 4, O3D for Chrome, and Shockwave has been around for a decade for all browsers. There may be others, but I'm not sure. It seems like every modern browser wants their…
JoJo
  • 19,587
  • 34
  • 106
  • 162
4
votes
0 answers

Transparent sphere is mostly black after implementing refraction in a ray tracer

NOTE: I've edited my code. See below the divider. I'm implementing refraction in my (fairly basic) ray tracer, written in C++. I've been following (1) and (2). I get the result below. Why is the center of the sphere black? The center sphere has a…
Emily Horsman
  • 195
  • 1
  • 7
4
votes
2 answers

Rotation in XNA

I have a question concerning model rotation in XNA. The question is - what should I do (which values should be changed and how) to rotate green model in that way (red arrows): http://img843.imageshack.us/i/question1.jpg/ Code used to draw…
Konrad
  • 1,014
  • 1
  • 13
  • 24