• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sipping
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 9 of 9
    1. #1
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      emistz's Avatar
      Join Date
      May 2013
      Posts
      71
      Thanks (-->)
      2
      Thanks (<--)
      9

      TriangleStrips to TriangleList

      How to Manual Map DLL
      Hello gents,

      So I've been working on a moddel ripper for d3d9 games to add to the D3DTextureLogger release. So far I got it working fine when dumping models drawn using indexed triangle lists, but when I dump models drawn using trianglestrips it is not working right. It is missing 66% of the triangles or so due to how trianglestrips work. I have a cursory understanding of how trianglestrips work, but not enough to code a function to convert trianglestrips into trianglelists.

      Has anyone already tackled this problem before and have some working code to share?

      cheers,

      emist

    2. #2
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      emistz's Avatar
      Join Date
      May 2013
      Posts
      71
      Thanks (-->)
      2
      Thanks (<--)
      9
      bump action

    3. #3
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      emistz's Avatar
      Join Date
      May 2013
      Posts
      71
      Thanks (-->)
      2
      Thanks (<--)
      9
      I just realized I started this thread in the wrong section. If any of the mods can throw it in "Hacking & Help" that'd be awesome.

      I've messed around with my code and turned the trianglestrip into an almost complete trianglelist, but parts of the model are missing.
      The algo I'm using is:

      odd triangles:
      f = index-2, index-1, index
      even triangles(flip them):
      f = index, index-1, index-2

      Now, I almost have a complete slenderman, but certain parts of the geometry are missing.

      See:

      Click image for larger version. 

Name:	slender.png 
Views:	2 
Size:	11.9 KB 
ID:	1888

      Does anyone know what I could be doing wrong?

    4. #4
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      emistz's Avatar
      Join Date
      May 2013
      Posts
      71
      Thanks (-->)
      2
      Thanks (<--)
      9
      Finally got it to work. I'll post up a tutorial on how it is done if anyone is interested.

      The Slenderman Model:
      TriangleStrips to TriangleList

    5. Thanks squeenie thanked for this post
    6. #5
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      493
      Wow, nice job man. Wish I could've helped. I haven't done anything similar before
      Last edited by c5; 06-25-2013 at 03:45 AM.
      TriangleStrips to TriangleList

    7. #6
      Hacker
      shell toes yes
       
      Lagging
       
      squeenie's Avatar
      Join Date
      Mar 2013
      Posts
      709
      Thanks (-->)
      600
      Thanks (<--)
      222
      Definitely post a tutorial!

    8. #7
      RTFM
      Shootin Pool!
       
      Coding
       
      Syperus's Avatar
      Join Date
      Oct 2012
      Location
      127.0.0.1
      Posts
      436
      Thanks (-->)
      101
      Thanks (<--)
      131
      Ah good old slendy!! Never gets old.
      Blacks Ops Zombies, BioShock Infinite Array of Bytes
      "People say I'm a bad influence. I say the world's already fucked, I'm just adding to it" -Eminem

    9. #8
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      emistz's Avatar
      Join Date
      May 2013
      Posts
      71
      Thanks (-->)
      2
      Thanks (<--)
      9
      I'll throw a tutorial up later today along with the source code.

      I wrote this in C++ just to get the process down, but I plan on adding it to the C# tool I put out a while ago. It'll probably take me a few days to do that though, gotta change everything from accessing the buffers directly to using whatever API SlimDX wants me to use.

      cheers,

      emist

    10. Thanks squeenie thanked for this post
    11. #9
      Hacker
      shell toes yes
       
      Lagging
       
      squeenie's Avatar
      Join Date
      Mar 2013
      Posts
      709
      Thanks (-->)
      600
      Thanks (<--)
      222
      Cheat Engine Tutorials
      Cool thanks man