POV-Ray : Newsgroups : povray.text.scene-files : [Minimum Volume] Bounding Ellipsoid via SVD : Re: [Minimum Volume] Bounding Ellipsoid via SVD Server Time
20 Sep 2021 21:49:22 EDT (-0400)
  Re: [Minimum Volume] Bounding Ellipsoid via SVD  
From: Bald Eagle
Date: 6 Nov 2019 16:45:01
Message: <web.5dc33dd7f7b9a3af4eec112d0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> the latter, I'm confident, although somewhat unsure of exact syntax.

OK - I just usually search-engine my way to a solution   :)

> suggestion: attach your working version of svd.cpp, so we talk same code.  I'll
> play with it here to test; are the matrices filled just with floats?

Right on.
At the moment, my thoughts are:

1. the data must get read into a faux-matrix std::vector container, which I
suppose has to be created before assigning the data to it

2. it should have m rows - the number of vectors to process, and m columns - the
first 3 are x, y, and z, and all the remaining columns are zeros

Then hopefully I can use that lesson to apply the SVD output to the data in the
SDL scene.


There's hardly any data in the header file - I'm assuming that can just be added
to the top of the .cpp file to keep it all self-contained.


Post a reply to this message


Attachments:
Download 'svd_bw.cpp.txt' (14 KB)

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.