Trivial simple OpenGl working example

Виталий Фадеев vital.fadeev at gmail.com
Sat Jul 10 12:41:19 UTC 2021


On Saturday, 10 July 2021 at 08:36:07 UTC, Danny Arends wrote:
> On Thursday, 8 July 2021 at 13:51:51 UTC, Виталий Фадеев wrote:
>> Hi!
>>
>> I searching trivial simple D/OpenGL working in 2021 year 
>> example.
>>
>> It may be triangle.
>> It may be based on any library: SDL, GLFW, Derelict, etc.
>>
>> Can you help me ?
>
> OpenGL is being replaced by vulcan, just to plug my little 
> project:
>
> http://github.com/DannyArends/CalderaD
>
> Pretty beafy, but well vulkan is a lot more verbose compared to 
> OpenGL

Thank, Danny Arends! I see you.

I got error:

# glslc app/src/main/assets/data/shaders/wavefront.vert -o 
app/src/main/assets/data/shaders/vert.spv

# glslc app/src/main/assets/data/shaders/wavefront.frag -o 
app/src/main/assets/data/shaders/frag.spv

# dub
Performing "debug" build using /usr/bin/dmd for x86_64.
bindbc-loader 0.3.2: target for configuration "yesBC" is up to 
date.
bindbc-sdl 0.21.4: target for configuration "dynamicBC" is up to 
date.
calderad ~master: building configuration "default"...
Running pre-build commands...
/bin/sh: 1: glslc.exe: not found
Command failed with exit code 127: glslc.exe 
app/src/main/assets/data/shaders/wavefront.vert -o 
app/src/main/assets/data/shaders/vert.spv




More information about the Digitalmars-d-learn mailing list