Transferring rig weights from one mesh to another in blender 2.76 - blender

I've recently started using blender in order to create my own models for games and such. I have created a model, rigged it, created clothes separately and now I want to add those clothes to my model so that it moves with the rig without the skin poking through.
So there are many solutions that use the weight transfer tool but I can't seem to get this working with blender 2.76. I parent the rig to the clothes with empty weight groups under the deform option. I then, selecting the mesh and then the piece of clothing, go to weight paint mode and choose the 'transfer weights' option under the tools section but the weights dont actually get transfered, nothing happens.
All the tutorials online use previous versions of blender and so the interface of options when choosing to transfer weights is different which could mean that I am just selecting the wrong options (I tried messing with them but nothing works).
Any help will be appreciated. I can post pictures later if need be.
Thanks

For the sanity of others:
For some reason, the weights do not transfer automatically in Blender 2.76 however it works perfectly in previous versions. What you can do instead is use the data transfer modifier. Before you start, make sure you clear any vertex groups created when you parented the rig and unparent the item of clothing from the rig. So click on the object data tab and if there are any groups under vertex groups, delete them with the minus button on the side.
Now go to the modifers tab > add modifier > data transfer. Select the source from which you wish to copy the weights over (the main body). Choose vertex data from the options and then select vertex groups. Finally press the generate data layers button at the bottom.
Now if you switch back to the object-data tab, there should be a listing of the bones of your armature under vertex groups.
Lastly, enter object mode > select your piece of clothing and then shift select your rig > CNTRL+P > with empty groups. And wa-lah!
I also had some other issues because of other modifers I had (the mesh was deforming weirdly) but I managed to fix it by simply applying the data transfer modifier.
Enjoy :)

Related

RedisInsight: Configuring graph visual display/results?

Is there a way to configure the display of RedisGraph results in RedisInsight.
May be an option to edit the CSS directly is good too.
The reasons :
The color of the nodes is awful
The font-size is too small
nice to be able to change color of nodes with property value X
it will be good to be able to specify the default-property that will be displayed instead of node ID. Also on mouse-over too. (i know i can changed but it becomes tedious to do it for every result).
same for relationships
ERR: If some of the nodes in the result does not have the property you want to switch to (for display), then the 'switch' does not work i.e. all nodes still display IDs
for my screen it just happen that the +/- zoom is hidden i.e. I have to scroll back and forth. It will be good if we can use the keyboard to zoomin/zoomout
once you select something you have to click outside of the graph area to be able to scroll, supper annoying
command history on the query editor would be nice
ability to pin the result-area so that the new result does not spawn yet another area .. it is nice to have the option for multiple result-areas, but the normal interaction is refining queries rather than writing new query every time. (tabs would have been better)
if possible select-area to zoom will be nice. (by holding mouse down and selecting area )
!! double-click outside a node, may Zoom, instead of doing nothing
!! local zoom/search : typing in search-bar (there is space for it after +/-) to zoomin on the node with that have property and/or value f.e. val:3 , word:test , ...
Posting this here because couldn't find a place to give feedback on RedisInsight !

Get vehicles coordinates

I am using SUMO traffic simulation source code (in windows and Visual Studio) loading the UI and running a scenario.
I need to get all the vehicles coordinates at a certain frequency.
I am looking for a method, in the source code that "moves the vehicles", that I can get the locations?
I know that if I right click in the UI on a vehicle, I can copy it's Geo position of the cursor and set a break point in: GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition
and get the coordinates, but I am looking for something frequent and constant.
You are probably looking for --fcd-output, see https://sumo.dlr.de/wiki/Simulation/Output/FCDOutput
If you need it online use TraCI or libsumo with the vehicle.getPosition function, see https://sumo.dlr.de/wiki/TraCI/Vehicle_Value_Retrieval

How to make text within nodes findable in cytoscape.js, dagre-layout

I have been trying to use the dagre-layout in cytoscape.js to create a graph, however I seem unable to find the text within nodes, which I am able to do in dagre-d3, (EDIT: Find as in CTRL + F).
It seems like even in demos such as: http://js.cytoscape.org/demos/labels/ this is not available.
Any ideas on how to make it possible?
When working with Cytoscape, you're not working with traditional DOM elements for the nodes and edges. Rather it draws on a canvas. So are you screwed?
Nope. You just need to program a bit. Add a text box to your page. Add an on change listener to it (or add a button to search only when the user clicks it). When the user types, you can run a search that reads through all of the nodes in the graph. For speed you might want to implement a binary search based on the node's text.
When you find text that matches (exact or partial), you can add a class to change the visual appearance using Cytoscape.js' addClass method. You decision of how to show the data is up to you.

What is the most efficient way to quickly understand how a complex LabView VI works?

What is the best way to understand a complex LabView VI that controls a motor?
My goal is to control the motor from a joystick.
The wiring diagram shown below allows a LabView user to control the motor from the LabView GUI: move a slider up and down either increasing or decreasing the desired velocity. As the slider's value changes, it is fed into a bunch of math controls and eventually gets converted into a command string for the motor to interpret. This command string, if I understand correctly, is bunch of bytes that get written to the serial port.
Instead of using the LabView GUI to control the motor, I would like to use the joystick.
What is the best way to approach this?
The joystick has pitch,yaw,roll,and throttle. Which one relates best to the velocity of a motor?
The answer to your title "What is the most efficient way to quickly understand how a complex LabView VI works?" is probably to do some combination of the following:
Look at the VI's inputs and outputs to try and understand what they are there for. The label and caption of controls and indicators may be helpful, also right-click to check the description and tip.
As well as controls and indicators, look for other I/O: queues, notifiers, global variables, file read/writes, instrument communications, and for any data storage that persists between calls such as an uninitialised shift register.
Look at the overall structure of the VI to see how it executes, e.g. is it a one-off operation, does it execute different cases depending on some input, does it loop until a certain condition happens, does it use a state machine structure, etc
Break down the VI's structure into smaller pieces that you can understand. You could print the diagram out and annotate it by hand, or add frame decorations and text comments to the diagram to record what you deduce. If the diagram is cluttered or poorly laid out, rearrange it as you go along (use Ctrl-click and drag on the diagram background to add blank space where you need it).
Set probes on key wires and watch them while the VI runs to see what happens
If possible, manually set the VI's controls to example values and run it to see what happens (this may not work if the VI depends on other parts of a program running at the same time)
Write a test wrapper VI that calls the complex VI and supplies it with example data or inputs to see what happens.
To address your specific question about the VI diagram you've posted, I can see various controls for quantities such as Velocity, Position, Amplitude, Max A (amplitude?), Frequency and so on. You need to decide which of these quantities should be controlled by which axis or output of your joystick. Then you need to add code that reads those values from your joystick, and modify the existing code so that the parameters you want to control are supplied by the joystick values instead of the front panel controls. You could probably just put the joystick reading code inside the existing loop, wire the joystick outputs to join up with the wires from the front panel controls you want to replace, and then change the relevant front panel controls to indicators from the right-click menu so that they will show the values you are getting from the joystick.
The best way is to write one from scratch. But you could analyse the code by clicking the Highlight Execution button to display an animation of the block diagram execution when you run the VI, and use probes to check intermediate values. And you probably should also do an on-line course, e.g. LabVIEW Training: Learn LabVIEW in Three or Six Hours
My answer to your third question is "throttle.".

Dynamic JFreechart

I have a project where I read values from a file. I'd like to create a Dynamic chart where the user will have the ability to choose sections of the graphs and these sections will zoom - in in order to see the results. This functionality is similar to what the Excel does.
For example in the initial graph the user is able to see the graph of the whole year but I'd like to be able to zoom in and to see the graph of a specific day in the same panel,labelm frame.
Is it possible to be done via JFreechart???
In the Java Web Start demo, most examples have zooming enabled. To zoom, right-click to see the context menu, click and drag a selection or use the mouse wheel. TimeSeriesChartDemo1, found in org.jfree.chart.demo, is a good starting point.