saschawillems
25c38e7312
Store and reuse pointer to mapped particle memory instead of mapping/unmapping each frame, refactoring
2016-03-17 20:28:07 +01:00
saschawillems
af6df4e860
Windows message loop fixes, added mouse wheel zoom
2016-03-17 20:20:43 +01:00
Dylan Baker
35275bf8ef
cmake: Add FindASSIMP.cmake
...
This find module addresses the problem raised by debian (non-sid) and
Ubuntu (and possibly other distributions) that don't install the cmake
config files.
This FindModule will try to use a config file, but will fall back to
using find_library if it can't.
It will unset any variables provided by the config that the find path
wont also expose.
2016-03-16 15:10:02 -07:00
saschawillems
e13f7c6e12
Pass image usage bits
2016-03-16 21:27:56 +01:00
saschawillems
08394eae30
Added particle fire example to cmakelists
2016-03-16 20:58:11 +01:00
saschawillems
62717ea021
Pass image usage flags to texture loader (2D image)
2016-03-16 20:27:33 +01:00
saschawillems
76d41fcd6d
Corrected image usage bits and descriptor types for compute storage images ( #76 )
2016-03-16 19:55:38 +01:00
saschawillems
598da3670e
Custom sampler for particle textures
2016-03-15 22:53:23 +01:00
saschawillems
e9784afba4
Added cpu based fire particle system (wip)
2016-03-15 22:38:32 +01:00
saschawillems
708bfeb6e5
Added simple mesh class
2016-03-15 22:22:07 +01:00
saschawillems
40ca99955b
Assests and shader for fireplace particle example
2016-03-15 22:10:43 +01:00
Sascha Willems
1d987dd040
Removed unnecessary undef (left-over from refactoring)
2016-03-15 14:01:35 +01:00
saschawillems
f053010a88
Added assets for fireplace particle example
2016-03-14 23:17:01 +01:00
Sascha Willems
386d708f9c
Merge pull request #81 from dcbaker/pr/fix-linux-cmake
...
Fix building on linux (and possibly on windows)
2016-03-14 21:34:49 +01:00
Dylan Baker
bc90df5a9b
CMakeLists.txt: use find_package for assimp on linux
...
assimp as an upstream provides a cmake-config file
(https://github.com/assimp/assimp/blob/master/assimp-config.cmake.in )
that can be used to in place of find library.
This may be usable on windows as well, but I don't have such a system to
test on.
2016-03-14 10:59:14 -07:00
Dylan Baker
b3218d5db8
CMakeLists.txt: Rename ASSIMP_LIB to ASSIMP_LIBRARIES
...
The latter name is used by the upstream cmake-config file, and will be
used in the next patch.
2016-03-14 10:57:42 -07:00
Dylan Baker
c6122adcda
CMakeLists.txt: Move libassimp.dll.a to windows side of if/else
...
This is a dll, and clearly meant for use on windows not on Linux.
2016-03-14 10:55:17 -07:00
saschawillems
7805130e7d
Updated API-Version to 1.0.5 and min. requirement to 1.0.2 ( Fixes #79 )
2016-03-13 17:25:22 +01:00
Sascha Willems
bddaaf13cf
Device info and frame rate display for linux,
...
fixed timer on linux
2016-03-13 17:15:44 +01:00
saschawillems
66607e2d2f
Added device name and frame rate counter to window title
2016-03-13 16:51:00 +01:00
saschawillems
af653e7bcf
Code cleanup
2016-03-13 16:19:03 +01:00
saschawillems
7719491f2c
Puss sub resource range with mip level count to image transition barriers
2016-03-13 16:17:40 +01:00
saschawillems
72e6cd8ee5
Fixed image layout transitions and initial layouts and command buffer submissions for offscreen examples
2016-03-13 16:04:39 +01:00
saschawillems
01f0a1a574
Set array layer and mip level count in texture loader, set initial layout to VK_IMAGE_LAYOUT_PREINITIALIZED ( Fixes #29 )
2016-03-13 14:23:23 +01:00
saschawillems
5c7394837d
Set array layer count on image barrier subresource, set initial layout to preinitialized ( #29 )
2016-03-13 14:03:45 +01:00
saschawillems
be57715bd6
Set array layer count on image barrier subresource, set initial layout to preinitialized ( #29 )
2016-03-13 13:55:04 +01:00
saschawillems
7b52dd7cc9
Added setImageLayout overload for passing image sub resource range, src access mask for VK_IMAGE_LAYOUT_PREINITIALIZED ( #29 )
2016-03-13 13:54:45 +01:00
saschawillems
a3ae911e27
Set mip level count on image barrier subresource, set initial layout to preinitialized ( #29 )
2016-03-13 13:03:04 +01:00
saschawillems
30fc2ae77b
Submit post present barrier after acquiring next swap chain image (old spot was wrong due to missing image ownership)
2016-03-13 12:17:57 +01:00
saschawillems
8107a0ace8
Added VK_IMAGE_ASPECT_STENCIL_BIT to initial depth stencil image barrier
2016-03-13 12:15:58 +01:00
saschawillems
9b198678da
Updated validation layer names to SDK 1.0.5
2016-03-13 12:15:00 +01:00
saschawillems
a65fa3483e
Updated Vulkan headers from SDK 1.0.5.1
2016-03-13 10:56:12 +01:00
saschawillems
e502785b1f
Frame rate independent animation updates
2016-03-11 20:09:12 +01:00
saschawillems
710ff2d511
Android application icon
2016-03-11 20:01:07 +01:00
saschawillems
4f5abb1ca7
Added frame timing functions to android base class
2016-03-11 19:38:23 +01:00
saschawillems
4c217cef21
Frame rate independent animation updates
2016-03-11 18:54:37 +01:00
saschawillems
73c11f6dba
Use dedicated render pass for offscreen frame buffer with matching attachment formats ( Fixes #68 )
2016-03-10 21:17:48 +01:00
saschawillems
3e8ce7f9d3
Add initializer VkRenderPassCreateInfo
2016-03-10 21:16:57 +01:00
saschawillems
15dac77a4c
Explicit LOD fetch in tessellation evaluation shader ( Fixes #71 )
2016-03-10 19:28:36 +01:00
saschawillems
4ac655d8c2
Moved to android base class, use wait and signal semaphores, renamed main for android mesh example
2016-03-09 21:47:20 +01:00
saschawillems
774d1f37bd
Use wait and signal semaphores, renamed main for android triangle example
2016-03-09 21:37:46 +01:00
saschawillems
ae185d8f2e
Use base texture loading code for android texture example, renamed main
2016-03-09 21:19:37 +01:00
saschawillems
72ff2a3866
Use base texture loading code for compute shader example, renamed main
2016-03-09 21:17:26 +01:00
saschawillems
575c5c2060
Moved texture loading code to android example base
2016-03-09 21:06:39 +01:00
saschawillems
93a9c5c627
submit setup command buffer and idle queue before destroying staging images
2016-03-09 20:29:31 +01:00
saschawillems
403d851d63
Force glm clip space to 0..1 ( Fixes #18 , Fixes #45 )
2016-03-08 21:52:40 +01:00
saschawillems
3ac12b5667
Updated to latest glm release, added glm license file
2016-03-08 21:46:55 +01:00
saschawillems
e77884d5bb
Use glm::radians instead of deg_to_rad ( Fixes #37 )
2016-03-08 20:59:25 +01:00
Sascha Willems
575cbdc341
Merge pull request #67 from Semmy13/fix-triangle-error-handling
...
Fix some error checks in triangle.cpp
2016-03-07 18:00:25 +01:00
Samuele Panzeri
0a431b6be5
Fixed a missed error return check and removed a redudant assert in VulkanExample::prepareVertices
2016-03-07 01:23:01 +00:00