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
Currently if a RenderGeometry is being generated and the SurfaceColour Texture is assigned a bitmap texture and the geometry of the RenderGeometry is a mesh, no texture is displayed on the object. After some digging, found that this is due to the mesh converted from BHoM is lacking TextureCoordinates for how to map the texture to the mesh.
Need to add a call to assign those texture coordinates for the display mesh in rhino. A simple box mapping in world coordinates I think is a good enough place to start for this general case, and if we in the future want more control over this, I think we need to add a new class in the Graphics_oM with more properties able to handle this.
as a note, this is only an issue for RenderGeometries with Mesh as geometry. If assigning a surface, the texture mapping is handled automatically by rhino when generating the display mesh.
The text was updated successfully, but these errors were encountered:
Description:
Currently if a RenderGeometry is being generated and the
SurfaceColour
Texture is assigned a bitmap texture and the geometry of theRenderGeometry
is a mesh, no texture is displayed on the object. After some digging, found that this is due to the mesh converted from BHoM is lackingTextureCoordinates
for how to map the texture to the mesh.Need to add a call to assign those texture coordinates for the display mesh in rhino. A simple box mapping in world coordinates I think is a good enough place to start for this general case, and if we in the future want more control over this, I think we need to add a new class in the Graphics_oM with more properties able to handle this.
as a note, this is only an issue for RenderGeometries with Mesh as geometry. If assigning a surface, the texture mapping is handled automatically by rhino when generating the display mesh.
The text was updated successfully, but these errors were encountered: