All Projects → 3dreamengine → 3dreamengine

3dreamengine / 3dreamengine

Licence: mit
3DreamEngine is an *awesome* 3d engine for LÖVE.

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to 3dreamengine

Gplayengine
Cross-platform C++ 2D / 3D game engine.
Stars: ✭ 129 (+5.74%)
Mutual labels:  engine, 3d, 2d
Rg3d
3D and 2D game engine written in Rust
Stars: ✭ 2,998 (+2357.38%)
Mutual labels:  engine, 3d, 2d
Gamedev Resources
🎮 🎲 A wonderful list of Game Development resources.
Stars: ✭ 2,054 (+1583.61%)
Mutual labels:  engine, 3d, 2d
Creature godot
2D Skeletal Animation Creature Runtime for Godot Engine
Stars: ✭ 70 (-42.62%)
Mutual labels:  engine, 2d
Fheroes2enh
Free Heroes 2 - Enhanced
Stars: ✭ 115 (-5.74%)
Mutual labels:  engine, 2d
Bytepath
A replayable arcade shooter with a focus on build theorycrafting made using Lua and LÖVE.
Stars: ✭ 1,119 (+817.21%)
Mutual labels:  love2d, 2d
R1b
A thermal-printer-oriented, 1-bit graphics rasterizer for 2D and 3D
Stars: ✭ 29 (-76.23%)
Mutual labels:  3d, 2d
Starviewer
Starviewer, a cross-platform open source medical imaging software
Stars: ✭ 83 (-31.97%)
Mutual labels:  3d, 2d
Spatialmath Python
Create, manipulate and convert representations of position and orientation in 2D or 3D using Python
Stars: ✭ 78 (-36.07%)
Mutual labels:  3d, 2d
Doom Nano
A 3d raycast engine for Arduino
Stars: ✭ 86 (-29.51%)
Mutual labels:  engine, 3d
Opendiablo2
An open source re-implementation of Diablo 2
Stars: ✭ 10,057 (+8143.44%)
Mutual labels:  engine, 2d
Vulkan2drenderer
Easy to use 2D rendering engine using Vulkan API as backend.
Stars: ✭ 60 (-50.82%)
Mutual labels:  engine, 2d
Dgel
A WebGPU engine.
Stars: ✭ 60 (-50.82%)
Mutual labels:  engine, 3d
Vulkust
An engine for Vulkan in Rust, tries to implement modern graphic features. (suspended for now)
Stars: ✭ 64 (-47.54%)
Mutual labels:  engine, 3d
Sophus
C++ implementation of Lie Groups using Eigen.
Stars: ✭ 1,048 (+759.02%)
Mutual labels:  3d, 2d
Novelrt
A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
Stars: ✭ 81 (-33.61%)
Mutual labels:  engine, 2d
Supra
SUPRA: Software Defined Ultrasound Processing for Real-Time Applications - An Open Source 2D and 3D Pipeline from Beamforming to B-Mode
Stars: ✭ 96 (-21.31%)
Mutual labels:  3d, 2d
Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (+1033.61%)
Mutual labels:  engine, 3d
Mathc
Pure C math library for 2D and 3D programming
Stars: ✭ 504 (+313.11%)
Mutual labels:  3d, 2d
Korge
KorGE Game Engine. Multiplatform Kotlin Game Engine
Stars: ✭ 780 (+539.34%)
Mutual labels:  engine, 2d

3DreamEngine Discord server

Features

  • fast rendering with z-buffer and shaders
  • PBR rendering (albedo, normal, roughness, metallic, ao, emission)
  • Phong shading (color, normal, glossiness, specular, ao, emission)
  • HDR with bloom
  • screen space ambient occlusion (ssao)
  • cubemap reflections
  • proper blurred reflections on rough surfaces
  • particle batches
  • modular and extendable shaders
  • dynamic clouds, sun, moon, stars and rainbows
  • eye adaption effect
  • cascade shadow mapping
  • cubemap shadow mapping
  • smooth shadows
  • distance fog
  • wind animation (leaves, grass, ...)
  • supports .obj, .mtl, .dae and .vox
  • threaded texture loading with automatic thumbnail generation
  • threaded object loading using 3DreamEngine specific object files (converter included)
  • included optimized vec2, vec3, vec4, mat2, mat3 and mat4 library

screenshots

development

Due to rapid changes to 3Dream I am working on a seperate branch ("beta"). While this branch is faster and offers more and improved features, I am experimenting with it and may change how things work.

documentation

Undocumented features are subject to change. They will receive proper documentation once finished.

Documentation hosted on GitHub

How to use?

--load 3DreamEngine
dream = require("3DreamEngine")

--optionally set settings
dream:setBloom(3)

--inits (applies settings)
dream:init()

--loads a object
yourObject = dream:loadObject("examples/monkey/object")

--creates a light
light = dream:newLight("point", 1, 2, 3, 1.0, 0.75, 0.2)

--add shadow
light:addShadow()

function love.draw()
  --reset lighting to default sun
  dream:resetLight()

  --add light
  dream:addLight(light)  
  
  --prepare for rendering
  dream:prepare()  

  --rotate, draw and offset
  yourObject:rotateY(love.timer.getDelta())
  dream:draw(yourObject, 0, 0, -5)

  --render
  dream:present()
end

function love.update()
  --update resource loader
  dream:update()
end

Examples

We have examples in the examples folder. The provided main.lua contains a demo selection.

Credits

License (MIT/EXPAT LICENSE)

Copyright 2020 Luke100000 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].