Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				@Mr-Myrk I really don't know what to call it properly... it takes vertices from an OBJ file and plots them in sudo 3D space 🤷♂️
- 
				
				Is this similar to what you're looking for?
 https://math.stackexchange.com/ques...
- 
				
				@cmarshall10450 that might actually work, great cheer! never would've thought to look in math part of stack exchange
- 
				
				@cmarshall10450 thanks a lot for that answer, matrix multiplication was a TON easier than I imagined, but works like a charm... cheers!
- 
				
				@hamolicious no problem. I'm glad I could help. I struggled with that when I was learning lwjgl. 3d projection will come in very handy if you want to add shaders
- 
				
				@hamolicious I'm not sure how experienced you are with this but this playlist might help https://youtube.com/playlist/...
 
 It's for lwjgl but the ideas are the same. Episode 8 is probably what you're looking for just now.
- 
				
				@cmarshall10450 well this was my first project in this field, but those videos (haven't watched them yet) look really, cool... Ill have a look, cheers!
Related Rants






 No questions asked
No questions asked As a Python user and the fucking unicode mess, this is sooooo mean!
As a Python user and the fucking unicode mess, this is sooooo mean!
 I just started working on a little project to browse devrant from terminal. It converts images to ascii art!
I just started working on a little project to browse devrant from terminal. It converts images to ascii art!
I just finished my first commit of "3D Rendering Engine" <-- Best way I can call it I think.
QUESTION:
If I have a list of nodes with x, y, z values that I am projecting to a 2D plane, how would I rotate the whole list around the top (y) axis?
I am using python
If you are interested, here's the GitHub Repo:
https://github.com/hamolicious/...
question
python