- Kaunas, Lithuania
- https://aras-p.info/
- Joined on
2022-01-20
Did you check if it has any measurable impact on the render time of VSE edits you have?
It does not. Both forms of bilinear sampling are pretty much the same performance, and the "walk 4…
Ah, I see, this array is directly copied into the GPU vertex buffer. Ignore me then!
"Red Green Blue" as a UI label feels a bit weird. Maybe "RGB" or "Color" instead?
Given that vecscope_rgb
always uses the same single value for the alpha component of each point, would it be worth changing it to allocate 3 floats per sample instead of 4? Would save some memory, and at draw time could just fetch the alpha from vecscope_alpha
field.
Should the inner circles also use circle_draw_rgb
machinery, instead of immediate mode?
Minor: not sure why color names are array of 4 characters each, when they are all a single char. Maybe change them to not be strings at all, and make vectorscope_draw_target just take a single char for the letter? (and internally have a char[2]
buffer for passing to font drawing functions)
@pablovazquez should I put the same visual look into VSE vectorscope? (I think that would be good to do)
So far to me it's not clear what are you after, actually. Are you after being able export curves as Beziers? Or after exporting surfaces/meshes as some sort of spline (e.g. NURBS) representation? …