Search found 34 matches

by groverburger
Sun Feb 21, 2021 3:44 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

No, the w of a quaternion is not the angle! It's the real component, which for a quaternion representing a pure rotation (i.e. normalized), equals the cosine of half the rotation angle. The name of the function suggests that it accepts a quaternion, but an axis/angle rotation is not a quaternion, e...
by groverburger
Sat Feb 20, 2021 10:01 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

function model:setQuaternionRotation(x,y,z,angle) May I suggest to call it model:setAxisAngleRotation? I'd expect a true setQuaternionRotation to accept a quaternion, i.e. x,y,z,w (or w,x,y,z, depending on taste) instead of x,y,z,angle. This is a quaternion rotation either way, I just called the &q...
by groverburger
Sat Feb 20, 2021 10:54 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

Hey everyone, just released a new update - v1.3! Changes: - Added collision functions - Added basic quaternion rotation support - Matrices are now a class so they do not have be re-allocated every frame - Vectors no longer use tables so they do not have to be allocated to the heap - Fixed bugs where...
by groverburger
Tue Feb 16, 2021 11:49 pm
Forum: Support and Development
Topic: How to make a font glow?
Replies: 4
Views: 1734

Re: How to make a font glow?

The easiest way to achieve this effect would probably be with shaders. When drawing text, I would first draw the text with a blur or glow shader, and then draw the text normally on top of that. Moonshine is a helpful library of shaders, and it includes some glow and blur effects. Here's the link: ht...
by groverburger
Thu Feb 04, 2021 10:37 pm
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 33
Views: 29479

Re: Steamworks FFI

Ok, I have released an update to support the brand new version: Steamworks v1.51! I can confirm that this issue should be fixed on Linux. Can you pull the latest version and test it on Mac please. Just tested it on mac - seems to work! I got my "logged in successfully" message showing up ...
by groverburger
Sun Jan 24, 2021 12:19 am
Forum: Libraries and Tools
Topic: Steamworks FFI
Replies: 33
Views: 29479

Re: Steamworks FFI

Hey ivan, I got your Steamworks FFI to work on Windows perfectly, but on Mac I'm failing on assert(Steam.init()) only when I run the game fused as a .love file. EDIT: on further inspection, the failure seems to occur on line 59 of api.lua, api.lib.SteamAPI_Init() is not behaving correctly. Could the...
by groverburger
Sat Jan 23, 2021 10:54 am
Forum: Libraries and Tools
Topic: luasteam - SteamWorks API Integration
Replies: 12
Views: 19697

Re: luasteam - SteamWorks API Integration

using on a Mac, and I'm having an issue making a .love. Whenever I just drag and drop and run it in love by itself, it finds. the .so just fine (in the same directory as my .lua source files). But when I zip up and archive into a .love file, it can no longer find the .so. Not sure how to fix it, it...
by groverburger
Thu Jan 21, 2021 9:54 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

Hey-hey! Conf.lua really helped to fix the issue w/o changing *anything* inside the code of a test project or the demo one. And now I don't have to invert anything as well. HUGE thanks to both of you, 4vZEROv, groverburger! P.S. The 1.2 release doesn't contain the conf.lua, although it's in the rep...
by groverburger
Thu Jan 21, 2021 4:41 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

If there really is one on your system by default, then I'm 99% sure it's either a driver bug or a bug in LÖVE. I just checked, if I put in my conf.lua : t.window.depth = 16 then I don't need to draw on a canvas and g3d.camera.firstPersonLook(dx,-dy) is not reversed. I believe it's because a canvas ...
by groverburger
Thu Jan 21, 2021 12:12 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 91
Views: 116511

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

4aiman, glad you got it working! Thanks for your detailed post, too! The issue is that you don't set up a depth buffer in your code. You are calling setDepthMode, but that does nothing if there is no depth buffer. So any code that does not draw strictly back to front will have depth sorting issues. ...