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

🐞 Issue: Implement WebGL Rendering for methods avoid error throw #34

Open
mselodie opened this issue Oct 18, 2023 · 0 comments
Open
Labels
3D rendering bug Something isn't working enhancement New feature or request

Comments

@mselodie
Copy link
Collaborator

Description

We currently have methods for drawing basic shapes (drawRect, drawCircle, and drawLine) in our project, but they are limited to 2D rendering. We want to enhance these methods to utilize WebGL for 3D rendering, providing a more immersive experience.

Proposed Solution 💫

To achieve this, we propose the following changes:

  1. Implement the WebGL rendering logic for methods present.
  2. Utilize predefined vertexShaderSource and fragmentShaderSource for the WebGL shaders. These shaders will enable 3D rendering. 🎨
  3. If necessary, incorporate the gl-matrix library for matrix operations and transformations to simplify the rendering process.

Steps to Reproduce

  • Call any of the mentioned methods in a WebGL-enabled environment.

Expected Behavior

The shapes should be rendered in 3D space, giving a more immersive experience compared to their current 2D counterparts. 🌟

@mselodie mselodie added enhancement New feature or request 3D rendering bug Something isn't working labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D rendering bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant