Game Development Community

Problem adding interiors

by Matthew Ruggiero · in Torque Game Engine Advanced · 10/20/2004 (8:33 am) · 9 replies

I converted the starter.fps from TGE.
Unfortunately, I had to remove all the interiors since I have not played around with map2dif yet.

What I thought I would do is try to put the orctower from the TSE demo into my mission.
It is there but it is not rendering correctly.
There are white and black dots dancing all over it. It looks something like z-fighting going on.
I am sure there is only one instance of it in the mission so there aren't two towers on top of one another. Also, I recalculated the lighting so that shouldn't be causing the problem.

Anyone have any ideas?

#1
10/20/2004 (8:41 am)
You need to add it to materials.cs.
#2
10/20/2004 (8:45 am)
I don't understand.

I copied the materials.cs, shaders.cs and glowbuffer.cs from the TSE demo and also I exec materials.cs and glowbuffers.cs in game.cs.
#3
10/20/2004 (11:30 am)
Add Material mappings for the textures used on the interior(could do it in materialmap.cs), then create a datablock in materials.cs, this should fix the rendering problem.
#4
10/20/2004 (11:41 am)
Yeah, sorry Matthew, I should have been more clear. Thanks for clearing that up, Westy :)
#5
10/20/2004 (3:31 pm)
Not a problem.

I appreciate the patience you have with me as I am very new to the whole Torque thing altogehter.
#6
10/20/2004 (4:08 pm)
Success.

Thanks for the help.

Unfortunately, when the orkbase is in view my framerate is terrible.
#7
10/20/2004 (4:31 pm)
What video card do you have?
#8
10/21/2004 (2:39 am)
At home I have a GeForce 6800 and at work a Radeon 9600XT
#9
10/21/2004 (6:35 am)
Is it one of the PS 2,0 shaders slowing you down, force 1.1 and check your framerate then.