# Search:

Type: Posts; User: debonair

Page 1 of 9 1

1. ## Thread: alpha to coverage

by debonair
Replies
1
Views
62

### alpha to coverage

I have question about the working of alpha to coverage. Coverage value specifies that which samples of a pixels are covered by the primitive. with alpha to coverage, we AND alpha value with coverage...
2. ## Thread: locating bottleneck in graphics pipeline

by debonair
Replies
3
Views
200

### are we assuming that stages are running in...

are we assuming that stages are running in parallel?
3. ## Thread: locating bottleneck in graphics pipeline

by debonair
Replies
3
Views
200

### locating bottleneck in graphics pipeline

if we want to check if the particular stage is causing bottleneck in the pipeline or not we decrease the load in that stage and if the FPS increases then that stage is a bottleneck. For example in...
4. ## Thread: Multisampling with triangles sharing the edge

by debonair
Replies
1
Views
144

### Multisampling with triangles sharing the edge

According to my understanding:

Multisampling: Consider we have primitive with 4X multisampling and only 1 sample is covered by primitive. So it calculates the percentage (pixel coverage based on...
5. ## Thread: Transformation in Fixed coordinate system

by debonair
Replies
12
Views
674

### Thanks all for your inputs. I think I put the...

I think I put the question not in correct way. So I am explaining it here again. We have a object which we rotate it around X- axis now our coordinate system rotates...
6. ## Thread: Transformation in Fixed coordinate system

by debonair
Replies
12
Views
674

### Transformation in Fixed coordinate system

I have been reading some posts about rotation around the fixed axis and I have some doubts.
If we want to rotate in the global coordinate system, we need to premultiply the matrix and if we want...

by debonair
Replies
1
Views
298

in first pass, we execute VS and FS for all the objects in a scene so MRT will have values for closest pixels. Now in light pass, do we execute the VS for all the objects a scene ? if yes, then FS...

by debonair
Replies
2
Views
483

### glDepthRange()

I am bit confused with working of glDepthRange(). I have following doubts:
1. does it specify the accuracy or resolution of depth buffer values. for example, range 0..2000 will have more accurate...
9. ## Thread: Storage of texture and framebuffer attachement

by debonair
Replies
0
Views
289

### Storage of texture and framebuffer attachement

Texture Data: When we call glTexImage() it uploads data on GPU, in which memory (EDRAM or shared memory for Streamline processors) this data is stored? When we call glGenerateMipmap() does it create...
10. ## Thread: camera movement in particle system

by debonair
Replies
2
Views
643

### Got it working: float3...

Got it working:

float3 pos=gin[0].Position.xyz;
float3 right=float3(InverseView[0][0],InverseView[1][0],InverseView[2][0]);
float3...
11. ## Thread: camera movement in particle system

by debonair
Replies
2
Views
643

### I was wrong, they should be facing towards the...

I was wrong, they should be facing towards the camera and should not disappear.
In above code, I am multiplying position by world matrix, and passing this position into GS, which is wrong. Now...
12. ## Thread: camera movement in particle system

by debonair
Replies
2
Views
643

### camera movement in particle system

I am rendering particles with billboard technique. The problem is that when I move the camera to extreme right side, still they get displayed. But when I move the camera to left side they turn and...

by debonair
Replies
4
Views
917

### Can you please specify the equations? I am...

Can you please specify the equations?
I am using billboard technique to render particles. Here is my part of the geometry shader:

vec3 pos=gl_in[0].gl_Position.xyz;
vec3...

by debonair
Replies
4
Views
917

bounce.!!!

by debonair
Replies
4
Views
917

### particle system

I am implementing particle system in which I want particles to rotate around each other i.e. its own axis along with translational motion outwards from the emitter.
I have outward motion of...
16. ## Thread: Cube Envoirement Map OpengGl es 2.0

by debonair
Replies
9
Views
1,741

### check your glActiveTexture() and glUniform()...

check your glActiveTexture() and glUniform() calls for samplers when you attach it to both the textures.
17. ## Thread: A precise definition of fragments, samples, pixels and multisampling?

by debonair
Replies
3
Views
1,072

### this might not be related to original post but...

this might not be related to original post but just curious to know, how would rasterizer works in case of 2 triangles who share the edge?
18. ## Thread: Cube Envoirement Map OpengGl es 2.0

by debonair
Replies
9
Views
1,741

### you need to bind same FBO for every side of the...

you need to bind same FBO for every side of the cube. it would be somewhat like:

glBindFramebuffer(GL_FRAMEBUFFER,FboObject);
for (face = 1; face < 6; face++) {
Draw();
...
19. ## Thread: Depth test for custom framebuffer not working

by debonair
Replies
6
Views
1,687

### 1,2. if it works for default, that means it is...

1,2. if it works for default, that means it is enabled.
3. you should create a depth attachment (renderbuffer).
20. ## Thread: Depth test for custom framebuffer not working

by debonair
Replies
6
Views
1,687

### checklist: 1. You have cleared depth buffer and...

checklist:
1. You have cleared depth buffer and have set the function.
2. While creating context, you have enabled depth buffer bit.
21. ## Thread: Draw frustrum in opengl

by debonair
Replies
6
Views
1,277

### I am still confused with how it works. Initially...

I am still confused with how it works. Initially we are taking normalized coordinates and multiplying it with inverse projection matrix to get coordinates into view space, but in the reverse step (...
22. ## Thread: Draw frustrum in opengl

by debonair
Replies
6
Views
1,277

### Thanks a lot. I forgot to apply camera...

Thanks a lot. I forgot to apply camera transformation. :)
It works now :)
One doubt, after applying projection matrix, vertices will be in clip coordinate space and not in NDC right? but we are...
23. ## Thread: Draw frustrum in opengl

by debonair
Replies
6
Views
1,277

### I want light frustrum. here is my code of...

I want light frustrum. here is my code of geometry shader:

vec4 vertices[]={

{-1, -1, -1, 1}, { 1, -1, -1, 1}, { 1, 1, -1, 1}, {-1, 1, -1, 1},

{-1, -1, 1, 1}, { 1, -1, 1, 1}, { 1, ...
24. ## Thread: Draw frustrum in opengl

by debonair
Replies
6
Views
1,277

### How to draw frustrum in opengl

I want to draw frustrum outlines. What will be my coordinates for these frustrum vertices ?

by debonair
Replies
1
Views
683