One way to do this
I found out that the following works with any kind of picture extension.
pic = viz.addTexture( '20150716_113030.jpg' )
quad = viz.addTexQuad()
quad.setPosition([x,z,y])
quad.setSize([width,height])
quad.setEuler([270,0,0])
quad.texture(pic)
The setEuler() part is if you want to turn the picture around.
|