Help with Gpolgyons??

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
casey401
Posts: 1
Joined: Sun Oct 05, 2008 9:51 pm

Help with Gpolgyons??

Post by casey401 »

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. Image the roof needs to be this triangular shape, can anyone help me figure out how to start this code?
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

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?
Hope this was helpful.............good luck,
Bob
Post Reply