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.
da447m
Let me call here a "mesh" a set of points, with a set of texture coordinates and indexes. Let's sa…
»
da447m
Basically I'm writing a little program making the platonic solids. I can reuse the shader for any …
»
da447m
Camera movement is basically the same stuff. It is the view matrix transform. But it needs to have…
»
Simon Anciaux
For the GLM function you still need to do the transformation in the opposite order for the model (…
»
da447m
ok so finally this solved the problem, the order of the matrix multiplication for objects/models h…
»
da447m
BTW actually trying to answer your question: idk how any of this works, I'm using gut feeling, ant…
»
da447m
thtaq's kinda garbage I left there trying out things, actually I should pass the identity matrix t…
»
Mārtiņš Možeiko
What exactly your transform() function is supposed to do? It creates translation matrix T, then mu…
»
da447m
So I got to the opengl point and then decided to get Anton's opengl tutorials. I get most of it an…
»
Christoffer Lernö
Recently C3 lost its $checks() function. It would take any sequence of declarations and expression…
»
paulbarrick
Running RemedyBG with the arguments "-g" and "-q", and a exe file name will automatically start th…
»
Simon Anciaux
But then, when I change some API, I need to change it for all affected projects, otherwise they do…
»
escalioth
I started pulling the common code I use in my different projects, and it's slowly becoming my own …
»
x13pixels
I added an "Auto Load" option that will be available in the next release to allow toggling the beh…
»
NominallyNil
The changes for 0.3.9.0 have "No longer automatically reload text file while in the middle of a de…
»
Mārtiņš Možeiko
fwidth(pos) is fine, as long as pos is "varying" (in old GLSL terminology) - interpolated across t…
»
Flyingsand
I didn't know about these functions. Thanks! It felt a bit weird passing in those values I came up…
»
Mārtiņš Možeiko
Don't bother with using output target width/height for this. Instead use fwidth(). Assuming you ha…
»
Flyingsand
I finally got AA working for primitives in the fragment shader! I've wanted to add this for awhile…
»
Mārtiņš Možeiko
If you want to get MSVC compiler without IDE, then yes - you can install just the Build Tools whic…
»
Mór
I have Windows 11 and am wanting to do the same as the OP. The comments above say Build Tools. Is …
»
Mārtiņš Možeiko
_MM_SHUFFLE(a,b,c,d) is macro that gets 4 arguments, each 2 bit value, and calculates (a<<6)|(b<<4…
»
longtran2904
What is the _MM_SHUFFLE doing? The intel intrinsic guide says it is the control bit, but what does…
»
Mārtiņš Možeiko
_mm_shuffle_epi32 intrinsic, pshufd instruction. If you use intrinsics, then you don't worry about…
»
longtran2904
So does the shuffle happen on another register, or the same register? What instruction can do that…
»
Mārtiņš Možeiko
Shuffle top 64-bits down to low 64-bit, then add to original register.
»
longtran2904
I'm pretty new to the Intel intrinsics, so is there any intrinsic for doing ops between lanes of a…
»
david0
I see it made it really clear. Thanks for the answer.
»
Mārtiņš Možeiko
In Doom/Quake games this is done to allow making different games. Main executable is the engine pr…
»
david0
Also may I ask about the architecture. I don't know how much you know about doom 3's source code b…
»