Previous Up Next

13.2.3  Viewing images

Xcas can display images in rectangles in two-dimensions or on surfaces in three-dimensions with the gl_texture property of the object.
Input:

rectangle(0,200,1/2,gl_texture="picture.jpg")

Input:

sphere([0,0,0],1,gl_material=[gl_texture,"picture.jpg"])

Previous Up Next