Game Development Community

Terrain engine

by Matthew Shapiro · in Torque Game Engine · 08/23/2001 (2:14 am) · 4 replies

I'm currently looking for the code that loads the terrain and repeats it. MKy main problem tho is that by the way the terrain cc files are named, it's hard to tell. Can someone tell me which on it is in?

#1
08/23/2001 (9:08 am)
terrData.cc is the code that loads and manipulates all the terrain data. terrRender.cc does all the rendering, including the repeating. terrCollision.cc ... well, I'll let you guess what that one does :)
#2
08/23/2001 (1:19 pm)
thanks that helped =)
#3
08/23/2001 (1:39 pm)
Actully i have one more question. terrRender2.cc does that have a special function or is that just a continuation of terrRender.cc?
#4
08/24/2001 (7:56 am)
I'm also looking at the terrain engine.
I would like to make a simple viewer for .ter file (same things I did for .dts file).

For the moment I did not find :( a particular function to load .ter file... Does it exist, and if yes where ?

Only things I found when looking at the terraformer tools is that it retrieves the terrain from the mission currently running.

thx