I want to render a gunshot when I press space bar
from a cylinder.I have already rendered the cylinder and when I press shots should get ou of the cylinder continously. Which primitive should I use.
void keyboard(unsigned char key, int x, int y)
{
switch(key)
{
theres no need for such a detail, taking into account hes not making a slow motion bullettimed demo about guns… then I recommend you to use a textured quad to draw the fast trace of the bullet. you can see this on many games already if you have no clue of what im talking about…
but displaying a high quality bullet its pointless on a simple test or game.
if you do have bullettime and your time is freezing, then yes you will need to render bullets when bullet time is on. else you dont need such a detail because it wont be seen, bullets travels fast you know .