Omgili - forum search, search forums  
  

Discussions about depth value

Displaying 1 - 10 out of 40,944 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
It recently occurred to me that I (and I think most people) learned computer programming starting with something like Visual Basic. I began to wonder if we had started at the lower level first if it would be easier now. Do you think it is any value as...
Started by on , 12 posts by 12 people.  
But if you really want to squeeze performance out of your program... .
You are not missing something even if you don't know the CPU in depth.
Architecture specific knowledge can indeed help.
Mean that the value of this information is diminished.
I'm porting a software that build from 16bit color depth to 18bit color depth. How can I convert the 16-bit colors to 18-bit colors? Thanks.
Started by on , 6 posts by 6 people.  
Extract....
So green is easy! Just copy the value over from the 16 bit components (i.e.
This will turn the old color into a number between 0.0 and 1.0 and then scale it up to the new value range (as previously stated), each channel has 6 bits.
Per the example array at the very bottom, i want to be able to append the depth of each embedded array inside of the array. for example: array ( 53 => array ( 'title' => 'Home', 'path' => '', 'type' => '118', 'pid' => 52, 'hasChildren' ...
Started by on , 8 posts by 5 people.  
Foreach($a as $key=>$value) { if (is_array($value)) setDepth($a[$key], $depth+1); } } The thing array to the value $a: $b = array_set_depth($a); print_r($b); Edit: To set depth before the children) && !($....
Ask your Facebook Friends
Since an MP3-File has no fixed bit depth like a PCM-Stream, a decoder (e.g. lame) must determine what bit depth to use when converting an mp3-stream into a PCM-Stream. Does it work by using a default value (propably 16) or is there any other way?
Started by on , 4 posts by 4 people.  
I'm not familiar in-depth with MP3 format, but isn't it possible that into....
To decode to any bit depth you want? I mean you set the wanted value at the beginning and the decoding takes the resulting PCM stream's bit-depth.
Whats's the difference between use back face culling and a buffer of depth in OpenGL?
Started by on , 3 posts by 3 people.  
Depth....
If not, discard the pixel.
Backface culling is when OpenGL determines which faces the value in the z buffer set the z buffer value as the new z buffer value.
The depth buffer with the new, closer value.
What's the difference between backtracking and depth first search?
Started by on , 5 posts by 5 people.  
Backtracking is a more general algorithm that....
Usually, a depth-first-search is a way of iterating through an actual graph/tree structure looking for a value, whereas backtracking is iterating through a problem space looking for a solution.
My logging code uses the return value of backtrace() to determine the current stack depth (for pretty printing purposes), but I can see from profiling that this is a pretty expensive call. I don't suppose there's a cheaper way of doing this? Note that...
Started by on , 5 posts by 5 people.  
A TLS variable around with you called "depth" and increment it / decrement it every function? While uint32_t get_ebp(void) { __asm__ __volatile__("mov %%ebp, %%eax"); } int get_stack_depth(void) { uint32_t ebp = get_ebp(); int stack_....
I'm currently reading from a depth texture in a postprocess depth of field shader using the following GLSL code: vec4 depthSample = texture2D(sDepthTexture, tcScreen); float depth = depthSample.x * 255.0 / 256.0 + depthSample.y * 255.0 / 65536.0 + depthSample...
Started by on , 3 posts by 3 people.  
Unfortunately HLSL: float depth = tex2D(DepthMapSampler, PSIn.TexCoord).r; float4 screenPos = depth; screenPos.w = 1.0f; float4 worldPos = mul(screenPos, xViewProjectionInv); worldPos /= worldPos.w the final Z value to get....
Matrix.
I am having difficulty calculating the summation of depths [the sum of the individual depths for all children of the root] for a given BST. I have the total number of nodes for the tree, and I am trying to calculate the average depth for the tree, requiring...
Started by on , 7 posts by 7 people.  
You could....
Then just divide by the number of nodes tag the question as such .
Just need to keep a depth counter as you traverse the tree (look up tree traversals if you have to) and add the value of the counter every time you reach a node.
How can I check if two System.Drawing.Color structures represent the same color in 16 bit color depth (or generally based on the value of Screen.PrimaryScreen.BitsPerPixel)? Let's say I set Form.TransparencyKey to Value1 (of Color type), I want to check...
Started by on , 4 posts by 4 people.  
You'd have to mask the R, G and B values ....
Since ColorTranslator.ToWin32 is used under the hood, does this work? if( ColorTranslator.ToWin32(Value1) == ColorTranslator.ToWin32(Value2) ) There are two pixel formats for 16-bit color, 555 and 565 .
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
HOW TO CHANGE DEPTH BUFFER VALUES   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost