Fyrestar / THREE.InfiniteGridHelper

Infinite anti-aliased grid.
MIT License
147 stars 24 forks source link

Modulus Grid Snapping #6

Open tresabhi opened 3 years ago

tresabhi commented 3 years ago

It would be pretty neat if you could make the grid snap to a multiple of a certain number. This behavior can be seen in graphic calculators and would be especially useful in a top-to-down cartographic view with orbit controls.

Fyrestar commented 3 years ago

Yes i added this for the update already, but since you mention it, also with an option for orthographic cameras as for 3D the camera to plane distance is used.

tresabhi commented 3 years ago

This is big! I have tried tinkering with the shaders (having no clue what I'm doing) and failed. Good to see this is coming too :)

tresabhi commented 2 years ago

Yes i added this for the update already

When can we expect the update?

Fyrestar commented 2 years ago

Sorry i've been quite busy with paid work recently sorry. Likely this or next week, i wanted to make the transition fade seamlessly without popping like your example but it seems a bit tricky with a sub-grid.

The grid itself also looks better now filtered (no more moire pattern), with thickness and other options. image

tingspain commented 2 years ago

Any update in this feature? ^___^

tresabhi commented 1 year ago

@Fyrestar Do you have anything new to share about this?