8,139 reputation
11742
bio website codingshuttle.com
location Amman, Jordan
age
visits member for 3 years, 8 months
seen 4 hours ago

Support our computer graphics proposal

http://area51.stackexchange.com/proposals/74985/computer-graphics

Also interested in:

  • Software Design.
  • Geometry.
  • ISO C++.
  • Functional programming.
  • Concurrency and parallel programming.
  • Signals and image processing.

If you are interested to hear more from me, follow me on twitter: @mghabboun


4h
revised Why is Euler integration sometimes preferred over RK4 even if RK4 is more accurate?
added 29 characters in body; edited title
6h
reviewed Approve suggested edit on Is there a sound library for C to generate sound samples from code?
9h
answered Get quaternion between two objects on sphere
9h
comment Get quaternion between two objects on sphere
the sketch you added is exactly what I imagined. You need an extra variable to store local rotation. Otherwise I don't understand what "Where the player is facing means".
9h
comment Get quaternion between two objects on sphere
Your quaternion in this case is actually position in spherical coordinates. if I understand correctly your player doesn't have a local orientation (you don't track the direction the player is facing). Otherwise your question How can I get the enemy to face in the direction of the player doesn't make much sense.
10h
comment Get quaternion between two objects on sphere
the struct object you mentioned only represent position. Do you have local orientation?
10h
comment Get quaternion between two objects on sphere
So if I understand correctly the forward vector (direction player is facing) is pointing outwards (perpendicular) of the planet?
10h
comment Get quaternion between two objects on sphere
You are representing your position as quaternion. How are you representing your local orientation, your player orientation relative to itself ?
1d
comment Maximum sensible audio sample rate
@Byte56 I coincidentally read this answer, I noticed you latest edit, please note that pitch != frequency, they are highly related, but saying that they are the same is inaccurate.
2d
comment Unreal Engine 3 2010-09
This question appears to be off-topic because it is about finding APIs, frameworks or resources.
2d
answered MeshParts - Why do they exist?
2d
revised Is it possible to calculate the TBN matrix in the fragment shader?
edited tags
2d
reviewed Approve suggested edit on How do you make specific collisions in Unity?
Oct
27
revised How can I create a body with a hole in the middle?
removed tag in the questions title
Oct
23
reviewed Approve suggested edit on Can one use the Unreal Development Kit to make a game without using UnrealScript?
Oct
23
reviewed Approve suggested edit on Cover Screen with Snowing Effect in Libgdx
Oct
23
comment Game development software
Sorry how to get started questions are off-topic. You can check this question gamedev.stackexchange.com/questions/9292/…
Oct
22
revised Game development with D programming language
added 317 characters in body
Oct
19
comment Collision detection between 2 irregular shapes
You don't need to represent real curves in your collision detection (even the draw curves are approximations). Rough approximation using multiple triangles is good enough. And the user won't notice. Remember that this is called engineering, you don't need a 100% exact representation (even if you want, you can't because of various precision and memory limitations).
Oct
19
comment Collision detection between 2 irregular shapes
When an object is concave you will need to perform triangulation, and then you can test for collision detection. Other than that you are really complicating things.