Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Least squares conformal map

Least squares conformal map

Scheduled Pinned Locked Moved Algorithms
helpquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Isawyouoo
    wrote on last edited by
    #1

    Hello ! Can you mathmaticiens, help me ! I'm stuck for weaks to understand this;(least squares conformal mapping) In the file uvedit_parametrizer.c (in blender or any src code) this part of code : /* angle based lscm formulation */ ratio = (sina3 == 0.0f) ? 1.0f : sina2 / sina3; cosine = cosf(a1) * ratio; sine = sina1 * ratio; EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id, cosine - 1.0f); EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id + 1, -sine); EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id, -cosine); EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id + 1, sine); EIG_linear_solver_matrix_add(context, row, 2 * v3->u.id, 1.0); row++; EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id, sine); EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id + 1, cosine - 1.0f); EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id, -sine); EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id + 1, -cosine); EIG_linear_solver_matrix_add(context, row, 2 * v3->u.id + 1, 1.0); row++; (sparsematrix) prepares a matrix. what kind of eqaution is getting solved, Thanks!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups