POV-Ray : Newsgroups : povray.text.scene-files : [Minimum Volume] Bounding Ellipsoid via SVD : Re: [Minimum Volume] Bounding Ellipsoid via SVD Server Time
23 Jun 2024 06:32:16 EDT (-0400)
  Re: [Minimum Volume] Bounding Ellipsoid via SVD  
From: jr
Date: 6 Nov 2019 17:05:00
Message: <web.5dc3428af7b9a3affeeb22ff0@news.povray.org>

"Bald Eagle" <cre### [at] netscapenet> wrote:
> "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   :)

can be v productive.

> > 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

couple of thoughts before I download the file, for which thanks.

re 1.  why can you not simply change the 'generate_matrix' (I think) function,
to fill that matrix with the file values?

re 2. keep the current way of supplying the size, more flexibility; in a file
that could be the dimensions row/line before the data lines.

> 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.

not sure I follow.

regards, jr.

Post a reply to this message

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