Difference between revisions of "User:Jin Ke"

From BRL-CAD
(Development Logs)
(Development Logs)
Line 37: Line 37:
 
RayParam UniformSphere(size_t num);
 
RayParam UniformSphere(size_t num);
 
</pre>
 
</pre>
 +
 +
==Wednesday, June 26th, 2024==
 +
Finish store res as json file,like this:
 +
{
 +
        "dir": [
 +
            0.46341427145648684,
 +
            -0.6747185194294957,
 +
            -0.5744581207967407
 +
        ],
 +
        "point": [
 +
            -30.10931324293444,
 +
            72.95779116737057,
 +
            81.61656328468132
 +
        ],
 +
        "rgb": [
 +
            173,
 +
            89,
 +
            174
 +
        ]
 +
    }
 +
}

Revision as of 08:54, 26 June 2024

Development Logs

Community Bonding Period


Work Period

Monday, June 10th, 2024

  • Updated the CMake file to add a new project, rt_trainneural.
  • Added the file rt_trainer.cpp, which is prepared for the sampling method.

Tuesday, June 11th, 2024

  • A function was written using rt_raytrace to collect receipts with the output r,g,b

Wednesday, June 12th, 2024

  • add a_hit() and a_miss() function


Monday, June 24th, 2024

  • finish plotting points with a mged script. I create a mged automately:
in point1.s sph 1 1 1 0.1
in point2.s sph 1 2 1 0.1
in point3.s sph 1 1 2 0.1
r all_points.g u point1.s u point2.s u point3.s B all_points.g

Tuesday, June 25th, 2024

Add sample methods:

RayParam SampleRandom(size_t num);
RayParam SampleSphere(size_t num);
RayParam UniformSphere(size_t num);

Wednesday, June 26th, 2024

Finish store res as json file,like this: {

       "dir": [
           0.46341427145648684,
           -0.6747185194294957,
           -0.5744581207967407
       ],
       "point": [
           -30.10931324293444,
           72.95779116737057,
           81.61656328468132
       ],
       "rgb": [
           173,
           89,
           174
       ]
   }

}