SET OBJECT FOV This command will set the field of view for the object, useful when your artist wants an object rendered to a specific FOV value.
Syntax
    SET OBJECT FOV Object Number, FOV Angle
Parameters
    Object Number
Integer The object number
    FOV Angle
Float The fov angle too use
Returns
This command does not return a value.
Example Code
    sync on : sync rate 60 : hide mouse:cls 0:color backdrop 0

    fog on:fog color 0:set ambient light 50

    ObjectNumber=2:ImageNumber=2

    wire=0:trans=0:cull=0:fliter=0:light=0:fog=0:ambient=0

    set global object creation 0

    set dir "models"

    load object "ast4.x",ObjectNumber

    set object specular ObjectNumber,0

    rotate object ObjectNumber,270,0,0

    set dir ".."

    while mouseclick()<>2

    set cursor 0,0

    SET OBJECT FOV ObjectNumber,90

    if mouseclick()=1 then yrotate object ObjectNumber,wrapvalue(object angle y(ObjectNumber)+1)

    sync

    endwhile

    while mouseclick()=1:endwhile

    delete object ObjectNumber

    for t=2 to 10:delete image t:next t

    for t=11 to 16:delete image t:next t

    delete image 21

    end
See also
BASIC3D Commands Menu Index