Jump to content

Grozz

Members
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Grozz

  1. Any ideas how can I calculate the camera perspective's 4 corners into a flat 2D map? Here's what the camera should see: And here is what should it look like from the outside: I need to calculate the 4 points position
  2. simply set the diffuse color of the texture with a shader
  3. Of course man. If you're not able to do something, it's not even possible, right?
  4. its dxDrawMaterialLine3D() or setSkyGradient()
  5. thats a simple vertex displacement shader
  6. A poor demonstration of custom face morphing
  7. A simple script of dressable characters and deformable faces. You can move every vertex of the head with a simple displacement shader. The script is in test state right now, I'll create a new editor later. Hope you like it.
  8. Hey. No, I will use it on my server.
  9. My PC is just a piece of... you know. So actually I can't record videos in 30 FPS.
  10. Thanks bro, I'll make better animations somehow! Thank you!
  11. I created a complex first person movement script with weapons and custom animations. This is the first version of it.
  12. getElementMatrix returns with a table too, and dx shaders cannot read MTA Vectors.
  13. There's a shader and a simple float4x4 array in it. I just want to set the array's values with dxSetShaderValue. How should I do this? float4x4 thisBoneMatrix[6] = { float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), float4x4( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) };
  14. I need a function that calculates ped's bone matrices. (bone_attach functions doesn't work) I'm working on a shader that actually can move a ped's bone.
  15. I don't know what is going on with the neck. I tried to fix it so many times, but i can't see that glitch in 3ds max.
×
×
  • Create New...