README.md

December 5, 2022 ยท View on GitHub

Perspective 3D object Viewer (small bug fix)

Description

This is a 3d object viewer (object files included) that renders at relatively high speed for pure vb. The viewer is well made but the class is a well commented masterpiece. It can rotate, move, and scale the objects, order their polygons with quicksort (Z Ordering), and render in points, wireframe, or solid stlyes. It also implements basic lighting effects and backface removal. Comments are appreciated.

More Info

Submitted On2004-08-26 21:50:02
ByJ ATT
LevelIntermediate
User Rating5.0 (30 globes from 6 users)
CompatibilityVB 5.0, VB 6.0
CategoryGraphics
WorldVisual Basic
Archive FilePerspectiv1786548272004.zip

API Declarations

Private Declare Function CreatePen Lib "gdi32" (ByVal nPenStyle As Long, _
  ByVal nWidth As Long, _
  ByVal crColor As Long) As Long
Private Declare Function CreateSolidBrush Lib "gdi32" (ByVal crColor As Long) As Long
Private Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, _
  ByVal hObject As Long) As Long
Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Declare Function Polygon Lib "gdi32" (ByVal hdc As Long, _
  lpPoint As POINTAPI, _
  ByVal nCount As Long) As Long