VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A 3D engine primer/landscape/lighting effects

by Erik Stites (10 Submissions)
Category: Graphics
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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

Download A 3D engine primer/landscape/lighting effects

Download A 3D engine primer/landscape/lighting effects (8 KB)

A 3D engine primer/landscape/lighting effects Comments

No comments have been posted about A 3D engine primer/landscape/lighting effects. Why not be the first to post a comment about A 3D engine primer/landscape/lighting effects.

Post your comment

Subject:
Message:
0/1000 characters