VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A 3D engine primer/landscape/lighting effects

Erik Stites  (10 Submissions)   Graphics   VB Script   Intermediate   Wed 3rd February 2021

This example is kind of a compilation. It shows how to create a 3D view and allow you to rotate a solid cube. I also created a method to create landscape meshes from an image(voxel to polygon?). If 3D is not your thing, you may be able to use the landscape code to create a lighting effects tool similar to photoshop. Source is somewhat commented, Includes Back Face Culling; Lighting using Point lights in space; One single API to draw filled polygons. Please leave comments, questions, problems... vote if you like...

Assumes
It helps to have a basic understanding of 3D vectors and operations of.

API Declarations
Public Declare Function Polygon Lib "gdi32" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long

Rate A 3D engine primer/landscape/lighting effects (6(6 Vote))

Download A 3D engine primer/landscape/lighting effects

A 3D engine primer/landscape/lighting effects Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters