Unanswered Questions
746 questions with no upvoted or accepted answers
10
votes
0
answers
1k
views
How do I reconstruct depth in deferred rendering using an orthographic projection?
I've been trying to get my world space position of my pixel but I'm missing something.
I'm using a orthographic view for a 2.5d game. My depth is linear and this is my code.
...
9
votes
1
answer
1k
views
Using PhysX, how can I predict where I will need to generate procedural terrain collision shapes?
In this situation, I have terrain height values I generate procedurally. For rendering, I use the camera's position to generate an appropriate sized height map. For collision, however, I need to have ...
8
votes
1
answer
828
views
Understanding how texCUBE works and writing cubemaps properly into a cube rendertarget
My goal is to create accurate reflections, sampled from a dynamic cubemap, for specific 3d objects (mostly lights) in XNA 4.0.
To sample the cubemap I compute the 3d reflection vector in a classic ...
6
votes
0
answers
281
views
How can I call a native mobile API in Construct 2?
How can I use mobile API features in a Construct 2 game (HTML 5/JavaScrit engine)?
I didn't find anything about that on the net, unlike other game frameworks like Corona Enterprise or Cocos2d.
6
votes
0
answers
213
views
How can I create a set of collision points for an arbitrary mesh?
In my project I am working on automatically deforming an arbitrary mesh with respect to another arbitrary mesh, within the context of user generated content, similar to this deformer being developed ...
5
votes
0
answers
152
views
XNA Shader working different on different PC's
I am working on a game in C#/XNA which uses custom shaders for drawing. When the code is compiled on my machine it works perfectly on all computers I tested, but when my team member tries to compile ...
5
votes
1
answer
184
views
How can I determine "exact moment" of collision with ray casting?
I'm currently brainstorming how the physics for my game engine is going to be handled.
It's top down and I'm thinking of using ray casting for collision detection.
I've reached two potential problems (...
4
votes
0
answers
173
views
Support function of Minkowski Difference
I am watching this and if you stop at 7:25, you will find an implementation of the support function. The goal of the function is to give you the farthest point in a given direction. My question is how ...
4
votes
0
answers
218
views
Phaser: InvalidStateError
I am using the Phaser framework for game development, but while working on it I face a bug which is annoying, I have the following message:
InvalidStateError: An attempt was made to use an object ...
4
votes
0
answers
314
views
Determine user mouse selection of 3D Object for multiple viewports
I am currently working on setting up some world objects for my level editor and am running into a bit of a snag. When I get the hit location from the mouse raycast, I would like to determine what part ...
4
votes
0
answers
181
views
Understanding unknown mesh data structure
I have a large number of old mesh files in a custom, undocumented binary format. I have managed to parse almost everything but am left with one group of structures, described below, that I don't ...
4
votes
0
answers
153
views
Monogame resizing GraphicsDeviceControl in WindowsForms?
I'm currently working on a custom Map editor using Windows Forms.
I have a class inheriting from GraphicsDeviceControl (called MapDisplay) that I'm using so that I may use spritebatch to draw the ...
4
votes
0
answers
70
views
Why does interactive cloth not appear in game view in unity5 Pro?
I used interactive cloth fir flags in unity5 Pro version and it appears in scene view but does not appear in game view while playing. What can I do for that please somebody help me out?
4
votes
1
answer
1k
views
HTML5 Canvas - Drawing with Floats
I'm trying to implement a game where you have car moving along a line in HTML5 Canvas. Using a little bit of trigonometrie I managed to get the right x and y coordinates to add to the coordinates of ...
4
votes
1
answer
1k
views
XNA Webcam video
How can I embed a video in a XNA application?
I'm developing a card game with XNA C# and I need to send webcam video between four machines.
Could anyone give me some tips about that?