home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2003 November
/
PCWK1103B.iso
/
DesignCAD 3D Max PLUS trial 30
/
DATA1.CAB
/
Example_Files
/
Sample_Macros
/
Set View.d3m
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
2003-09-29
|
339 b
|
16 lines
' This simple macro sets the viewer's position at the center of the screen,
' then enters the Set View command, so objects drawn can't be "lost" in 3D space.
'
xav = (Sys(120) + Sys(122))/2
yav = (Sys(121) + Sys(123))/2
zav = (Sys(124) + Sys(125))/2
>SetViewerPoints
{
<Pointxyz [xav, yav, zav]
}
>SetView
{
}