For over a week I was trying to transform touch on screen coordinates to 3D coordinates in game world.. as far as now.. no success.. I was trying them all.. color picking.. gluUnProject.. nothing.
probably my math is not good enough for gluUnproject but still.. there is no way of finding good examples or tutorials how to actually us this tech.. or there is something wrong with me.
anyway.. deadline is approaching and I am still straggling with picking an object.. if anyone knows simple solution.. i am more than happy to get it 🙂
the other hand – yesterday I have spent couple hours with friends of mine at university pc lab on other uni project.. Software Engineering UML different diagrams. Below story:
Napier Kitchens (NK) supply and install Kitchens for clients, they need an IT system to help them keep track of their work.
Potential clients can contact NKs Customer Services Manager and request a quotation for a new kitchen. Normally they request a catalogue before asking for a quote. They must supply details of the room that the kitchen is to be installed in (size, location of windows and doors etc) as well as their name and address. Once they have submitted their details a Planner visits them and produces a quotation for them.
If the customer accepts the quotation a deposit must be paid. A kitchen-order based on the quotation is created. The customer supplies payment details (e.g. a credit card number). If the payment is unsuccessful NK cancels the kitchen-order. Assuming successful payment NK places sub-orders for the kitchen units, floor covering and paint with separate suppliers. NK use three other “sister” companies within the Napier group to supply these requirements.
When all of the items have been delivered the planner sets an installation date for the kitchen-order. The customer may reject the install date and request another date.
The Kitchen Installer then visits and installs the kitchen. When it is finished the Planner visits the customer again to verify that the kitchen has been installed as agreed in the quotation. If the kitchen has not been installed satisfactorily, then the Kitchen Installer visits again to rectify the problem and the Planner again checks the installation. This continues until the customer and planner are satisfied with the work. When the kitchen has been installed to the customers’ satisfaction the planner marks the kitchen-order as complete and requests full payment from the customer. When payment is received the kitchen-order is marked as “closed”.
Please note that the mechanics of payment (credit/debit-card handling) are dealt with through a banking system which will accept and verify payments. It is only necessary to record that the payment has been made successfully or not.
Coursework part 1
Undertake an analysis and design exercise for Napier Kitchens. As part of this exercise you will undertake the following steps:
1- Produce Use Case diagram(s) for the NK system
You must identify the principle actors within the scenario and produce sufficient use cases to cover all of the actions described in the scenario.
2- Produce activity diagrams for the activities identified in step 1.
3- Produce a class diagram that illustrates the classes required to perform the operations identified in step 2. Your class diagram should include methods and attributes. You are not required to write method bodies in Java at this stage.
and here is my UML class diagram:
I have done as well case and activity diagram’s but I haven’t uploaded them yet.
hope it is Ok – presentation on Friday 5th – finger crossed.