Code Monkey home page Code Monkey logo

Comments (8)

Jerem584 avatar Jerem584 commented on June 28, 2024

Only m13 is weird, but this return me the same position for all entity

from gamemath.net.

Jerem584 avatar Jerem584 commented on June 28, 2024

Like entity position are différents between all entity but same position After w2s

from gamemath.net.

michel-pi avatar michel-pi commented on June 28, 2024

there is nothing wrong with the matrix struct or the worldtoscreen function. your code is wrong or your viewmatrix is wrong

from gamemath.net.

Jerem584 avatar Jerem584 commented on June 28, 2024

Yeah i know, can you give me a example of working matrix values?

from gamemath.net.

Jerem584 avatar Jerem584 commented on June 28, 2024

{X = 960,5, Y = 539,5}
actorloc :[ -119872,4 - -113600 - 3967,251 ] {X = -119872,4, Y = -113600, Z = 3967,251}{ {M11:-0,9615234 M12:0,2747233 M13:0,2677149 M14:0} {M21:0,06165699 M22:0,2157977 M23:0,9744896 M24:0} {M31:0,2677149 M32:0,9369946 M33:-0,2244331 M34:0} {M41:-126115,1 M42:-112958,2 M43:4042,123 M44:1} }
{X = 960,5029, Y = 539,5005}
actorloc :[ -124334,5 - -115947 - 3967,859 ] {X = -124334,5, Y = -115947, Z = 3967,859}{ {M11:-0,9615234 M12:0,2747233 M13:0,2677149 M14:0} {M21:0,06165699 M22:0,2157977 M23:0,9744896 M24:0} {M31:0,2677149 M32:0,9369946 M33:-0,2244331 M34:0} {M41:-126115,1 M42:-112958,2 M43:4042,123 M44:1} }
{X = 960,5029, Y = 539,5005}
actorloc :[ -127939,1 - -110841,5 - 3841,01 ] {X = -127939,1, Y = -110841,5, Z = 3841,01}{ {M11:-0,9615234 M12:0,2747233 M13:0,2677149 M14:0} {M21:0,06165699 M22:0,2157977 M23:0,9744896 M24:0} {M31:0,2677149 M32:0,9369946 M33:-0,2244331 M34:0} {M41:-126115,1 M42:-112958,2 M43:4042,123 M44:1} }
{X = 960,5031, Y = 539,5005}
actorloc :[ -128062,1 - -110506,9 - 3967,88 ] {X = -128062,1, Y = -110506,9, Z = 3967,88}{ {M11:-0,9615234 M12:0,2747233 M13:0,2677149 M14:0} {M21:0,06165699 M22:0,2157977 M23:0,9744896 M24:0} {M31:0,2677149 M32:0,9369946 M33:-0,2244331 M34:0} {M41:-126115,1 M42:-112958,2 M43:4042,123 M44:1} }
{X = 960,5032, Y = 539,5005}

from gamemath.net.

michel-pi avatar michel-pi commented on June 28, 2024

there is no "working" matrix valu. it depends on the context.
you coordinate pair is only x and y?

from gamemath.net.

Jerem584 avatar Jerem584 commented on June 28, 2024

I have fix degrees but i cant seem to do working w2s with. So i decided to get viewmatrix and its all i have

from gamemath.net.

michel-pi avatar michel-pi commented on June 28, 2024

doesnt change the fact that i can not help you to produce a correct matrix.

from gamemath.net.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.