We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Simon Anciaux —
Just adding this recent blog post from Matt Pharr that talks about uniform float pseudo random num…
»
Simon Anciaux —
Thanks. Do you know of a good place to find Clang flag list with descriptions of what they do ? Ed…
»
Oliver Marsh —
Not sure if this adds anything than what’s been suggested, it’s a text editor (very basic) tha…
»
Mārtiņš Možeiko —
I'm aware only of clang's -Wdouble-promotion warning for this. Don't think others have any warning…
»
Mārtiņš Možeiko —
It will work fine in this case. It won't work fine if you have virtual methods - because that mean…
»
Simon Anciaux —
While I was testing a floating point to string function, I initialized a double variable with a fl…
»
longtran2904 —
So what will happen if I do base = derived; in clang? It's the first option. If Base has any paddi…
»
Mārtiņš Možeiko —
Which part? Relying on specific offsets? Yes.
»
longtran2904 —
So is this considered undefined behavior?
»
Mārtiņš Možeiko —
You are correct, yes it is 16. Because clang decided to not have padding at end of base class. Wha…
»
Robert W. Childress —
Thank you for the suggestion! I had not heard of a structured buffer, so I may give that approach …
»
Simon Anciaux —
Thanks for letting me know.
»
longtran2904 —
For some reason, clang said sizeof T is 16, or am I reading it incorrectly
»
Mārtiņš Možeiko —
It's the first option. If Base has any padding, the Derived type will include it's padding members…
»
longtran2904 —
I asked it because I was wondering what C++ inheritance is like? Does the derived class have a cla…
»
JPereira —
I joined discord and asked. Allen answered me this: "I am not currently developing 4coder. But I i…
»
Dawoodoz —
People just didn't call them GPUs before 3D acceleration, just referred to them as graphics cards.…
»
Dawoodoz —
It was both lectures and projects, but the project was the biggest part. Many students had to face…
»
Tobias Wolf —
Okay, that project really is overwhelmingly large when just looking at it. I'm really wondering ho…
»
Mārtiņš Možeiko —
Imho, D3D11 is way better API. Look for D3D12 and Vulkan only if you are CPU bottlenecked for your…
»
longtran2904 —
Thanks for sharing your experience! I remember writing games using the DirectDraw API, when graphi…
»
Dawoodoz —
The Python project was about optimizing the interpreter to go faster, just so that we would unders…
»
Dawoodoz —
In my framework, I separate saving and loading of byte buffers from parsing and generation of thei…
»
Mārtiņš Možeiko —
Can someone summarize or point me to some great resources about the history of other APIs? If you …
»
Mārtiņš Možeiko —
Alternative to vertex/index buffer is to use StructuredBuffer (SSBO in OpenGL). Have something lik…
»
Dawoodoz —
I remember writing games using the DirectDraw API, when graphics cards had hardware acceleration, …
»
Robert W. Childress —
This makes sense! Especially the single texture with all the characters in it, and UV mapping to q…
»
Dawoodoz —
If you prefer working with pixel shaders, another way is to store the character's UV offsets in a …
»
Simon Anciaux —
The typical way to render text is to create a single texture with all the characters pre-rendered …
»
Simon Anciaux —
It worked for me by using the link directly in the discord application (Add a server on the left,…
»