Top "Depth" questions

The depth of a node in a tree is the length of the path to its root.

How can I use jQuery find() with a depth limit?

I need to use jquery's "find" selector to get all divs having the class "field_container". The problem is that …

jquery find depth
How to implement Depth of Field in Ray Tracer?

Can someone help me with the depth of field implementation in Ray Tracer please? I am using a simple pin-hole …

c++ raytracing depth
OpenCV: Change depth and log transform

I'm trying to learn OpenCV and I want to apply this simple formula: That is a per-pixel operation and transform …

opencv depth
How to render depth linearly in modern OpenGL with gl_FragCoord.z in fragment shader?

I read lots of information about getting depth with fragment shader. such as http://www.opengl.org/discussion_boards/ubbthreads.…

opengl glsl shader depth depth-buffer
How do you access tree depth in Python's scikit-learn?

I'm using scikit-learn to create a Random Forest. However, I want to find the individual depths of each tree. It …

python scikit-learn random-forest decision-tree depth
How do I keep an object always in front of everything else in OpenGL?

I have this function which draws a small 3D axis coordinate system on the bottom left corner of the screen …

opengl viewport clipping foreground depth
Render depth from framebuffer texture

I've been trying to add SSAO (based on the tutorial here: http://john-chapman-graphics.blogspot.co.nz/2013/01/ssao-tutorial.html) to a …

opengl textures framebuffer depth depth-buffer
Know the depth of a dictionary

Supposing we have this dict: d = {'a':1, 'b': {'c':{}}} What would be the most straightforward way of knowing the nesting …

python dictionary depth
How to copy depth buffer to a texture on the GPU?

I want to get the current depth buffer to a texture, to access it in a shader. For various reasons …

opengl glsl depth