Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nuke on December 22, 2006, 12:59:36 am

Title: invisible textures and rendering
Post by: Nuke on December 22, 2006, 12:59:36 am
with all this animation stuff, if found a need to use little invisible cubes with an invisible texture applied for pivot points, so that child objects of that cube may inherit its motion. im using alot of them, so will theese things slow up the rendering?
Title: Re: invisible textures and rendering
Post by: Bobboau on December 23, 2006, 05:27:46 pm
nope,

not to any degree worth worrying about, it prety much see's there is no texture and goes, screw that noise, and move on to the next object, there is a small amount of over head involved with takeing care of offsets and orientations and the like, but it's nothing to realy worry about especaly because that is exactly what you are trying to use them for.

if you make sure to use the no colide invisable flag you also can probly not wory about them getting blown up.

you should also consiter the use of two lights glued together, that would be a slightly more elequient solution to your problem.
Title: Re: invisible textures and rendering
Post by: IPAndrews on December 24, 2006, 06:00:56 am
you should also consiter the use of two lights glued together

Cool. That used to crash the game engine  ;7. So many options now thanks to you guys.
Title: Re: invisible textures and rendering
Post by: Bobboau on December 24, 2006, 12:42:24 pm
I remember trying that once and it worked...
Title: Re: invisible textures and rendering
Post by: Getter Robo G on December 24, 2006, 01:24:24 pm
Bob,  You know for Trek I do the "invisible Cube" thing extensively for 99% of the cap ships (they fire from the weapon textures flush on the hull and thus need ability of being destroyed).

http://i22.photobucket.com/albums/b321/Star-Dragon/rfhk1.jpg

Will the 2 lights trick work for me also, can a light be destroyed???

I ask cause that would speed up turreting a great deal.
Title: Re: invisible textures and rendering
Post by: Bobboau on December 24, 2006, 11:03:28 pm
no the two light thing cannot be destroyed, that's why I sugested it to nuke, he wants it for animations and currently everything animated needs to be made into a subsystem.
Title: Re: invisible textures and rendering
Post by: Nuke on January 05, 2007, 07:43:41 am
well ive stopped using truespace alltogether and more or less focusing on the max converter. i thought about the 2 light thing but never tried it (cause i no longer had to deal with lights). knowing the max converter it would probibly choke if i tried to use a dummy. il be sure to geve it a try though.