Here is a short starter program. Please Excuse the mess.
It has lots of commented out lines still left in.
http://www.mnsi.net/~hwlenter/OutDoors.zip
I will seek to explain sections later.
To move around use the mouse buttons for
forward and backward movement.
Also the keys q w e set movement speeds.
I am only using 2 types of trees for now.
The trunk is a seperate Mesh from the Leaves.
I check for collision with the trunk not the leaves.
When you stop for awhile the scene is drawn Far into the
distance, as soon as you start moving it renders short distance. Also only items in view are being rendered,
those not in view are hidden.
Holding down Q button makes you keep speeding up, to see
how fast you can really move. The E key is for very slow
movement so you can look at things carefully.
The W key puts things back to a normal walking speed.
The A key is for going higher over the scene, and
The Z key is for going lower in the scene.
Your framerate and other info is displayed top left corner.
Right Mouse Button is forward, Left is Backwards movement.
It has lots of commented out lines still left in.
http://www.mnsi.net/~hwlenter/OutDoors.zip
I will seek to explain sections later.
To move around use the mouse buttons for
forward and backward movement.
Also the keys q w e set movement speeds.
I am only using 2 types of trees for now.
The trunk is a seperate Mesh from the Leaves.
I check for collision with the trunk not the leaves.
When you stop for awhile the scene is drawn Far into the
distance, as soon as you start moving it renders short distance. Also only items in view are being rendered,
those not in view are hidden.
Holding down Q button makes you keep speeding up, to see
how fast you can really move. The E key is for very slow
movement so you can look at things carefully.
The W key puts things back to a normal walking speed.
The A key is for going higher over the scene, and
The Z key is for going lower in the scene.
Your framerate and other info is displayed top left corner.
Right Mouse Button is forward, Left is Backwards movement.