Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regarding static orientation
#5
(12-02-2021, 01:50 PM)_Aka_ Wrote: In the Shape Extrusion module, in its Path tab, please disable the Optimize option. That should do it. Did it?

Yes it works!
However it causes error messages with the followings when unchecking the optimize option.
FYI, With resolution 100, it casues error. But with resolution 50, it does not.

[Error] [Curvy] He's dead, Jim! Deadloop in SplineInputModuleBase.GetSplineData (Even)! Please send a bug report.
SplineInputModuleBase.GetSplineData() at /Plugins/Curvy/Base/CG Modules/Base/SplineInputModuleBase.cs:408
406:  }
407:  if (dead <= 0)
-->408:      Debug.LogError("[Curvy] He's dead, Jim! Deadloop in SplineInputModuleBase.GetSplineData (Even)! Please send a bug report.");
409:  // store the last open patch
410:  patch.End = positions.Count - 1;

InputSplinePath.OnSlotDataRequest() at /Plugins/Curvy/Base/CG Modules/InputSplinePath.cs:89
87:      return null;
-->89:  CGData data = GetSplineData(Spline, true, raster, options);
91:  return new CGData[1] { data };

CGModuleInputSlot.GetData<FluffyUnderware.Curvy.Generator.CGPath>() at /Plugins/Curvy/Base/CG/CGModuleSlot.cs:395
393:  #endif
394:                      source.Module.UIMessages.Clear();//TODO Find a way to move this line of code inside OnSlotDataRequest
-->395:                      source.SetData(((IOnRequestProcessing)source.Module).OnSlotDataRequest(this, source, requests));
396:  #if UNITY_EDITOR || CURVY_DEBUG
397:                      source.Module.DEBUG_ExecutionTime.Stop();

CGModuleInputSlot.GetData<FluffyUnderware.Curvy.Generator.CGPath>() at /Plugins/Curvy/Base/CG/CGModuleSlot.cs:317
315:          public T GetData<T>(params CGDataRequestParameter[] requests) where T : CGData
316:          {
-->317:              CGData[] data = GetData<T>(0, requests);
318:  #if UNITY_EDITOR
319:              LastDataCountINTERNAL = (data == null || data.Length == 0) ? 0 : data.Length;

BuildShapeExtrusion.Refresh() at /Plugins/Curvy/Base/CG Modules/BuildShapeExtrusion.cs:729
727:          Resolution,
728:          AngleThreshold, (Optimize) ? CGDataRequestRasterization.ModeEnum.Optimized : CGDataRequestRasterization.ModeEnum.Even));
-->729:      path = InPath.GetData<CGPath>(req.ToArray());
730:      req.Clear();
731:  }

CGModule.doRefresh() at /Plugins/Curvy/Base/CG/CGModule.cs:833
831:      Random.InitState(Seed);
832:  OnBeforeRefreshEvent(new CurvyCGEventArgs(this));
-->833:  Refresh();
834:  Random.InitState(unchecked((int)System.DateTime.Now.Ticks));

CurvyGenerator.Refresh() at /Plugins/Curvy/Base/CG/CurvyGenerator.cs:600
598:          }
-->600:          Modules[i].doRefresh();
601:      }
602:  }

CurvyGenerator.TryAutoRefresh() at /Plugins/Curvy/Base/CG/CurvyGenerator.cs:636
634:      {
635:          mLastEditorUpdateTime = DTTime.TimeSinceStartup;
-->636:          Refresh();
637:      }
638:  }

CurvyGenerator.Update() at /Plugins/Curvy/Base/CG/CurvyGenerator.cs:265
263:          Initialize();
264:      else
-->265:          TryAutoRefresh();
266:  }

CurvyGenerator.editorUpdate() at /Plugins/Curvy/Base/CG/CurvyGenerator.cs:255
253:                  else
254:  #endif
-->255:                      Update();
256:              }
257:          }

EditorApplication.Internal_CallUpdateFunctions() at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:327
Reply


Messages In This Thread
Regarding static orientation - by mydayz - 12-02-2021, 05:06 AM
RE: Regarding static orientation - by _Aka_ - 12-02-2021, 01:06 PM
RE: Regarding static orientation - by mydayz - 12-02-2021, 01:29 PM
RE: Regarding static orientation - by _Aka_ - 12-02-2021, 01:50 PM
RE: Regarding static orientation - by mydayz - 12-02-2021, 02:15 PM
RE: Regarding static orientation - by _Aka_ - 12-02-2021, 11:04 PM
RE: Regarding static orientation - by mydayz - 12-03-2021, 12:41 AM
RE: Regarding static orientation - by _Aka_ - 12-03-2021, 12:37 PM
RE: Regarding static orientation - by _Aka_ - 12-03-2021, 12:49 PM
RE: Regarding static orientation - by mydayz - 12-05-2021, 09:04 AM
RE: Regarding static orientation - by _Aka_ - 12-05-2021, 01:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Shapes points orientation itsGama 3 8 01-18-2023, 02:51 PM
Last Post: _Aka_
  2d - orientation looping_co 1 5 09-01-2022, 04:17 PM
Last Post: _Aka_
  Spline controller orientation itsGama 4 31 01-24-2022, 06:38 PM
Last Post: _Aka_
  locking vertical orientation/alignment BenStorch 9 2,478 05-16-2021, 08:28 AM
Last Post: _Aka_

Forum Jump: