![]() |
#11 |
Junior Member
Member
Join Date: Apr 2010
Location: Brazil
Posts: 21
|
![]()
Hi thanks for quick reply.
Should I post a new thread about it? In the ac3d, when I select two vertices, I have a measure of distance. How about to have a feature like this: When selecting three vertices, the UI shows the angle. Regards Fabrizio |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]() Quote:
x = cos(-5 degrees) = 0.996 y ignored since this is the axis you want. If it were large we'd have to set it to zero and re-normalize the vector. z = sin(-5 degrees) =-0.087 Ron |
|
![]() |
![]() |
![]() |
#13 | |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]() Quote:
Math-wise, if your vertices were v1, v2 and v3 you could calculate the angle by letting vectorA = v1-v2 and vectorB = v3-v2 then take: acos( vectorA dot vectorB )/(||vectorA|| ||vectorB||) Not sure right now how to wrap that into a neat UI function... Ron |
|
![]() |
![]() |
![]() |
#14 | |
Junior Member
Member
Join Date: Apr 2010
Location: Brazil
Posts: 21
|
![]() Quote:
not even wise on scripts languages. ![]() ![]() Really appreciated the reply, even I did not understand. Regards Fabrizio |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
Member
Join Date: Apr 2010
Location: Brazil
Posts: 21
|
![]()
The UI showing the calculated angle would be nice. That is what I am needing.
I am starting making a homecockpit of the F16 Falcon at home. It is only in the 3d model. As I do not know how to get the measures and angles in another way, I thought if i get them from the 3d model, it will be the best for me. So I started making "base textures" , It will be the base for me to build the pit in the future, as all the angles, and measures will be written on these textures, at the edges of the pit... Well, I hope I could explain better (at least a little). (different language) Regards Fabrizio |
![]() |
![]() |
![]() |
|
|