# Pls i need your help!!!!

Hi, can anyone help me with the source code to draw a simple christmas tree??
I am a beginner. Pls helppppppp me:)
(visual c++)

Thanks

• : Hi, can anyone help me with the source code to draw a simple christmas tree??
: I am a beginner. Pls helppppppp me:)
: (visual c++)
:
: Thanks
:

ok,since youre posting in an opengl-board and dont asking something about it i assume you know the basics.i would try to draw a simple triangle with two sides the same length and the third side shorter than the other ones in the Z=10.0f plane and looking from (0,0,0) along the z-axis:

P1(-2.0f,0.0f,10.0f)
P2( 2.0f,0.0f,10.0f)
P3( 0.0f,3.0f,10.0f)

not move the triangle a little up and make it smaller (or move down and scale it larger) so it overlaps the first triangle.repeat the a few times and you will result in a VERY simple xmas-tree.
• Or take a christmas tree texture and map it to a quad. Lots of code available for texture mapping on the net.

: : Hi, can anyone help me with the source code to draw a simple christmas tree??
: : I am a beginner. Pls helppppppp me:)
: : (visual c++)
: :
: : Thanks
: :
:
: ok,since youre posting in an opengl-board and dont asking something about it i assume you know the basics.i would try to draw a simple triangle with two sides the same length and the third side shorter than the other ones in the Z=10.0f plane and looking from (0,0,0) along the z-axis:
:
: P1(-2.0f,0.0f,10.0f)
: P2( 2.0f,0.0f,10.0f)
: P3( 0.0f,3.0f,10.0f)
:
: not move the triangle a little up and make it smaller (or move down and scale it larger) so it overlaps the first triangle.repeat the a few times and you will result in a VERY simple xmas-tree.
:

• Can you explain me more spesific?? Sorry but i am begginer. Can i find anywhere a source code? I searched but nothing found. Pls help!!!!!!

: Or take a christmas tree texture and map it to a quad. Lots of code available for texture mapping on the net.
:
:
: : : Hi, can anyone help me with the source code to draw a simple christmas tree??
: : : I am a beginner. Pls helppppppp me:)
: : : (visual c++)
: : :
: : : Thanks
: : :
: :
: : ok,since youre posting in an opengl-board and dont asking something about it i assume you know the basics.i would try to draw a simple triangle with two sides the same length and the third side shorter than the other ones in the Z=10.0f plane and looking from (0,0,0) along the z-axis:
: :
: : P1(-2.0f,0.0f,10.0f)
: : P2( 2.0f,0.0f,10.0f)
: : P3( 0.0f,3.0f,10.0f)
: :
: : not move the triangle a little up and make it smaller (or move down and scale it larger) so it overlaps the first triangle.repeat the a few times and you will result in a VERY simple xmas-tree.
: :
:
: