Hi there,
I've recently discovered Love2D and I think that it looks perfect for my project but I just had one question - is there a good tutorial demonstrating how to setup a simple 3D Camera using the new 11.1 3D capabilities?
Many thanks
Love 11.1 Simple 3D Camera
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: Love 11.1 Simple 3D Camera
where does it say there are 3d capabilities?
or you are wanting raw 3d maths?
or you are wanting raw 3d maths?
-
- Prole
- Posts: 3
- Joined: Mon Jun 18, 2018 10:51 pm
Re: Love 11.1 Simple 3D Camera
Well for instance the set depth mode method: https://love2d.org/wiki/love.graphics.setDepthMode
I'm not looking to create a particularly advanced 3D camera, just to have a rotation on Z to look at the 2D world at an angle and follow the player then for the rest of the effects I plan to use shader tricks to create a kind of 2.5d popup effect (a bit like billboarding)
I'm not looking to create a particularly advanced 3D camera, just to have a rotation on Z to look at the 2D world at an angle and follow the player then for the rest of the effects I plan to use shader tricks to create a kind of 2.5d popup effect (a bit like billboarding)
Re: Love 11.1 Simple 3D Camera
Maybe this mini-demo helps? viewtopic.php?p=219345#p219345 It implements a Wolfenstein-like camera, i.e. a camera that always looks horizontally and can have any Z rotation.
Note the demo doesn't activate depth buffers or backface culling.
Note the demo doesn't activate depth buffers or backface culling.
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: Love 11.1 Simple 3D Camera
no thank you, i wasn't aware of this
i know it's against the design somewhat, but the api is just so beautiful
i know it's against the design somewhat, but the api is just so beautiful
-
- Prole
- Posts: 3
- Joined: Mon Jun 18, 2018 10:51 pm
Re: Love 11.1 Simple 3D Camera
Awesome thank you I'll take a look
Who is online
Users browsing this forum: Bing [Bot] and 5 guests