Week 5 Progress and Unstubbing QTVR Xtra


Hey everyone ๐Ÿ‘‹๐Ÿป

Welcome back to my GSoC blog! As we wrap up week 5, I want to share my progress. This week had its challenges because I couldn’t get the panorama rendering working as planned. However, learning from these challenges is an important part of our journey, and despite this setback, I made progress in other areas.

Task 1: Rendering Panorama Movies

For this task, I started by studying a patent that explains how to map a cylindrical image to a planar image using scan line coherence. You can read more about it here. With this knowledge, I began coding. Unfortunately, despite my efforts, the implementation didn’t quite pan out, and debugging was challenging, especially with my math skills adding an extra layer of complexity ๐Ÿ˜…. After spending days trying to fix it, I talked to Sev, who kindly allowed me to temporarily pause this task.

Task 2: Unstubbing the QTVR Xtra

Xtras are basically components that extend the functionality of Director projects. Some Xtras come installed with Director, while others are available through third-party developers. These modular extensions can add additional behaviors and scripting capabilities.

The QTVR Xtra is designed to work with QuickTime VR (QTVR) movies. It provides various functions to facilitate the loading and playback of QTVR movies.

“Unstubbing” refers to the process of replacing stubbed-out or placeholder code or functionality with actual functional code.

To integrate QTVR with Director, after discussions with Sev and Rvanlaar, we chose the SafeCracker game, which utilizes the QTVR Xtra. Our approach involves unstubbing the necessary functions by analyzing the scripts and unstubbing the placeholder code.

To examine the behavior and functionality, we utilize projector rays for decompiling DXR and CXT files. This tool allows us to dump the scripts embedded within. The only issue is that there are way too many nested folders containing these DXR and CXT files, so I created two simple PowerShell scripts to streamline my work:

I have begun the unstubbing process for the QTVR Xtra this week and will continue making progress on this task.

Additional Task: Ensure Selection Stays within Selectable Area in Console

Before the fix

This was a straightforward and minor change involving the addition of two if guards appropriately to ensure that text selection remains within the designated selectable area when using the console.

Conclusion

This wraps up the updates for week 5. Stay tuned for more in the next post!


Leave a Reply

Your email address will not be published. Required fields are marked *