Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use 3D mode? #5

Closed
meet1919 opened this issue Nov 3, 2021 · 1 comment
Closed

How to use 3D mode? #5

meet1919 opened this issue Nov 3, 2021 · 1 comment

Comments

@meet1919
Copy link

meet1919 commented Nov 3, 2021

I am new in front-end so I can't execute it properly. Can you define the steps properly?
I am using django for backend

@Rezmason
Copy link
Owner

Rezmason commented Nov 5, 2021

Hello! Can you elaborate what help you need?

The structure of this project makes some assumptions that you might want to modify for your own use:

  • It assumes it runs alone in the web page
  • It assumes it has to manage the resizing of the window
  • It assumes that the mode you want is specified in the page's URL

Depending on your goals, you might want to modify the code so some or all of these assumptions are gone.

To test 3D mode, just include volumetric=true in the URL's "query string", like so:

https://rezmason.github.io/matrix/?volumetric=true

This informs the rain render pass to represent the code as 3D objects that are drawn in perspective, rather than being regions of pixels on the screen. Volumetric "3D" mode is great for tricks like 3D perspective, but the default mode is better suited for the radial effect seen in this version, for example.

Please clarify if there's more particular help you need.

Regards,

Rezmason

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

No branches or pull requests

2 participants