GithubHelp home page GithubHelp logo

1452712 / furnature Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 202.13 MB

C++ 14.21% C 1.02% C# 0.59% CSS 3.05% JavaScript 63.16% HTML 15.94% Objective-C 0.03% Batchfile 0.06% VBScript 0.01% Less 1.88% ASP.NET 0.01% TSQL 0.06%

furnature's Introduction

FurNature

1.Introduction

Overview

This is a furniture selection & preview VR WebApp, which can be accessed from both Android and iOS:

  • Five components in this application: User, Furniture, Selection ("Shopping Cart"), Environment (Original Picture), Home Model;
  • Using thread pool to support concurrent multiple user accessing;
  • Using ASP.NET、ADO.NET to complete the processing of the basic page.

Techs applied:

  • .NET (.NET + IIS + SQL Server)
  • WebAPI
  • SQL Server
  • Entity Framework
  • LINQ

Usage

  • Step1: Access ip:2494/ via browser
  • Step2: Click "Save to Home"
  • Step3: Login (you can register by email when first time logon)
  • Step4: Take a picture then upload
  • Step5: Manually select the corners of the wall and the indoor model will be generated automatically
  • Step6: Roam in the house, select furniture, and preview
  • Step7: Click OK if you like the furniture, and then it will be added to the shopping cart
  • Step8: You can review and modify all the selected furnitures anytime

2. Deployment

HOW TO: Install

Please backup before modifying system config. For IIS >= 7.0:

%windir%\system32\inetsrv\appcmd add backup "PreMsDeploy"
  • Run.exe (win+r) then input inetmgr to open IIS Manager.
  • In the IIS Manager, expand the "Server" node and then the "Site" node, select "Default Website".
  • In "Actions" on the right, click the "Import Application..." to start packaging guide.
  • Select \Deploy\FurNature.zip
  • Now you can view application and database in the pop-up.
  • In tab “parameter”,enter a name for the app, and the SQL connection string.
  • Clike "Next" to install.

HOW TO: Startup Server

csc @StartUp.rsp StartUp.cs
[Admin] cd E:\study\homework\dotNET\final\FurNature\Assembly\StartUp
[Admin] sn -k myStartUpKey.snk

[assembly:AssemblyKeyFileAttribute(@"E:\study\homework\dotNET\final\FurNature\Assembly\StartUp\myStartUpKey.snk")]

[Admin] gacutil -I StartUp.dll

sn -tp StartUp.dll
// Execute reference
Assembly.Load("StartUp,Version=1.0.0.1,Culture=neutral,PublicKeyToken={PublicKey}");

Database: SQL Sever (under \App_Data)

  • user id, name, pwd

  • furniture id, name, type, img, price, purchase_url, introduction, path

  • user_furniture user_id, fur_id

  • model id, user_id, name, img_top, img_bottom, img_left, img_right, img_back

  • photo id, user_id, model_id, x1, y1, x2, y2, path

3.Program

Code Tree

  • /FurNature: The core of application, using MVC arch

  • /Assembly:

    • Shared assembly: StartUp
    • C++ assembly: GenerateModel, setting up 3d model via OpenCV
    • Win32 dll: Add
    • COM: MathCom

IDE

  • Visual Studio 2015

  • x86 / AnyCPU

Slides

  • Presentation.pptx

furnature's People

Watchers

 avatar  avatar

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.