Skip to main content

All Questions

Tagged with
0 votes
1 answer
36 views

Differences between rotations and translations of different camera properties in LiBGDX

I am trying to understand the camera API (applicable to perspective camera ONLY) of LiBGDX. It really does not make sense that you can call rotate and translate on many different properties of the ...
i_o's user avatar
  • 121
1 vote
1 answer
312 views

Screen space reflections bug

I try to implement screen space reflections in my graphics engine using ray marching algorithm. After a lot of trying I got this result: https://youtu.be/yzkgpcliBVQ As you can see, the reflections ...
Алексей Карамбович's user avatar
2 votes
2 answers
312 views

How to make player seem bigger / world smaller, without changing world coordinates

I am making a voxel game with OpenGl, I've got the major parts working, except the camera seems small compared to the the blocks. How do I make the camera bigger? Do I do a scaling on the model ...
shahanneda's user avatar
2 votes
1 answer
470 views

Model gets distorted when rotating the camera

I'm currently developing my own 3d graphics engine and I'm having a hard time figuring out why my 3D models gets distorted when rotating the camera around. This is my projection matrix. I'm following ...
Joao Pedro Braz's user avatar
-3 votes
2 answers
436 views

What would happen if a 3D game used Bitmaps to render, instead of vertices and textures? [closed]

What would happen if a 3D game used Bitmaps to render, instead of vertices and textures?
Good's user avatar
  • 7
0 votes
1 answer
821 views

Reset Camera view - webgl

I have camera rotating by dragging mouse. Im trying to add reset button that restart the scene to initial view. The rotating camera works as expected but I can't figure out how to reset it. The ...
arii's user avatar
  • 27
9 votes
1 answer
2k views

Draw the middle half of a sphere programmatically

I'm trying to create the middle half of a sphere. Basically to create a sphere, stack numbers and slice numbers are given, and there are two variables phi (for ...
Mary's user avatar
  • 239
2 votes
1 answer
2k views

OpenGL cube map is always black

When creating and rendering a skybox with a cube map texture, the skybox is black. Here is how I create the cube map texture: ...
abc's user avatar
  • 133
1 vote
1 answer
956 views

DirectX Bullet Tracer Effect

I'm wondering if anyone knows some common and efficient ways to do a fast tracer for an instant bullet. I've seen people speak on forums of using primitive lines with DirectX, but I doubt this is up ...
Joseph Pla's user avatar
2 votes
1 answer
387 views

What is w componet [duplicate]

What is the W component on graphics programming. I read a blog about opengl that says that w must be equal to either 0 or 1 here. But the book I am currently reading has put w component to more than 1 ...
Tifa's user avatar
  • 133
1 vote
1 answer
192 views

How to render models using a personalized projection matrix?

I'm creating a game with a great sprite demand. Out team is considering automatizing the sprite generation using 3D models. The problem is we have a very particular ortographic projection: We have ...
MaiaVictor's user avatar
  • 1,180
1 vote
1 answer
3k views

How can I find the location of OpenGL object after rotation?

I have a rotating object, a cube, which I rotate in OpenGL as follows: ...
JAN's user avatar
  • 133
34 votes
10 answers
8k views

What makes a game look "good"? [closed]

I am working on a 3D space game using OpenGL and C++ and I am planning to focus on giving the game modern, eye-catching graphics, but the more I think of it the more I realise I don't really know what ...
toficofi's user avatar
  • 657
0 votes
1 answer
148 views

Split vector vs matrix notation for transformation

Some rendering engines like Ogre prefer to use a individual vector based notation for transformations like the following Split vector notation: Net Transformation is represented by Scale vector = sx, ...
seahorse's user avatar
  • 527
0 votes
1 answer
3k views

OpenGL : Suggestion on handling collision detection and vertex data?

I was thinking how to do collision detection in my OpenGL application and came to conclusion that I should keep two copies of my geometry data. 1)First copy : Only for OpenGL rendering purposes.This ...
Ashika Umanga Umagiliya's user avatar

15 30 50 per page