You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
equality and inequality tests for GOM object wrappers
make metaclass wrapper inherit python object so that issubclass works with GOM objects
xxx = XXX(args) instead of xxx = XXX.create(args) (done in Python, not yet in Lua)
JAX interop
split python_interpreter.cpp, separate vec/mat interop
iterators
make gom interpreter inherit python module so that we can import gom.xxx from gom (in fact did it differently, by overriding gompy's __getattr__ and declaring sub-stuff that i wanted to make inportable in global module table)
a GOM mechanism for graphic object attributes, or set_color, set_mesh_color, set_mesh_width etc... slots in shader
How it works now: there is no special mechanism, uses conversions from string and to string.
What we would like it to do:
write: mesh.shader.mesh_style.width = 5 mesh.shader.mesh_style = '0.5 0.5 0.5 1.0;5' --backward compat mesh.shader.mesh_style = { {0.5,0.5,0.5,1.0}, 5 } --from table Not yet, we shall see later...
read: x = mesh.shader.mesh_style.width print(mesh.shader.mesh_style)
implement MetaBuiltinStruct and MetaStruct
register meta information for PointStyle, MeshStyle, SurfaceStyle, ColormapStyle
AnyandArgListas argumentsNL::Vectorimprovements:NL::Vectorcloser to numpy arraysNL::Vectorissubclassworks with GOM objectsxxx = XXX(args)instead ofxxx = XXX.create(args)(done in Python, not yet in Lua)__getattr__and declaring sub-stuff that i wanted to make inportable in global module table)mesh.shader.mesh_style.width = 5mesh.shader.mesh_style = '0.5 0.5 0.5 1.0;5' --backward compatmesh.shader.mesh_style = { {0.5,0.5,0.5,1.0}, 5 } --from tableNot yet, we shall see later...x = mesh.shader.mesh_style.widthprint(mesh.shader.mesh_style)MetaBuiltinStructandMetaStructPointStyle,MeshStyle,SurfaceStyle,ColormapStyleStructPropertyRef