Skip to content

Reduce point cloud data to positional data - #11

Open
soulofmischief wants to merge 15 commits into
masterfrom
strip-point-cloud-data
Open

Reduce point cloud data to positional data#11
soulofmischief wants to merge 15 commits into
masterfrom
strip-point-cloud-data

Conversation

@soulofmischief

@soulofmischief soulofmischief commented Dec 18, 2022

Copy link
Copy Markdown
Contributor

Strip unused point cloud data for a 3MiB savings

@vercel

vercel Bot commented Dec 18, 2022

Copy link
Copy Markdown

@soulofmischief is attempting to deploy a commit to the WEBA Team on Vercel.

To accomplish this, @soulofmischief needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account.

Comment thread src/clients/reconstruction-client.js Outdated
distanceFloats2Canvas,
depthFloats2Canvas,
} from '../generators/sg-debug.js';
import { getDestructuredPointCloud } from '../lib/index.js';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a good name for this... We already have a convention of calling these utils. It's certainly not an index.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Convention noted, thanks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything in particular come to mind?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is pointCloudDestructureUtil good?

Comment thread src/lib/getDestructuredPointCloud.js Outdated
Comment thread src/clients/reconstruction-client.js Outdated

@avaer avaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs code cleanup, but makes sense.

Comment thread src/utils/point-cloud.js Outdated
@@ -0,0 +1,40 @@

const pointcloudStride = 4 + 4 + 4 + 1 + 1 + 1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this constant already exists in the main branch.

@avaer

avaer commented Dec 20, 2022

Copy link
Copy Markdown
Contributor

This is fine, it just needs to have a clear network and non-network point cloud stride constant to make clear what is happening in the code. Both constants (one of which exists) should be put into the zine repo and used here.

After this ships we should change https://github.com/webaverse/AdelaiDepth to do this and then we can get rid of the processing in this repo entirely.

@vercel

vercel Bot commented Dec 22, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
gen ✅ Ready (Inspect) Visit Preview Dec 22, 2022 at 11:14AM (UTC)

@avaer

avaer commented Dec 25, 2022

Copy link
Copy Markdown
Contributor

Looks like this is highly conflicted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants