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

[WIP] Overall upgrade in Drawables #143

Draft
wants to merge 84 commits into
base: master
Choose a base branch
from

Conversation

WilliamQiufeng
Copy link
Member

@WilliamQiufeng WilliamQiufeng commented May 10, 2024

  • Rotation for drawables
  • Scaling for all drawables
  • Game window manipulation
  • 3D quad drawing
  • 3D Camera
    • Free Camera movement
    • Orthographic & Perspective Camera (Done in MonoGame fork)
    • HUD Display
  • Explore a bit about BasicEffect

A new system for drawing 3D objects with Drawable3D and its descendents, separate from Drawable. This is intended to be used in modcharts.

The system is similar to the design of Drawable, expect everything is made 3D.

  • Integrate Drawable and Drawable3D (Drawing order, etc.)
  • Make clear the coordinate system
  • Fix orthogonal camera view
  • Load models from .fbx or .dae files instead of .xnb files for future compatibility

@WilliamQiufeng WilliamQiufeng changed the title [WIP] Add 3D drawables [WIP] Overall upgrade in Drawables Jun 19, 2024
…t_uvtosize and p_rendertarget_sizetouv) if they are declared
GraphicsHelper.Align no longer swaps the boundary left and right values when left > right.
…nts. This is to address the compatibility issue introduced from the reverted commits below.

Revert "Make Alpha a Drawable property, and allow alphas to be multiplied down to the children drawables"

This reverts commit 2b9bb98.

Revert "Fix text tint, make alpha animation able to be applied to all drawables"

This reverts commit 609b87b.
# Conflicts:
#	Wobble.Tests/Screens/Selection/SelectionScreen.cs
#	Wobble.Tests/Screens/Selection/SelectionScreenView.cs
#	Wobble/Graphics/Container.cs
#	Wobble/Graphics/Drawable.cs
#	Wobble/Graphics/Sprites/RenderTargetContainer.cs
#	Wobble/Graphics/Sprites/Sprite.cs
#	Wobble/Graphics/Sprites/Text/SpriteTextPlusLineRaw.cs
#	Wobble/Screens/ScreenManager.cs
Add independent quad transform
Make primitives draw with the same vertices as normal quads, not offset to center
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.

1 participant