Black cube generated from materials on AIFlyingVehicle
by Andy Hawkins · in Torque Game Engine Advanced · 06/23/2008 (5:21 am) · 11 replies
When I started applying a material to my harrier this black cube appeared. What is it? An artifact? It's not part of my original mesh.
There seems to be some correlation between this being there when applying a material.cs file to the AIFlyingVehicle and the material not working unless there is another object in the scene with the same material applied.

There seems to be some correlation between this being there when applying a material.cs file to the AIFlyingVehicle and the material not working unless there is another object in the scene with the same material applied.
#3
I assume the box doesn't show up in the showtool?
On a side note , I had worked on a harrier model a while back before I decided to go with a space shooter and don't need it any more.
Never finished it. Your welcome to it if you want it.
06/23/2008 (9:08 am)
Never used LW.I assume the box doesn't show up in the showtool?
On a side note , I had worked on a harrier model a while back before I decided to go with a space shooter and don't need it any more.
Never finished it. Your welcome to it if you want it.
#4
06/23/2008 (9:33 am)
Wow, thats a Kick butt Model, I could use that model. For my Artic Fox remake. :)
#5
Ah yeah, the black box doesn't appear in ShowTools.
Interestingly I found that if I used a texture state, specifically translucent = true for the glass, I had to explicitly turn it off in the next material otherwise that would be transparent as well. It seems that texture states are persisted for the duration of a materials.cs file regardless of there being seperate definitions in one file - a gotcah I suppose.
06/23/2008 (4:20 pm)
Heh heh - that'd be right - I sat down last nite to do the final pass on my harrier. Guess I shouldn't waste my work - so thanks anyway. How many poly's by the way?Ah yeah, the black box doesn't appear in ShowTools.
Interestingly I found that if I used a texture state, specifically translucent = true for the glass, I had to explicitly turn it off in the next material otherwise that would be transparent as well. It seems that texture states are persisted for the duration of a materials.cs file regardless of there being seperate definitions in one file - a gotcah I suppose.
#7
06/24/2008 (8:12 am)
Andy, could you post the contents of your Material file? That sure sounds like a bug to me if you've written your materials correctly.
#8
www.drewfx.com/BRAVE/bac_av8b.rar
Kinda working - but black cube still appears.
06/24/2008 (8:21 am)
Here the lot...www.drewfx.com/BRAVE/bac_av8b.rar
Kinda working - but black cube still appears.
#9
06/24/2008 (9:44 am)
...
#10
06/24/2008 (1:26 pm)
The cube is in approximately the spot helpers are created; base01, start01, etc. Double check your dump file, I'll bet you're exporting a dummy node of some type, and it's showing as black...
#11
also FGE sample is a best sample for this class that usefull for me.
My email:moj.heidari@yahoo.com
11/13/2012 (3:19 pm)
I need AiFlyingvehicle class but not found.the download link for this class broken.anyone can help me and send to me this class?also FGE sample is a best sample for this class that usefull for me.
My email:moj.heidari@yahoo.com
Torque Owner Bill Vee
DayOfWar Studios
Sorry, couldn't resist.
What app/exporter did you use?