Game Development Community

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.

www.drewfx.com/BRAVE/AIFlyingVehicle_Surface.JPG

#1
06/23/2008 (5:48 am)
Flight data recorder?

Sorry, couldn't resist.

What app/exporter did you use?
#2
06/23/2008 (6:08 am)
Haha! So that's where it went :)

I used the LW2DTS exporter.
#3
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.

www.dayofwar.net/images/har.jpg
#4
06/23/2008 (9:33 am)
Wow, thats a Kick butt Model, I could use that model. For my Artic Fox remake. :)
#5
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.
#6
06/23/2008 (6:23 pm)
16500 on the poly count.
A little high but like I said I never finished it.
#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
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
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