Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 01 9:20 pm)
corner angle =atan(y/x), this will give you the corner opposite the y edge.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
martian_manhunter: that's only true when the x length and y length are equal!
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
One of the angles is a righ angle. The only possible way to make a triangle with a right angle is if the other two angles are 45 each. If either of them was more than 45 degrees, that would force the third angle to be obtuse( and not a right-angle), and if either of them were less than 45 then that would make the third angle acute (and not a right-angle)
Jeff
Renderosity Senior Moderator
Hablo español
Ich spreche Deutsch
Je parle français
Mi parolas Esperanton. Ĉu vi?
Sorry martian_manhunter, if one angle is 90 degrees, the other two don't have to be 45 each. One at x degrees, one at (90-x) degrees is just fine. You only have to calculate one of these angles using the atan formula, the other is obtained by substraction.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Before they made me they broke the mold!
http://home.roadrunner.com/~kflach/
anxcon: atan is arctan indeed. Most programming languages have the atan function built in (Python has it in the Math module), most pocket calculators call it arctan or inverse tan.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
anxcon: you're right. The math functions of the shader nodes do not provide a way to calculate the angle. But do you need the angle itself, or do you need it's sine or cosine? In that case, the dot product can help you out. If you tell me what you want to do, I'll probably be able to make you a partial node setup that does the job.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=1848273
Here is a solution from stewer... It approximate the arctan function.I dimly remember it(as it was a long time ago)... Some fought the yellow man with rifles, some with guns, other with math, Sitting in the back of a 3/4 truck, 12 place log-log tables in hand, writing down the numbers, Log for Tan of 9,482.93 mils, added to the line above, and so on, All done by hand, not even a adding machine. The end result located the cannon, two guns and two howitzers, mostly, If they knew where they sat they knew where to shoot. Just a clog in a vast war-machine. I, on the other hand, mostly drove a 2 1/2 ton truck. Such is the importance of good math!
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
oook need a math formula for a poser mat im makin trying to find the angle of a triangle (one corner) i know X length and Y length, and they intersect at 90 deg but the other 2 corners, how to find the angle? i know itll be some simple stupid formula :x