Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Text Convert to Spline issue and Spline Fill issue v1253  (Read 16338 times)

ELECTROHERMIT

  • Newbie
  • *
  • Posts: 23
  • Medical Illustrator AEIMS AMI
    • View Profile
    • ELECTROHERMIT
Text Convert to Spline issue and Spline Fill issue v1253
« on: October 15, 2016, 08:31:36 pm »

Hi All,

I do not see this issue previously mentioned, please advise and I will delete this post if covered elsewhere on forum.

Using build 1253 in a new Anim8or project, creating a closed spline shape, which does not cross itself, and using the BUILD/FILL command: it seems I do not have a fill result but a white square with no spine and no filled object to be seen in any viewport.

Likewise, creating a word using the text tool, the option to CONVERT TO SPLINE is grayed out and not selectable. I tried several other fonts to be certain and downloaded a specific TTF font to no avail.

I am curious if the two issues are related? Thanks for any insight into this.

Asus Laptop - Intel Core i7-4720HQ CPU @ 2.60GHz - Windows 10, 64bit, autoupdated - 16GbRAM - GeForce GTX 960M autoupdated drivers - Generic PnP Monitor on Intel HD Graphics 4600 - DELL U2715H Intel HD Graphics 4600, Current Resolution 2560x1440 pixels

Logged

selden

  • Full Member
  • ***
  • Posts: 221
    • View Profile
    • Modelling for Celestia
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #1 on: October 16, 2016, 06:28:00 am »

You'll have to provide an example of a spline which doesn't fill properly: it works fine for me. Attach the example .an8 file to your post.

You can't select "convert to spline" when using the text tool because the letters created by the text tool already are splines.
Logged
Selden

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #2 on: October 16, 2016, 02:18:41 pm »

There is a limit of 500 points when filling a spline. There are normally 9 added points between each pair of knots that you add. So if there are more than 50 knots in a spline it would usually have more than 500 points and therefore wouldn't fill. There should be an error message when this happens but it looks like it isn't being displayed.
Logged

ELECTROHERMIT

  • Newbie
  • *
  • Posts: 23
  • Medical Illustrator AEIMS AMI
    • View Profile
    • ELECTROHERMIT
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #3 on: October 16, 2016, 07:33:14 pm »

Hi Selden, Steve. No complex shapes - I drew some simple splines, a square, a shape with about 10 knots, very simple spline shapes each resulted in a blank white square. Regarding the text issue, the Anim8or manual suggests text needs to be converted to a spline:

http://www.anim8or.com/learn/manual/3_object_editor.html#true_type_fonts

"Since text items are actually a group of (possibly) complex splines, text can also be combined with splines and filled. First select the text and convert it to splines with the Build→Convert-to-Spline command. Then ungroup the string of characters with Build→Ungroup. Finally select the spline along with all of the individual characters and combine them into a single multiple spline with Build→Join-Splines. Then fill the result:"

Thanks for the input, I believe I might be having a video card driver issue here.

Thanks
DD
« Last Edit: October 16, 2016, 07:36:28 pm by ELECTROHERMIT »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #4 on: October 16, 2016, 07:44:02 pm »

Yes, you are correct. But the manual is for the last "official" release, v0.98. There are quite a number of changes that have been made for build 1253, including being able to fill text in one step. These new builds also result in a smoother result for rounded characters - v0.98 can turn these edges into straight lines. But the rounded edges can have many more points in them so the max limit of 500 points is easier to reach.

I'll look into eliminating, if not at least increasing this limit. Unfortunately the algorithm I use for filling is O(n^2) worst case in the number points so very large point sets can take a long time to run.

Note: The problem is not with your graphics card or computer, but with my coding :) 
Logged

Claude

  • Sr. Member
  • ****
  • Posts: 285
    • View Profile
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #5 on: October 16, 2016, 08:18:19 pm »

ELECTROHERMIT

Could it be that your spline is not closed or that the extendable
property is not unchecked ?
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #6 on: October 16, 2016, 08:24:10 pm »

For these later builds, splines don't have to be closed and can be either extendable or not. For open splines Anim8or adds a single straight edge between the start and end points.
Logged

Claude

  • Sr. Member
  • ****
  • Posts: 285
    • View Profile
Re: Text Convert to Spline issue and Spline Fill issue v1253
« Reply #7 on: October 16, 2016, 08:57:17 pm »

Good to know.
Logged