About Store Forum Documentation Contact



Post Reply 
World To Screen
Author Message
light Offline
Member

Post: #1
World To Screen
Hello,

I got sick of using Unity (pipeline crap and more stuff that is just annoying) so Im trying differents engines right now, and I really like Esenthel so far.

there is just one thing there I cant find a solution to it in the samples/docu.

Its about World To Screen, does someone know if there is a command for that?
or any other method in Esenthel to calculate vec2 screen from 3D vectors?

I mean i can code my own W2S with the viewMatrix, but it would be nice if Esenthel has a build-in command for that smile

thanks for any help!

BR
light
(This post was last modified: 12-01-2021 11:22 AM by light.)
12-01-2021 11:21 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: World To Screen
Hi and welcome smile
Hope this can help you:
https://github.com/Esenthel/EsenthelEngi...mera.h#L78
PosToScreen
12-01-2021 11:48 AM
Find all posts by this user Quote this message in a reply
light Offline
Member

Post: #3
RE: World To Screen
(12-01-2021 11:48 AM)Esenthel Wrote:  Hi and welcome smile
Hope this can help you:
https://github.com/Esenthel/EsenthelEngi...mera.h#L78
PosToScreen

Hi,

oh its a global function *shy*
I was always looking inside the cam member methods,and I really should have taken a look inside the Camera.h

perfect, thank you every much for this quick response!
12-01-2021 11:52 AM
Find all posts by this user Quote this message in a reply
Post Reply