the roof needs to be this triangular shape, can anyone help me figure out how to start this code?Help with Gpolgyons??
Moderators: AmigoJack, bbadmin, helios, MudGuard
Help with Gpolgyons??
I am trying to construct the image of a house through a graphics program i am writing. In order to create the roof I am trying to create a vertex that i will be able to manipulate to the angles i want for the roof and am having trouble doing so.
the roof needs to be this triangular shape, can anyone help me figure out how to start this code?
the roof needs to be this triangular shape, can anyone help me figure out how to start this code?- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
What does this have to do with TextPad?
How do you do this manually?
Can you select different shapes?
Do you add an shape, then drag its handles?
Do you click and drop a point, then drag and drop another point, then drag and drop the third point?
Are there keyboard commands?
What is the name of the program, perhaps someone here is already familiar with it.
It looks like you may know "x" and "Y" which are the adjacent and opposite sides of the triangle at the lower right. So, can you use the Tangent of the angle, as I recall the Tangent uses the opposite and adjacent edges of the triangle. Many programs have a Tan function that may help.
And again, why is this posted in TextPad forum?
How do you do this manually?
Can you select different shapes?
Do you add an shape, then drag its handles?
Do you click and drop a point, then drag and drop another point, then drag and drop the third point?
Are there keyboard commands?
What is the name of the program, perhaps someone here is already familiar with it.
It looks like you may know "x" and "Y" which are the adjacent and opposite sides of the triangle at the lower right. So, can you use the Tangent of the angle, as I recall the Tangent uses the opposite and adjacent edges of the triangle. Many programs have a Tan function that may help.
And again, why is this posted in TextPad forum?
Hope this was helpful.............good luck,
Bob
Bob