3D projection looks "crumpled up"[Fixed it]

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
NoreoAlles
Party member
Posts: 130
Joined: Mon Jan 03, 2022 5:42 pm

3D projection looks "crumpled up"[Fixed it]

Post by NoreoAlles »

hello,
ive been following a tutorial on youtube and had an issue where my 3d models look like if they were squished inside a sphere.
This all started when i implemented cameras (starting 23:04 of this video)
I´ve had this problem once when starting this project and remember it being very easy to fix (something about "normalizing to cartesian space, which involved normalising triprojected), but now ive changed and normalized random and related variables for about 5 hours and looked at the projects Github to see if i maybe made a mistake copying any matrices. i think i just need a pair of fresh eyes. Use wasd and arrow keys to move around.
Screenshot of the Issue:
Screenshot 2024-07-02 155347.png
Screenshot 2024-07-02 155347.png (13.9 KiB) Viewed 6335 times
Screenshot of before:
progress.PNG
progress.PNG (10.86 KiB) Viewed 6335 times
Edit:
I just needed some sleep, first thing i tried today fixed it, tris.sectors[].w = 1
Attachments
3d (2).love
(6.3 MiB) Downloaded 327 times
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests