Giter Club home page Giter Club logo

bwjs's People

Contributors

bushidobrwn avatar hyiero avatar kmcurry avatar mbraz003 avatar mbrazell avatar

Watchers

 avatar  avatar

bwjs's Issues

Needs visual feedback of snaps and unsnap

When I'm snapping and unsnapping models it's helpful to see snappable surfaces and connection points (socket positions).

When snapping two surfaces together the surfaces should highlight just before the snap.

Ideally snap doesn't happen while the model is "help" by a mouse down or touch-press. Snap detection is run after the model is released from selection.

When unsnapping two surfaces there should be a highlighted sphere showing the unsnap point. Clicking anywhere in/on the sphere unsnaps the two surfaces.

(Or something like that.)

Port Command Trigger

CommandMgr.js needs: createCommand & createAttribute ported from CommandMgr.cpp

CommandMgr.prototype.createCommandTrigger(command, attribute) {

}

CommandMgr.prototype.createAttribute(attribute, value) {

}

State Machine

Implement a simple state machine to conditionally control attributes and commands

Port Envelopes

Dissolve envelopes are used in Lightwave Scenes (LWS) to fade objects in and out. LWS2XML writes out .env files and references them in the XML output but they don't work when parsed as input in BwJS.

CC @mbrazell

Antialias

Port antialiasing to smooth models that are not moving.

Not handling mouse events in Safari

When I'm running in Safari mouse events are not handled correctly. When I click on an model the collection bridgeworks.selector.selections.models stays empty.

Bones

Port bones so that animations using bones will work.

EZ Texture

  • I want to take a picture of myself with my web cam and paste my face on a the head of 3D model.
  • I want to paste a picture of my friend's face on a 3D model.
  • I want to texture a simple building or terrain

Physics

Integrate a physics package

  • Change (increase/decrease) mass with scale.
  • Add time scalar to account for scale of scene (3Scape)
  • Collide on object inspection
  • Handle changes to rotation
  • Serialize PhysicsSimulator
  • Remove object removes from simulator

Record

I want to record a brief video clip of a scene I've created. I also want to take a picture.

LWSceneBuilder fails to check evals for null

In the C++ version the function checks the length of the evaluators array for > 0 and the pointer to the current evaluator for not null. The JS version needs similar checks.

Blue Cube Model returns wrong color values on load

When you add a cube to the editor it shows up blue but if you go to the console and type selectedModel.color.values it will return 1,1,1,1 which is white. It seems as though the cube upon load is not updating the Model color values.

Trace and Paste

When I copy an object I want to have a continuous gesture such as dragging my finger on the screen that pastes a new copy wherever my finger goes.

Sound

Implement sounds.

I want to be able to link sounds to actions and objects.
I want to be able to synch sounds with animations.

Model has wrong color on load

When I load a model I see that it has color (set by Travis in LW). Querying the color, however, returns white (1,1,1). When I copy and paste the model the copy is white.

screen shot 2015-02-28 at 8 57 54 am

Should serializeScene return the xml?

SerializeCommand's serializeScene function concatenates to a variable called serializedScene. This variable isn't declared anywhere in Bridgeworks. For this to work a client application, ex., 3Scape must declare this as a global variable. Is there are reason the function doesn't simply return the value as a string?

It could be a very large string.

In any case there must be some more elegant way to handle the result.

See line 27840 of Bridgeworks.js

Demonstrate Balloon Tip Label

Create a demo that utilizes BalloonTipLabel. For example, load a box model and attach a label to the box that appears on a mouse hover or click event.

Walk and Fly

I want to be able to walk and fly through the scene using my peripheral devices (mouse, keyboard, stylus, Leap motion, Kinect...)

Models having both sockets and plugs are not selectable

I created a Cube with both a socket and a plug. I tried with a socket on the y normal +1 and plug at y normal -1. That didn't work so I tried y normal 1 and x normal 1. In all cases the model is no longer selectable. If I remove either the socket or the plug the model is selected.

screen shot 2015-02-18 at 5 48 03 pm
<Model name="Cube" url="objects/cube.lwo" detectCollision="true"> <position x="0" y="0" z="0"/> <rotation x="0" y="0" z="0"/> <scale x="1" y="1" z="1" /> <physicalProperties> <mass>5</mass> </physicalProperties> <socketConnectors> <socketConnector type="110v"> <normal x="0" y="1" z="0"/> <slot1> <center x="0.25" y="0.25" z="0"/> <radius>0.2</radius> </slot1> <slot2> <center x="0.25" y="-0.25" z="0"/> <radius>0.2</radius> </slot2> </socketConnector> </socketConnectors> <plugConnectors> <plugConnector type="110v"> <normal x="1" y="1" z="0"/> <pin1> <center x="0.25" y="0.25" z="0"/> <radius>0.2</radius> </pin1> <pin2> <center x="-0.25" y="0.25" z="0"/> <radius>0.2</radius> </pin2> </plugConnector> </plugConnectors> </Model>

Conway's Game of Life

Conway's Game of Life "is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1]

The "game" is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves or, for advanced players, by creating patterns with particular properties."

Requirements for Bridgeworks:

  • Ability to place initial configuration
  • Check/fix algorithm
    • Automatons smaller than 5x5x5 halt after a few minutes.
    • 2D automatons halt after a few steps.
      • It looks like more cells should be occupied at beginning for 2D.
      • Verify that known patterns, ex., gliders, produce known results.

AutoInterpolate has a misnamed variable

When I run AutoInterpolate it fails with "can't set attribute 'length' of undefined" on attributeReferencePairs. The correct attribute name is attributeRefPairs. When I replace "attributeReferencePairs" with "attributeRefPairs" it works.

ScreenCapture sometimes capturing a blank image

Somewhere with drawing the canvas and updating it the screencapture is returning a blank canvas. I have reported this to Michael directly but I wanted to post this as an official issue.

Snap-to

Implement "snap-to", which attaches one model to another within a proximity.

  • surface proximity highlighter

Billboarding

Billboarding is needed, for example, to make the smoke simulation work

Model Color

Port model coloring so that it can be set.

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.