pcshow(data.worldPoints,'VerticalAxis','Y','VerticalAxisDir','down', ...
'MarkerSize',30);
hold on
plotCamera('Size',10,'Orientation',worldOrientation,'Location',...
worldLocation);
hold off

In other words, the sample code generates the illustrated output. When the camera Orientation and Location are known, how can I make an image of what camera sees? Assuming that there are textured meshes in the scene as well.