![]() Implementation note: The core glTF specification does not define size and style of point or line primitives at this time. This might be more appropriate for the WebGL extension.Īdding a fixed 1px-width requirement to the spec is OK with me, but feels more appropriate as an implementation note so that applications are still "conformant" if they choose to do something more appropriate (because there is often something more appropriate for a given context). So, I'd rather not add point/line size properties to the specification just for the sake of having something to enforce, if applications are not likely to use it. Cesium users probably want point size based on distance from camera, etc. WebGL users are probably using these as inputs to custom shaders, or convert line primitives to mesh-based lines. But practically, 1px line widths and square, distance-agnostic points are not likely to be broadly used. ![]() ![]() However, the only consistent thing we could put into the specification here would be 1px line widths and N-px (square) points. There is a tension here - we prefer consistent implementations, and we've been careful to ensure consistency for PBR materials (which are broadly used). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |