Comments (8)
Only m13 is weird, but this return me the same position for all entity
from gamemath.net.
Like entity position are différents between all entity but same position After w2s
from gamemath.net.
there is nothing wrong with the matrix struct or the worldtoscreen function. your code is wrong or your viewmatrix is wrong
from gamemath.net.
Yeah i know, can you give me a example of working matrix values?
from gamemath.net.
{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.
there is no "working" matrix valu. it depends on the context.
you coordinate pair is only x and y?
from gamemath.net.
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.
doesnt change the fact that i can not help you to produce a correct matrix.
from gamemath.net.
Related Issues (4)
- How use the world2screen HOT 2
- Ambiguous documentation HOT 2
- ScreenToWorld Can be Done ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamemath.net.