Skip to content

More complicated 3d scene example #6551

@JMS55

Description

@JMS55

What problem does this solve or what need does it fill?

When developing new rendering features, we need test scenes. Bevy's current 3d examples are generally too simple, often exercising only one specific feature. Something like bistro is too heavy for quick iteration, and more complicated to setup (not a simple cargo run --example).

What solution would you like?

Add a new 3d example scene with medium complexity.

Important requirements:

  • Static meshes, using normal maps and materials
  • Dynamic meshes, that move around the scene in a set pattern
    • Should be able to pause their movement with a hotkey
  • Transparent meshes
  • Alpha-masked meshes
  • Large meshes that block other meshes (for depth related testing) (e.g., a pillar)
  • Point lights and directional lights
  • Controllable camera
    • Perspective/Orthographic projection toggle
  • Not too large/demanding- shouldn't be bigger than a room or two, and quick to load/run
    • Perhaps 1 indoor, 1 outdoor scene
  • Multiple viewports
  • Developer options - toggle for debug visualizations, turning specific features on or off, logs, etc

A good starting point would be to build on example/tools/scene_viewer.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-ExamplesAn addition or correction to our examplesC-TestingA change that impacts how we test Bevy or how users test their appsD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions