help with cylinder text
BlitzMax Forums/BlitzMax Beginners Area/help with cylinder text
| ||
I am trying to create text that spins around in a 3d cylinder pattern. I can seem to figure out the math that is involved. I would appreciate if anybody is interested in helping me figure out the math. or a better way of doing it. The code follows: |
| ||
Looks very impressive, where is the issue? |
| ||
My guess: It isn't his code... :D |
| ||
I was trying to make the text go around a cylinder format. the problem is its costing me time to figure out the math. the origina example displays it in a sine which is not what I want. I figured out that I need a sine for the z axis and a cosine for the x axis and to calculate the distance factor for Z. I have been looking around for possible solutions. there is code and tutiorials out there for three D and I am starting to get the hang of it. I modified the above example and now it looks more like what I want: What I want now is to put any text length and be flexible enough to display it correcttly. right now if I add more text it's displayed aukwardly. here is a tutorial that has helped me some what if any body is interested: http://rel.betterwebber.com/mytutes/3dtutes/chapter1/chapter1.htm http://rel.betterwebber.com/mytutes/3dtutes/chapter2/chapter2.htm http://rel.betterwebber.com/mytutes/3dtutes/chapter3/chapter3.htm http://rel.betterwebber.com/mytutes/3dtutes/chapter4/chapter4.htm |