Jump to content
Cinema 4D Plugins

coasterinc

Spline path alignments...

Recommended Posts

coasterinc    0

Hi, im quite new to c4d but not to modeling, mainly just sketchup and a bit of blender for animations, but i needed to use c4d for better spline following to create a better animation... The problem im having is i get a path generated from a 3d model in sketchup, have just the lines exported to dae, then load into c4d as splines, join all the little parts together (as sketchup doesn't actually generate splines from models) but when they are all joined together and look like they are all going the same way, upon aligning to spline a cube, and moving it along the spline, the axis flip all over the place like each spline piece has a different axis... Is there a way to sort all the pieces out so it can actually make a smooth animation?

Share this post


Link to post
Share on other sites

ABMotion    238

It's hard to tell without perhaps a video showing the problem.

 

A couple of things you can try on the splines is changing the Set First Point or Reverse Sequence if they are going in the wrong direction.

 

You haven't specified, but I assume you mean you are using the Sweep Object to do this...is that correct? If you are using a Sweep Object you can use:

  • Rail Splines that can help determine the angle and direction of the spline as it grows
  • In the Object tab of the Sweep Object, under Advanced, you can make a Rotation spline to twist the spline sweep as needed

Alternatively, you could look to the Sketch & Toon functionality to draw on lines if that look was suitable for your project:

 

 

Share this post


Link to post
Share on other sites
Vizn    55

The problem you're facing is that the splines you are importing were generated from mesh edges in SketchUp. Mesh edges have individual normals that are different from the overall parent object, which the generated splines will then have. This means the splines have lost their bearings, so to speak. You may have to optimize the splines in SketchUp prior to export, which might include a way to reset their axis orientation. Check the documentation. Then, you should look at the export/import options carefully to see if there are any controls for converting XYZ coordinates and make sure you understand what those controls are doing. It may take some experimenting to find the right settings, or just diligent googling, but even then it may not be possible.

 

If all else fails, use the imported splines as a template to redraw a new spline natively in C4D. Put them on a separate layer and lock it. Then, draw the new spline in the Top view using snap to each point, then in Front and Side views manually snap each point in the Y axis. 

 

  • Like 1

Share this post


Link to post
Share on other sites
ABMotion    238

Building on @Vizn knowledge and suggestions in your case, if those splines come in with a Vertex Normal tag, you can display Vertex Normals using Options (menu just above Viewport)>Vertex Normals. You could then possibly alter the Vertex Normals tag/Phong Angle to correct them.

 

There is also a tool to alter Vertex Normals that is "Pay What You Want" (minimum $1)  http://frostsoft.blogspot.com/2012/01/vertex-normal-tool-plugin_80.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×