Recent Posts

Pages: 1 ... 7 8 [9] 10
81
GeeXLab - english forum / Re: How to use keyboard in ported Shadertoy demos
« Last post by JeGX on March 13, 2018, 04:16:38 PM »
Thanks for your work!
I added a new key.lua file in the libs/lua/ folder.  Will be shipped in the next update  ;)
82
3D-Tech News Around The Web / MagicaVoxel 0.99.1 released
« Last post by JeGX on March 13, 2018, 04:03:32 PM »
MagicaVoxel is a free lightweight 8-bit voxel art editor and interactive path tracing renderer.

Quote

0.99.1 - 3/12/2018

    Renderer (hidden menu)
        Atmospheric Scattering Skydome : Rayleigh/Mie scattering
        Bladed Bokeu : for large depth of field
        Stretched Bloom Filter
        Grids : can change Spacing, Width, and Color
        Field of View (FOV) : change range to : 1-360
        Fix some bugs : e.g. Bloom dark points
        more options are saved into file, format is changed as well
    Editor
        Align Objects in Editor
        New object is using last model size
        Fix importing files with unicode paths
        Add default export and snapshots folders in config


Link: https://ephtracy.github.io/index.html?page=mv_main


Examples:






More advanced examples:








Link: https://www.artstation.com/artwork/EPoa0
83
3D-Tech News Around The Web / Vulkan Hardware Capability Viewer 1.5 released
« Last post by JeGX on March 13, 2018, 03:53:15 PM »
Vulkan Hardware Capability Viewer is an application to display hardware implementation details for GPUs supporting the Vulkan API by Khronos.

Quote
-   Full Vulkan 1.1 support including subgroup operations properties
-   Support for new extensions:
        VK_KHR_push_descriptor
        VK_KHR_variable_pointers
        VK_KHR_16bit_storage
        VK_KHR_push_descriptor
        VK_KHR_sampler_ycbcr_conversion
        VK_KHR_shader_draw_parameters
        VK_KHR_maintenance3
        VK_EXT_conservative_rasterization
        VK_EXT_sampler_filter_minmax
        VK_EXT_blend_operation_advanced
        VK_EXT_sample_locations

- Vulkan Hardware Capability Viewer 1.5 Download (win64)
- Other downloads



84
3D-Tech News Around The Web / volk: a meta-loader for Vulkan
« Last post by JeGX on March 13, 2018, 03:40:15 PM »
Quote
volk is a meta-loader for Vulkan. It allows you to dynamically load entrypoints required to use Vulkan without linking to vulkan-1.dll or statically linking Vulkan loader. Additionally, volk enables loading Vulkan entrypoints directly from the driver which can increase performance by skipping loader dispatch overhead.

volk is written in C89 and supports Windows, Linux and Android.

Link: https://github.com/zeux/volk
85
3D-Tech News Around The Web / (GPU Mining) Inno3D P102-100 Crypto Mining Card
« Last post by JeGX on March 13, 2018, 03:35:16 PM »
Inno3D is about to released a graphics card for crypto-mining use only. The P102-100 Crypto Mining card is based on a Pascal P102 GPU and does not have output connectors.

Quote
Inno3D P102-100 Specifications:
– GPU: P102-100
– CUDA Cores: 3200
– Base Clock: 1582 MHz
– Memory Clock: 11 Gbps
– Physical Memory Size: 5 GB
– Memory Type: GDDR5X
– Memory Interface Width: 320-bit
– Memory Bandwidth: 400 GB/s
– Bus Support: PCIe Gen1 x4
– Card Size: 21.5 cm length, 12.5 cm height, dual slot
– Max TDP: 250 Watt
– Power Connectors: 2x 8-pin PCI-E


Source: http://cryptomining-blog.com/9529-nvidia-p102-100-crypto-mining-cards-are-coming-to-the-market/



86
GeeXLab - english forum / Re: How to use keyboard in ported Shadertoy demos
« Last post by stakov999 on March 13, 2018, 12:21:26 AM »
It seems to me there was a problem to use keyboard javascript code (i guess the translation wasnt done in the way i needed).
So i did another translation which works for me. It's  done with the string library from lua. It should be easier than the use than several variable "KC_SPACE  and KC_ESCAPE" because now one just need to do an iteration "for loop" on the "key" table to call whatever you want. Even if anyone want to reverse the table (make the index being the value and the value the index) it's possible from an for loop.  The complete key table is below.

hope it can be useful for someone
There are only a few key missing : the right CTRL key, and the right shift. Not a big deal, but if someone knows why it's missing, i'd be glad.


To use it : very easy : put it in a file .lua, like "key.lua" then put it in the libs/lua folder.
Then use "dofile".
Then I'm using the following code :


Code: [Select]
local lib_dir = gh_utils.get_scripting_libs_dir()
dofile(lib_dir .. "lua/key.lua")

local kbcode,state
gh_window.keyboard_update_buffer(0)


