Skip to content

Raytrace update #1

Merged
merged 5 commits into from
Feb 21, 2025
Merged

Raytrace update #1

merged 5 commits into from
Feb 21, 2025

Conversation

jrb20008
Copy link
Collaborator

Newly improved raytracing code for simulating the sonar and examples for how it works

JoeBell added 5 commits February 20, 2025 18:57
Implemented the BVH algorithm to allow for much faster collision tests at the cost of having to compile the mesh
@jrb20008 jrb20008 merged commit 3ffe3b9 into main Feb 21, 2025
jrb20008 added a commit that referenced this pull request Mar 25, 2025
commit 46fe6aa
Merge: 6b2a13d 60d436b
Author: jrb20008 <joseph.bellemare@uconn.edu>
Date:   Tue Mar 25 12:23:57 2025 -0400

    Merge branch 'main' of https://github.uconn.edu/tjs20011/SDP-37-Model

commit 60d436b
Author: Joseph R Bellemare <joseph.bellemare@uconn.edu>
Date:   Tue Mar 25 12:21:55 2025 -0400

    Dataset generation (#4)

    * Squashed commit of the following:

    commit 4acc015
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Sun Mar 9 18:00:03 2025 -0400

        Added normalize function

        Added function to normalize the scale of meshes

    commit e685ab2
    Merge: 968cbac cc38025
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 21:28:20 2025 -0500

        Merge branch 'main' into shipgen-integration

    commit 968cbac
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:58:29 2025 -0500

        Added conversion

        Added helper functions to convert stl.Mesh's to triangle arrays

    commit 13a589f
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:47:02 2025 -0500

        Cleaned up Generate

    commit 22876e9
    Merge: f92334b adb4ab8
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:08:58 2025 -0500

        Merge branch 'main' into shipgen-integration

    commit f92334b
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:39:31 2025 -0500

        Renamed parameters

    commit f261895
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:37:13 2025 -0500

        Stopped warning message

    commit bf90105
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:26:12 2025 -0500

        Fixed unused parameter

    commit f79dbc1
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:14:46 2025 -0500

        Removed need to save stl's

    commit c640f6c
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:05:02 2025 -0500

        Improved typing

    commit 19cf09b
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 18:48:43 2025 -0500

        Added hull generator

    commit e8845c8
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 16:18:36 2025 -0500

        Uploaded streamlined ShipGen

        Uploaded a version of ShipGen modified from https://www.dropbox.com/sh/jg98r425v7ly89l/AAA49uMr7_mhaVmRDrPq0NU_a?dl=0 with all non-essential files removed

    * Added Custom Types

    Everything runs abut half as fast but it is much less error prone and more readable

    * Changed Raytrace Imports

    Change the Raytrace library so that mesh classes can be imported directly

    * Restructured Raytrace Library

    Moved the mesh classes into their own folder

    * Fixed Typo Related Bug

    Passing a Vector3 to the Vector3 constructor no longer causes an error

    * Redid Custom Types

    Custom types are now better integrated with numpy to get speed back to around where they were (well, 2/3rds the speed but whos counting)

    * Added Triangle output to Raytrace

    Raytracing functions now return a distance and a triangle. Subclasses now overwrite the raytrace_as_tri method

    * Added Explicate Reexports

    Added reexports to AUVSim

    * Created Generate Folder

    * Created Scan Utilities

    Added functions to help position AUVs and scan paths

    * Made CompositeMesh.triangles getter

    Modified CompositeMesh to make instantiating large quantities less intensive

    * Renamed AUV Utilities

    * Added Parallelism to AUV Utilities

    Made functions in the AUV utilities that take arrays in addition to their single value counter-parts

    * Added Hull Utilities

    Added utilities for generating hulls and placing anomalies

    * Created Outline

    Added an outline notebook that walks through how to create items for the dataset

    * Fixed Point Randomizer

    Fixed bug where random point had a 50% chance of not being on the triangle

    * Fixed Surface Normal

    * Fixed Outline

commit fd0b115
Author: Joseph R Bellemare <joseph.bellemare@uconn.edu>
Date:   Tue Mar 25 12:13:59 2025 -0400

    Typing Overhaul (#3)

    * Added Custom Types

    Everything runs abut half as fast but it is much less error prone and more readable

    * Changed Raytrace Imports

    Change the Raytrace library so that mesh classes can be imported directly

    * Restructured Raytrace Library

    Moved the mesh classes into their own folder

    * Fixed Typo Related Bug

    Passing a Vector3 to the Vector3 constructor no longer causes an error

    * Redid Custom Types

    Custom types are now better integrated with numpy to get speed back to around where they were (well, 2/3rds the speed but whos counting)

commit 6b2a13d
Author: jrb20008 <joseph.bellemare@uconn.edu>
Date:   Thu Mar 20 15:49:43 2025 -0400

    Squashed commit of the following:

    commit 4acc015
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Sun Mar 9 18:00:03 2025 -0400

        Added normalize function

        Added function to normalize the scale of meshes

    commit e685ab2
    Merge: 968cbac cc38025
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 21:28:20 2025 -0500

        Merge branch 'main' into shipgen-integration

    commit 968cbac
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:58:29 2025 -0500

        Added conversion

        Added helper functions to convert stl.Mesh's to triangle arrays

    commit 13a589f
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:47:02 2025 -0500

        Cleaned up Generate

    commit 22876e9
    Merge: f92334b adb4ab8
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 20:08:58 2025 -0500

        Merge branch 'main' into shipgen-integration

    commit f92334b
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:39:31 2025 -0500

        Renamed parameters

    commit f261895
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:37:13 2025 -0500

        Stopped warning message

    commit bf90105
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:26:12 2025 -0500

        Fixed unused parameter

    commit f79dbc1
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:14:46 2025 -0500

        Removed need to save stl's

    commit c640f6c
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 19:05:02 2025 -0500

        Improved typing

    commit 19cf09b
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 18:48:43 2025 -0500

        Added hull generator

    commit e8845c8
    Author: JoeBell <joe@onmyhonor.com>
    Date:   Tue Mar 4 16:18:36 2025 -0500

        Uploaded streamlined ShipGen

        Uploaded a version of ShipGen modified from https://www.dropbox.com/sh/jg98r425v7ly89l/AAA49uMr7_mhaVmRDrPq0NU_a?dl=0 with all non-essential files removed

commit 0405a26
Author: jrb20008 <joseph.bellemare@uconn.edu>
Date:   Sun Mar 9 19:59:52 2025 -0400

    Created AUVSim

    Created a module to generate basic AUV paths to follow the face of hulls

commit cc38025
Author: JoeBell <joe@onmyhonor.com>
Date:   Tue Mar 4 21:27:42 2025 -0500

    Fixed numpy version compatibility

commit adb4ab8
Author: JoeBell <joe@onmyhonor.com>
Date:   Tue Mar 4 20:03:31 2025 -0500

    Downgraded numpy

    Downgraded from numpy 2.x to numy 1.x for compatibility

commit 8eeecef
Merge: 4840eeb 373cc45
Author: JoeBell <joe@onmyhonor.com>
Date:   Tue Mar 4 17:40:20 2025 -0500

    Merge branch 'raytrace-update'

commit 4840eeb
Merge: 3ffe3b9 446bc2d
Author: Joseph R Bellemare <joseph.bellemare@uconn.edu>
Date:   Sun Mar 2 23:03:01 2025 -0500

    Merge pull request #2 from tjs20011/raytrace-update

    Raytrace update

commit 3ffe3b9
Merge: 9cc7468 4c24da0
Author: Joseph R Bellemare <joseph.bellemare@uconn.edu>
Date:   Thu Feb 20 19:11:19 2025 -0500

    Merge pull request #1 from tjs20011/raytrace-update

    Raytrace update
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant