Doug Moen
Doug Moen
@p-e-w: "This complicates the code a bit, but can be worked around." I added `count(list)` to the geometry compiler. What other features are missing that you need for this program?
It doesn't work, but the error message is wrong. So I fixed the error message. It now says: ``` ERROR: Geometry Compiler: at field .dist: can't index a 2D array...
You can now write `faces[i,j,k]` and get back a number. Matrix multiplication is not yet supported by the Geometry Compiler. I consider this important; I just haven't got around to...
GLSL doesn't have pointers, but you can simulate them with integers. A common polyhedron representation is two arrays. `vertexes` is a list of vertexes, and `faces` is a list of...
I can fix this. I am thinking of two alternatives. Once I dive into the code, I'll see which is more practical. 1. Modify the compiler so that `count(faces[i])` works...
I like your proposal. @sebastien has asked for a related feature. I don't want to put view parameters inside of a shape. As you say, they don't belong there, and...
At this point, all of the command line options for configuring the viewer window can now be specified using Curv code in the configuration file `~/.config/curv`. Here is the current...
@sebastien I think that defining a renderer in Curv will require extensions to the compiler to generate more appropriate GLSL code. It makes sense to do this work first. Consider...
I added an optional `render` field to the Shape record. This contains rendering parameters, which at present can be any of the following: * aa = supersampling factor for antialiasing,...
There is a new render parameter called `shader`. It defaults to `#standard` (which is the old behaviour), but if you set it to `#pew`, then you get the shader that...