Rewrite colour and thickness over existing geometry, no curve evaluation.
Definition at line 173 of file PathGeneratorNode.cpp.
174{
177 for (size_t i = 0; i < n; ++i) {
180 }
181 return;
182 }
183
187 if (num_points == 0 ||
total < 2) {
188 return;
189 }
190 for (
size_t i = 0; i <
total; ++i) {
191 const size_t ctrl_idx = std::min((i * (num_points - 1)) / (
total - 1), num_points - 1);
194 }
195 return;
196 }
197
199 return;
200 }
201
204
205 if (
m_vertices.size() < windows * per_window) {
206 return;
207 }
208
209 for (size_t w = 0; w < windows; ++w) {
211 }
212}
size_t vertices_per_window() const
Vertices emitted per four-point window.
Kinesis::InterpolationMode m_mode
bool m_force_uniform_thickness
std::vector< LineVertex > m_control_points
Control points, newest first: index 0 is the most recently added.
glm::vec3 m_current_color
float m_current_thickness
std::vector< LineVertex > m_vertices
bool m_force_uniform_color
void write_segment_attributes(const std::vector< LineVertex > &curve_verts, size_t start_idx, LineVertex *dst) const
Write colour and thickness for one window, leaving positions intact.
References MayaFlux::Kinesis::CUSTOM, MayaFlux::Kinesis::LINEAR, m_control_points, m_current_color, m_current_thickness, m_force_uniform_color, m_force_uniform_thickness, m_mode, m_vertices, total, vertices_per_window(), and write_segment_attributes().
Referenced by compute_frame().