--KEYBOARD STATUS
for k,v in pairs(key) do
kbcode=k
for k1,v1 in pairs(key[k]) do
        if k1>1 then
        state=gh_input.keyboard_is_key_down(key[k][k1])
        end
end
if state==1 then text(kbcode,state,key[kbcode][1]) end
end


function text(keycode,status,str)
gh_imgui.text(string.format("%d_%d_%s",keycode,status,str))
end




Here the keyboard table mapping

Code: [Select]
key={}
key[8]={"backspace", 14 }
key[9]={"tab", 15 }
key[13]={"enter", 156,28 }
key[16]={"shift", 54,42 }
key[17]={"ctrl", 157,29 }
key[18]={"alt", 184,56 }
key[19]={"pause", 223 }
key[20]={"capital", 58 }
key[27]={"escape", 1 }
key[32]={"space", 57 }
key[33]={"pageup", 201 }
key[34]={"pagedown", 209 }
key[35]={"_end", 207 }
key[36]={"home", 199 }
key[37]={"left", 75 ,203}
key[38]={"up", 72,200 }
key[39]={"right", 77 ,205}
key[40]={"down", 80 ,208}
key[45]={"insert", 210 }
key[46]={"delete", 211 }
key[48]={"_0", 11 }
key[49]={"_1", 2 }
key[50]={"_2", 3 }
key[51]={"_3", 4 }
key[52]={"_4", 5 }
key[53]={"_5", 6 }
key[54]={"_6", 7 }
key[55]={"_7", 8 }
key[56]={"_8", 9 }
key[57]={"_9", 10 }
key[65]={"a", 30 }
key[66]={"b", 48 }
key[67]={"c", 46 }
key[68]={"d", 32 }
key[69]={"e", 18 }
key[70]={"f", 33 }
key[71]={"g", 34 }
key[72]={"h", 35 }
key[73]={"i", 23 }
key[74]={"j", 36 }
key[75]={"k", 37 }
key[76]={"l", 38 }
key[77]={"m", 50 }
key[78]={"n", 49 }
key[79]={"o", 24 }
key[80]={"p", 25 }
key[81]={"q", 16 }
key[82]={"r", 19 }
key[83]={"s", 31 }
key[84]={"t", 20 }
key[85]={"u", 22 }
key[86]={"v", 47 }
key[87]={"w", 17 }
key[88]={"x", 45 }
key[89]={"y", 21 }
key[90]={"z", 44 }
key[91]={"lwin", 219 }
key[92]={"rwin", 220 }
key[96]={"numpad0", 82 }
key[97]={"numpad1", 79 }
key[98]={"numpad2", 80 }
key[99]={"numpad3", 81 }
key[100]={"numpad4", 75 }
key[101]={"numpad5", 76 }
key[102]={"numpad6", 77 }
key[103]={"numpad7", 71 }
key[104]={"numpad8", 72 }
key[105]={"numpad9", 73 }
key[106]={"multiply", 55 }
key[107]={"add", 78 }
key[109]={"subtract", 74 }
key[110]={"decimal", 83 }
key[111]={"divide", 181 }
key[112]={"f1", 59 }
key[113]={"f2", 60 }
key[114]={"f3", 61 }
key[115]={"f4", 62 }
key[116]={"f5", 63 }
key[117]={"f6", 64 }
key[118]={"f7", 65 }
key[119]={"f8", 66 }
key[120]={"f9", 67 }
key[121]={"f10", 68 }
key[122]={"f11", 87 }
key[123]={"f12", 88 }
key[144]={"numlock", 69 }
key[145]={"scroll", 70 }
88
3D-Tech News Around The Web / NVIDIA Linux Graphics Debugger 2.3
« Last post by Stefan on March 10, 2018, 09:02:21 PM »
 
Linux Graphics Debugger is a 3D graphics development tool that allows developers to debug and profile OpenGL 4.x on Linux. It enables professional graphics developers to get the most out of their NVIDIA GeForce and Quadro GPUs on a variety of Linux distributions.
Supported Platforms:
- Ubuntu v14.04, v16.04
- Redhat 7.2
- Centos 7.4
- Fedora 25 (x64 only, Fedora 26 is not supported as of Linux Graphics Debugger 2.3)
Recommended NVIDA driver:
- 390.25 or later
For an overview and new features, see the Linux Graphics Debugger home page.
For important information about this release, see the Linux Graphics Debugger 2.3 Release Notes.
   More Information
89
“Retpoline” sequences are a software construct which allow indirect branches to be isolated from speculative execution.  This may be applied to protect sensitive binaries (such as operating system or hypervisor implementations) from branch target injection attacks against their indirect branches. 
The name “retpoline” is a portmanteau of “return” and “trampoline.”  It is a trampoline construct constructed using return operations which also figuratively ensures that any associated speculative execution will “bounce” endlessly. 

Read more...
90
GeeXLab - english forum / Re: Luajit for Linux
« Last post by stakov999 on March 09, 2018, 03:03:44 PM »
Thank you !
Let met know when you do it
Regards
Pages: 1 ... 7 8 [9] 10