Week 4 Part 1- Image Processing Research Cont.

Image Processing Research

Extending from last week, this week I made some changes in the Image Processing in Unity. In class, we are discussing making an elevation of the images input for creating game objects. Thus, I spend some time researching this part and updated my last week's code.

Although we had a discussion on Friday that we might not need this kind of image processing in the project anymore, this is what I have spent time for and learned so far this week.

Project update on the use of Image Processing

We have some other ideas on the Engineer role in our project which is a physical thing in real life where the player could control it and have some reflecting effect in the game.

To be more specific, the plan is a physical layout of the spaceship where the player (engineer) needs to constantly control the opening and closing of some doors in the spaceship to prevent the alien from invading the spaceship.

Updating in Image Processing Research

Script Updated

  • Adding/Changing the calculation of the starting point. If we have already spawned an object we would calculate the spawn object position on top of the other. From here, we would be able to stack up our game objects.

  • Originally, my method of composing 3D models from images was to delete some unwanted parts after superimposing the layers. Thus leaving the part to be the 3D model we want. So I wrote two more methods to delete the corresponding parts to help me accomplish this.

  • Finally, I put all of these control in Updated() to control them by using "Space", "G", and "W". I was planning to replace those if statement conditions with any other condition we want in our project (but sadly we are not using this image process in the project anymore)


Demo


Comments