Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

952 Good

About Waaayoff

  • Rank
    Advanced Member

Personal Information

  • Interests

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm looking for an algorithm that I can use to remove vertices that are close to each other within a margin of error in a triangular mesh. Pretty much similar to Blender's "Remove Doubles" feature, if anyone is familiar with it. I think the issue isn't just removing the doubles, but also how would I handle the face indices once I remove "duplicate" vertices?
  2. Yes then I was right about swapping the two axis. But what about the normals?
  3. I need to transform both vertex and normals between these coordinate systems: OpenSceneGraph: X right, Y into the page, Z up Unity: X right, Y up, Z into the page As far as I can tell, changing between right and left handed coordinate systems can simply be acheived by swapping two axis. For example swapping z with y should be enough. So my questions are: 1. What about the normals? Would swapping their axis be enough? 2. If I need to rotate the model after converting the normals to the correct coordinate system, do I simply apply that rotation matrix to the normal vector, as I do to the vertex point?
  4. Waaayoff

    How do you like your eggs in the morning?

    How the hell do all of you have the time to make breakfast?!
  5. Waaayoff

    Bombing of Brussels airport

      I'd love to hear what kind of oppression left Arabs in golden age so uneducated and poor? Ottoman empire didn't impose cizya to Arabs because they are Muslim, they didn't even conscripted. Sorry to reveal the shocking truth but Arabs were no more than bunch of tribes for centuries until they backstabbed Ottoman Empire for a fistful of gold during World War I only to be rewarded with countries drawn by ruler and ruled by rulers.     After a quick search, you appear to be right. I knew that my country's propaganda machine painted the Arab revolt in a much different light than reality. It gave them legitimacy. But I never questioned the Ottoman empire's persecution of Arabs, which we were taught about since middle school. Just goes to show how powerful propaganda can be. Makes you wonder what else you know that is completely wrong.   Time to hit the library!
  6. Waaayoff

    Bombing of Brussels airport

      Not sure where you live or what you have seen, but obedience is certainly not what western women have. lol.     I didn't phrase that correctly. I meant Arab wives are expected to be obedient, while western women are thought of as equal partners by western men. It's actually a very common sight here to see Arab men divorce their western wives after a few years of marriage because they are "trouble makers" (i.e. not submissive enough). Sad really.
  7. Waaayoff

    Bombing of Brussels airport

    I'll give the perspective of an (atheist, ex-Muslim) Arab on the topic. I didn't read everything you guys said because the posts are ridiculously long so this is just my opinion.   You can spend a lot of time arguing about what caused the mess that is the middle east. Oppression by the Turks for centuries which left Arabs uneducated and poor. The oil boom in Saudi Arabia allowing it to export its extreme form of Islam to other Arab countries, mainly Egypt. A Tribal and collectivist culture thrown into chaos by randomly drawn borders by the British and French. Israel. The US's charming foreign policy.   I think it's more important to look at Islam, and why it is making the mess so much messier. To be clear I'm talking about Arab Muslims, since they are the ones I'm experienced with. And to please the PC police, I'm (obviously) not talking about all of them. The problem with Arab Muslims is that they don't really value life as much as the rest of us do. To many of them this is just a pesky test they have to get through to go to the next life. So what does this mean? They don't pursue happiness...   They follow rules. And Oh how many rules do they have. Not everyone follows the same rules and not as extensively, but they're there. They follow just the collection of rules/Sunnah that their parents are familiar with. It can be simple ones like no alcohol, to complex ones like the 9 Sunnats of drinking water which I've heard my aunt preach to her kids.   But it is sex that I'd like to talk about most. It is such a fundamental instinct that we desire, yet is actively repressed by hundreds of millions of people. And I'm not even talking about just premarital sex. The attitude towards sex is so bad, it's frightening (Tune in to any Muslim marriage counseling show on TV, and prepare to be horrified). I remember seeing protest signs in Egypt during the Mubarak ousting, saying "I want to get married". You see the economy in Egypt was so bad that young people were struggling to pay for weddings, furnished apartments which are a must if you want to get married, and Mahr (shudder).     So here you have an exploding population of young men desperate for sex, approval and self esteem. They end up marrying any woman they meet that their parents approve of, they end up with disappointing sex, a wife that lets herself go because she's miserable (I'm sure you've noticed how older Arab women look), no emotional support because of the loveless marriage, kids that they had too young (Arabs usually start trying to have kids immediately after the wedding), no time or money to do anything they really want, and the so many rules they have to follow to go to heaven.   And then who do they see? The west. The big bad west. With their sex, and openness, and women that treat their husbands with love and not just obedience, with young people doing what they want in life, not just get married young, raise kids and die. And so they call you immoral. And they try to shield their religion from your loose way of life as they interpret it as an attack on theirs.  Why? Because if Islam wasn't there, if it wasn't the true religion, if it wasn't the answer, then they just wasted their entire life and spent it in misery, all for nothing.   But that's just my opinion.
  8. Waaayoff

    Game Engine Editor

    I use wxwidgets. I find it easy to use and it has a lot of functionality. 
  9. Waaayoff

    Wyoming's Eyeball Smuggler

    What the fuck
  10. Some time ago I went through the whole problem of getting animation to work from Assimp. I ended up getting it right and I explained how here but I didn't test it vigorously, it might help you though. You're probably not setting up your final transform correctly because Assimp isn't very clear whether it is storing a specific matrix absolutely or relatively to its parent.   I also suggest you use a very simple model as Buckeye suggested (I used a cuboid subdivided into 2 cubes, each cube having one bone, basically a very low poly arm).
  11. I am using the D3D shader reflection function to generate my vertex input layout, however I need to specify whether a variable is per-vertex or per-instance and as far as I know there is no official HLSL way to do this.   I thought about adding my own metadata structure at the top of the file, parse it and pass the rest of the shader to D3DCompile (instead of D3DCompileFromFile). Does this sound like a good idea? What is the generally used approach?
  12. What if I want to be able to set it upwards?
  13. I want to be able to set the direction the camera is facing but I can't figure out how to determine the other vectors from the view direction.
  14. Waaayoff

    What is a wrapper? What is a Decorator?

    A wrapper function or class is just a piece of code that envelopes existing code, while adding new functionality before (e.g. initialization) or after (e.g. clean up) the existing code. Example: file* loadImageWrapper(string filename) {    if (!fileExists(filename)) // Handle error result = loadImage(filename); // Original function if (!result) // Handle error } The wrapper could of course be more complex than that depending on the situation. It could also simply not have any new code added and just be used to set up a new name for the existing function.    AFAIK, decorators are the same thing as wrappers.
  15.   Why do you need to create a GPU resource then? Just save your "large textures" as raw height values and read them directly from disk to CPU. That would make much more sense (and would be faster). 
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!