Game Development Community

How Does One Make Billboards?

by Jason Sherman · in Torque Game Engine · 06/11/2005 (2:11 pm) · 4 replies

Hello everyone. This is my first post having purchased my TGE license 3 days ago so please forgive my "noobness". My question is, how do I make billboards or sprites (I'm used to calling them sprites) that I can use for my terrains? What I am trying to do is give my terrain the effect of having patches of longer grass or flowers in random areas that would add more realism to my terrain. Ive read in the forums that this effect can be created using billboards but I havent been able to find a good tutorial per se on how to create a billboard. If someone would be kind enough to offer an answer or just post a link to the info I need I would greatly appreciate it.

Thanks in advance!

#1
06/11/2005 (2:54 pm)
Look at the fxFoliageReplicators in the Demo mission.
#2
06/11/2005 (7:14 pm)
Ok I was in the fxFoliageReplicators configuration menu for a few hours trying to figure out why the textures wont load for the replicators. I name the file path for the foliage texture file and when I hit "apply" nothing happens except the backslashes dissappear from the file path. Has anyone else had this problem? I have tested this several times even putting the texture file in other folders and trying to create the new file path but the same error happens...what I am not sure about is why the backslashes dissappear, this is the first time Ive seen this happen when naming file paths.
Can anyone describe to me in detail how to configure the foliage replicator menu, I have used the configuration from the demo mission as a guage but obviously Im doing something wrong.
If what I am trying to describe sounds confusing please let me know and Ill rephrase it a different way.

Thanks,

Redbeard
#3
06/11/2005 (8:50 pm)
You should use forward slashes in paths (even on Windows systems) to avoid problems with backslashes being interpreted as indicating the start of an escape sequence.

This applies to most scripting languages.
#4
06/12/2005 (5:48 am)
Thank you very much it worked the way you suggested. What I was doing was copying the file path from the properties of the texture image itself "starter.fps\data\shapes\Plants\plant2" and pasting it into the replicator menu field thinking that would be the most correct and convenient way. I feel relieved and embarassed at the same time over something so simple. Thanks again.

-Redbeard-