Giter VIP home page Giter VIP logo

reality-check's Introduction

RealityCheck

Icon

Important If you are looking to use RealityCheck with visionOS, take a look to the feature/visionOS branch. It is nearing completion and will soon be merged 🥽

Sneak Peek

RealityCheck is an open-source Mac app designed to help AR development teams streamline their workflows and improve the quality of their projects. It provides a debugger for RealityKit, a powerful framework for building AR experiences, that allows developers to inspect the Entity Component System (ECS) structure and properties, and make changes in real-time for preview/debug purposes.

Screenshot

Features

  • Inspect and modify entity and component properties in real-time for debugging and preview purposes
  • Stream the current state of your AR app to the RealityCheck debugger in real-time
  • Support for custom representations for different types of properties, such as transform matrices and light intensity
  • Built with SwiftUI and The Composable Architecture for clean, modular code and a great user experience

Getting Started

To use RealityCheck in your AR project, you'll need to import the RealityCheck library and connect to a live session running on an iOS device. Please refer to the Documentation for detailed instructions on how to integrate RealityCheck into your project.

Thanks

Yasuhito Nagatomo is an inspiration with the highly useful RealityDump.swift helper and his many contributions to the field.

Max Cobb thanks for all your articles and repositories. Many roadblocks have been cleared up because of this.

Andy Jazz there's no related question in stack overflow that he hasn't answered (and many times created) in the best way possible.

Contributing

We welcome contributions from the AR development community! If you'd like to contribute to RealityCheck, please see our Contributing Guidelines for instructions on how to get started.

License

RealityCheck is released under the MIT License.

Contact

If you have any questions or feedback about RealityCheck, please contact us at [[email protected]]. We'd love to hear from you!

That's just a rough example, but I hope it gives you an idea of what to include in your README. Let me know if you have any questions or need any further assistance!

References

reality-check's People

Contributors

elkraneo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

reality-check's Issues

When added 'Statistics' or try to stop recording without permission cause app crashed

Device: iPhone 15 Pro Max
iOS version: 17.2

Xcode version: 15.1

The first error report:
Error message:
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5775: failed assertion `Draw Errors Validation
Vertex Function(vsSdfFont): the offset into the buffer viewConstants that is bound at buffer index 4 must be a multiple of 256 but was set to 61840.

How to reproduce:
After all set, add 'Statistics' on the 'ARView debug Option', then the iOS app crashed

The second error report:
Error message:
-[RPScreenRecorder stopCaptureWithHandler:]:555 failed to stop in app capture because we're not recording

How to reproduce:
When I tap record on the iPhone, it will ask for my permission, even if I do not grant it, it still works fine. When I pressed the button to try to stop recording, the iOS app crashed.

Describe simulator scene with `gpt-4-vision`

// Define a function to capture the screen of the Xcode simulator app window
func captureSimulatorWindow() {
    let targetAppName = "Simulator"  // The name of the Xcode simulator app
    
    if let windowList = CGWindowListCopyWindowInfo(.optionOnScreenOnly, kCGNullWindowID) as? [[String: AnyObject]] {
        for window in windowList {
            if let windowOwnerName = window[kCGWindowOwnerName] as? String, windowOwnerName.contains(targetAppName) {
                if let windowID = window[kCGWindowNumber] as? CGWindowID {
                    let screenCaptureSession = ScreenCaptureSession(windowID: windowID)
                    
                    // Start the screen capture session for the Xcode simulator window
                    screenCaptureSession.startCapture { image, error in
                        if let image = image {
                            // Process the captured image
                            // For example, you can save the image to a file
                            saveImageToFile(image: image)
                        } else if let error = error {
                            // Handle the error
                            print("Error capturing the simulator window: \(error.localizedDescription)")
                        }
                    }
                }
            }
        }
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.