Jump to content
  • Advertisement

megus

Member
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

122 Neutral

About megus

  • Rank
    Newbie
  1. megus

    Out Of order execution

    As explained above, OOO execution is managed by hardware, and not the programmer. Given you're programming in a higher language, any standard, well established compiler would do software ILP (re-scheduling), with the consideration of any potential dependencies/hazards. If you don't write in a higher language, but actually hand-code in assmebly language, then what you suggested may optimize the pipeline throughput, but keep in mind that you would have to be highly aware of the instructions you interject as well, taking in account the various stall penalties between different types of instructions.
  2. megus

    Mesh center point (pivot)

    I wouldn't know how to do either, that's why I'm asking :) I know that i want to separate the specific subset(s) from the imported mesh, but I don't know how to do it. help?
  3. Hey, I imported an X file (SDK's airplane 2.x) and I want to make the propellor spin (a single subset). The problem is, when I apply rotation to this single mesh ( Z axis), it rotates around a center point that is different than the propellor's center. (Rotates around the whole imported mesh's pivot, I figure.) My question is how do i change one subset's pivot to make it spin around itself while the rest of the mesh is independent of such a change?
  4. Hey, I imported an X file (SDK's airplane 2.x) and I want to make the propellor spin (a single subset). The problem is, when I apply rotation to this single mesh ( Z axis), it rotates around a center point that is different than the propellor's center. (Rotates around the whole imported mesh's pivot, I figure.) My question is how do i change one subset's pivot to make it spin around itself while the rest of the mesh is independent of such a change?
  5. megus

    pivot rotation

    I was going around the Y axis (X and Z change) Obviously, I've done a dumb syntax mistake in C++ which made such a simple task so frustrating :) It's been of course a matter of moving according to X = radius * sin(a), Z = radius * cos(a) which i failed to do because of some typo in C++ that changed all calculations. Thanks for the attention Admiral , i'm sure i'd have more dumb questions down the road!
  6. megus

    pivot rotation

    Hi, I have a question regarding pivot rotation. Let's say i have an object (say, at [0,0,0]) which i want to be used as a pivot for a spot light (has a position vector, of course) to revolve around it. I've tried to figure out the mathematical function of pivoting at a given degree, but unfortunately I couldn't find the solution on my own. Can anyone help?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!