Coder Social home page Coder Social logo

speedlimits / museum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sirikata/sirikata

8.0 7.0 3.0 8.26 MB

Augmented Museum, a Sirikata application

Home Page: http://www.sirikata.com/

License: Other

Assembly 0.02% Shell 0.03% C# 0.20% Perl 0.26% C 4.66% JavaScript 12.14% C++ 37.13% Python 45.57%

museum's Issues

focus on picture

javascript event causes camera to move to a position looking directly at artwork, at correct distance & angle (if painting, parallel to wall)

Flythru: Start and stop

Fly starts automagically when you click Start button on the Start screen.

The final keyframe should trigger a return to the Start screen

add staticbox subtype

staticbox subtype would allow us to set up arbitrary invisible walls, by specifying non-existent mesh files (we used to do this before we had dynamicbox and staticmesh)

staticsphere my also be nice, especially as a child of an avatar

application is dependent on live CDN's

right now, the app doesn't even work if it's not connected to the internet. Responsiveness on loading objects is related to network speed.

Given that the app will be deployed in Europe, and we don't want to commit to keeping sirikata.com up 24/7, we need to ensure that all assets AND name->asset mappings can be stored and retrieved locally, without need of an outside network connect.

Simple fix: we have the Staging mechanism, where a names.txt file has name mappings and assets can be in Staging or Cache. A simple script could download names and assets from the CDN to the Staging folder. However, without actually parsing the assets, we can't determine what we need, so we would have to download the entire CDN, and possibly multiple CDN's.

A better approach would be to have a command that tells the app to dump its current name->assethash map into the Staging/names.txt file. This would capture all the name->asset mappings we are using in a given run of the application. Presumably the assets themselves are in the Cache (otherwise we wouldn't see them). That way, the app should run fine without a network connection.

Related issue: some assets have URL's hard-coded in their sub-assets, so even if we move them to Sirikata.com they continue to try to download parts from graphics.stanford.edu. I'm not sure if/how these assets work if they're in Staging and Cache.

occasional crash before physics starts

pressing left or right arrow before physics is initialized occasionally sends your avatar to an insane position, where the x coordinate is many digits long and all you see is blue

(seen in ccrma most recently, but I believe it's also happened in master)

feature request: camera plane adjustment

with the JScript panel taking up about 1/4 of the screen on the right-hand side, the remaining area in which 3D activity will go on may look strange because the camera is off-center. Ken mentioned there should be a way to adjust that in Ogre &/or the rendering pipeline. Patrick mentioned that this could bring up issues wrt selection logic and ray tracing.

curator bug: need to click picture twice to select

if two pictures are on the wall, and I'm moving one, if I click another and move the mouse (without a second click), the first picture moves. Need to click a painting twice to actually grab it and move it on wall.

sirikata import bug

putting this here to remind us to work around this bug (sirikata.com/trac # 55)
we need to write a script to fix problem material files on the CDN &/or fix upload and re-upload all bad files

basic idea: some material scripts have mis-formed text. They should look like:
delegate "meru:///H6VPhlsl.program:H6VPhlsl"
but instead some are like:
delegate H4VPhlsl

these are all hash-named files in assets/
so when fixed, the hash must be recomputed, the file renamed, AND all files that point to this file must be fixed as well (names/ files? Or could the hash be in another hash file????)

Lights focus on picture

This is totally a 'nice to have' but it would be cool if when selected the spot light on the picture was the main light and all other lights tone down so you make the picture jump out at you.

Wordpress as storage solution

Try to use a wordpress post as the storage for gallery data.

The comments for the post will be the comments for the gallery

right-click selects objects

for artist branch, right-click is used for camera movement; only left button should select things.

Patrick says some old code allows right-click to select in a different order (but we're doing top object anyways so that's obsolete)

fake light

we need a light type that isn't actually put in the scene so Ken can use it as a template for moods

flythru manage .csv files

need more than just a hardcoded camera_path.csv -- maybe have it mirror scene.csv name?
also put it in scenes instead of cmake/build

Start Screens

Each of the 4 modes needs a start screen. These should:

*have a unified look
*contain a short description of what the mode is (maybe a picture/illustration?)
*have a start button to click

feature request: click to move camera

in curator/critic mode (maybe others), one mode of navigation should be to click on a place in the scene, and have the camera move there (not instantaneously -- move gracefully and gradually, as if controlled by a user)

if the click occurs on a picture or sculpture, the camera should additionally center itself so the object (if a painting) is parallel to the camera plane, and at a comfortable viewing distance.

Need to tag moveable vs. static objects

Sometimes it is too easy to select background objects, then move them inadvertently. We should have a tag on all object, indicating whether they are movable or not.

Perhaps rather than a Boolean, it should be an integer that requires a certain level of permission to move:
if (obj->moveability < mParent->motionPermissionLevel)
SelectForMotion(obj);

or an OR of permission flags

if (obj->moveability & mParent->permissionFlags)
    SelectForMotion(obj);

feature request: mouse hover highlights object

8/24 meeting --

in Curator/Critic modes, hovering over a painting or sculpture should visually indicate that it can be selected (clicked)

Suggestions: coverflow-like enlargement (temporary?)
color shift
border
flash (like artist selection mode)

test bug

we will use the issue tracker to track features and bugs for the Augmented Museum project

if you're not sure whether something is a bug in the core Sirikata code or specific to the Augmented Museum, put it here first.

needed: script to create scene from Max

discussed 8/24 --

There is a way to export scene data from Max (ogremax?) that creates an .xml file with every scene element's position & orientation
Script (Python?) would parse this xml file, and create an equivalent scene.csv file for Sirikata import
assumption is that every scene element corresponds to a .mesh that will be exported/imported

assign: dbm?

needed: script to create paintings

discussed 8/24 -- Patrick Horn volunteered -- probably Python
script will take 60+ paintings in (tiff?) format, create properly proportioned mesh, power-of-2 .tga, set UV's properly, convert to dds, create a folder ready for upload

Navigation toolbar disk cannot be moved

The navigation tooldisk cannot be moved. Part of the problem is that the entire surface seems to be active to trigger motion. I suggest reducing the active area in the tooldisk, and use the remainder to move the tooldisk by clicking and dragging.

Video Playback

For the flythru video should play on an off screen awsomium webview (texture mapped)

Playback should be triggered by a scripting event (for instance 2:34 mins into the flythru the video starts playing). Consequently video should stop playing upon a different event.

Sound is not necessary for the video.

Disable Keys and mouse

In fly through mode we need to be able to only let user look around by moving the mouse. Every other mouse click or key press should not do anything.

Light: Scenarios

Create light presets that can be triggered via the javascript interface in curator mode.

These presets will consist of ambient lights as well lights that are attached to paintings

ctl-s crashing

(master) -- ctl-s sometimes crashes, saves just the camera

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.