Search found 3591 matches

by Jasoco
Sat Apr 23, 2022 8:02 pm
Forum: Support and Development
Topic: [Solved] Shader question: Getting current pixel x/y color from passed reference image
Replies: 6
Views: 2327

Re: Shader question: Getting current pixel x/y color from passed reference image

Unfortunately no they aren't what I need. It refuses to pass the current pixel coordinate as a value and just keeps passing 1.0, 1.0. No matter what I do. Here's some pseudocode. // This is the canvas being passed // The image would be basically some black and white pixels uniform Image DepthMap; ve...
by Jasoco
Sat Apr 23, 2022 4:26 pm
Forum: Support and Development
Topic: [Solved] Shader question: Getting current pixel x/y color from passed reference image
Replies: 6
Views: 2327

[Solved] Shader question: Getting current pixel x/y color from passed reference image

I know the title is really wonky. I don't know the lingo enough to know how to word it better. I have a really stupid problem I've been trying to figure out for hours now relating to shaders. So I have a DepthMap canvas and my main canvas. I use a shader to draw to the DepthMap canvas stuff in certa...
by Jasoco
Fri Apr 22, 2022 12:26 am
Forum: Libraries and Tools
Topic: Oysi's 3D Rendering & Physics Engine
Replies: 127
Views: 85818

Re: Oysi's 3D Rendering & Physics Engine

Doesn't seem like it's gonna happen now. It's been 8 years. For 3D you can use Groverburger's 3D engine. But for physics, I have no idea unless Oysi decides to come back here soon. They haven't posted since 2014.
by Jasoco
Fri Apr 22, 2022 12:22 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454174

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

Yeah! That works well enough.

But I have a really stupid problem I've been trying to figure out for hours now relating to shaders.

Edit: I've posted my own thread for this question. A solution was found.
by Jasoco
Wed Apr 06, 2022 3:20 am
Forum: General
Topic: LÖVE 11.4 - out now!
Replies: 51
Views: 225730

Re: LÖVE 11.4 - out now!

Another issue I'm having is when going into fullscreen (desktop) on macOS at least, and using the mouse capture feature love.mouse.setRelativeMode() it works, but the mouse isn't "locked" into place. Instead if I move it far enough to the edge of the screen, say the left side where my Dock...
by Jasoco
Tue Apr 05, 2022 10:00 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454174

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

Yep, the easiest way to achieve this is to change the camera's up vector, and make it point up and slightly to whatever direction you want to tilt. Something like: g3d.camera.up = {some vector here} g3d.camera.updateViewMatrix() Interesting but it seems to rotate the world itself instead of just th...
by Jasoco
Sun Apr 03, 2022 9:34 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454174

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

Question though: Is there a way to tilt the camera around the third axis? You can spin it around the Z (Turning) axis. Tilt it on the X (Looking up and down) axis. But how if possible, do you tilt it on the Y (Forward) axis? Is this possible officially? Or can it be easily implemented? I guess it wo...
by Jasoco
Wed Mar 23, 2022 4:26 pm
Forum: General
Topic: LÖVE 11.4 - out now!
Replies: 51
Views: 225730

Re: LÖVE 11.4 - out now!

The random performance could be a JIT issue. Note that 11.4 is the first version that includes LuaJIT 2.1. Random performance issues like the one you're reporting are common. On top of that, there's the extra memory taken by the JIT traces, and from what you're saying, that could be an issue at pla...
by Jasoco
Thu Mar 17, 2022 2:15 pm
Forum: General
Topic: LÖVE 11.4 - out now!
Replies: 51
Views: 225730

Re: LÖVE 11.4 - out now!

I'm having some weird memory weirdness with 11.4 on my 14" M1 MBP. It's hard to explain. First I'll set it up. I've been toying around with g3d, which does take up some memory to hold all the vertexes in the meshes. So yes I'm aware it's pretty much pushing Löve passed what it's supposed to do....
by Jasoco
Mon Mar 07, 2022 3:11 pm
Forum: Libraries and Tools
Topic: Love 2D with 3D
Replies: 11
Views: 12818

Re: Love 2D with 3D

This thread is so old. I wouldn't recommend trying to use this library now as it probably hasn't been updated.

I would look into Groverburger's 3D engine instead. It is amazing and makes 3D simple.
viewtopic.php?f=5&t=86350