I have checked in improvements to #VulkanScneneGraph shader composition support so that now a range of shader variants can be pre-compiled to SPIR-V and built as part of the library itself:

github.com/vsg-dev/Vulkan…

This can mean no more loading and compiling shaders at runtime!
Shader composition might at first seem like another layer of complexity on top of GLSL shaders, but it actually makes shader and C++ code management easier once you understand how to use it.

To explain the improvements I've started a thread on vsg-users:
groups.google.com/g/vsg-users/c/…
The #VulkanSceneGraph uses the #pragma(tic) shader composition approach that I developed as part of the #OpenScenegraph project, allow apps to inject #define into shader compilation

This text.vert shader illustrates use of 3 different #defines:
github.com/vsg-dev/vsgExa…
The #VulkanSceneGraph takes the concept further adding a ShaderSet class that provides introspection interface so that C++ programs can query the supported arrays and uniforms and their layouts:

github.com/vsg-dev/Vulkan…
When constructing a scene graph applications can use the vsg::ShaderSet to guide the arrays, uniforms, textures and optional code path in the shaders they can use and select the appropriate pre-compield SPIR-V shader variant required to achieve the desired rendering.
In the case of Text rendering we need just 4 variants, but to render all the #glTF sample dataset with Physics Based Rendering we need 28 different variants!

Here's the vsgdynamicload example loadin all the .glb's in the sample dataset, all handled by one "uber" PBR ShaderSet:

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Robert Osfield

Robert Osfield Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @RobertOsfield

Oct 25
@Reuters article on #Toyota talks of a possible reboot of it's EV strategy because it's present mixed EV/ICE manufacturing strategy just can't compete with Tesla lower cost pure EV platform. reuters.com/business/autos…
To compete you have to make a compelling product and to make it at volumes and costs that are profitable.

Right now Toyota is loosing at all 3 when competing with Tesla, and Toyota's tactic of delay and FUD to slow BEV growth hasn't worked sufficiently to stop them breaking out.
Waking up to the realization that they can't put the BEV genie back in the bottle is progress, but they actually have to come up with a compelling and profitable BEV product line.

Cancelling BEVs they currently have in development and to restart from scratch is likely too late.
Read 7 tweets
Oct 22
@AlefAeronautics debut a novel Flying Car, aim for it to be capable of VTOL so capable of flying without needing a runway.

Personally I think even it works it'll neither make a good car, or a good aircraft, but then I've yet to see any design that might be good at both.
@AlefAeronautics This is the launch video (with fixed audio as the original launch video had screwed up audio) :



Even without the original audio fail the presentation still doesn't inspire much confidence there will be a vehicle on sale in 2025.
@AlefAeronautics The problem with these Flying Car projects they are trying to solve a problem that other vehicles solve it better.

Dedicated #eVTOL will be around by 2025, and will be faster and have better range.

And we'll have #robotaxi by 2025 so the need for owning a car will diminish.
Read 4 tweets
Dec 30, 2021
Bosch’s chief executive Volkmar Denner said “We need combustion engines. We need to build combustion engines. We need to have them on the road, And that’s a fact.”

"We" being Bosch, fact is rest of humanity need to get away from combustion engines ASAP.
ft.com/content/924758…
The status quo coupling between Profits and Pollution needs to inverted.

The likes of Tesla show that it's possible to increase profits without causing life long pollution from use of it's products.

The likes of Bosch execs try to tell us that's not possible nor desirable.
The ICE advocates are claiming we need to keep investing in them to achieve improvements to solve the climate crisis. But at best it'll be a couple of % reduction in emissions.

Compare to moving to existing BEV tech, it'll be 75+% reduction in emissions.

It's not even close.
Read 8 tweets
Dec 29, 2021
Sounds like Hyundai are going all in on electric drivetrains:

"Hyundai Motor Co., the group’s larger carmaker, closed its engine development division at its research and development center, according to industry sources on Dec. 23. "

kedglobal.com/newsView/ked20…
And... "has fallen short of virtually every target they had for fuel cell vehicles. Production and sales are lower than expected, cost is falling slower than expected, infrastructure is being built slower than expected, and hydrogen fuel prices are higher"
electrek.co/2021/12/29/hyu…
We should expect quite a bit of consolidation around pure Battery Electric Vehicles in the next few years as traditional car markers respond to shrinking market share of ICE vehicles.

First to go will be Internal Combustion Engine R&D, then costly distractions like Hydrogen.
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(