I want to design a 3D human hand and control it via signal generated from my Arduino kit. I designed a 3D hand in Blender but how to give the signal generated from Arduino to add life into it. Which tool I should use.
For example I have designed an arbitrary frequency generator. And I want at a particular frequency the Hand will mimic Pinching, or to Fist. Which tool I can use to use the generated signal as input to a Programming interface and output of the Program as a Animated 3D hand.
Please help guys......
Thanks in Advance.
Python would seem the obvious solution to this, as it can interface directly with Blender.
I'm not sure how your controller works with frequencies, but chances are there's a library or a way to handle it in python.
I would suggest looking at this forum post to learn how to set up the animation you want via python script.
Python can then be used to render a series of images (of the hand) like this:
for i in range(last_frame):
bpy.ops.anim.change_frame(frame = i)
bpy.data.scenes['Scene'].render.filepath = '/home/user/Pictures/frame%d.jpg'%i
bpy.ops.render.render()
I need some help finding a graphic library for Windows Mobile 6 with a control to answer some quick Yes/No questions.
Something like what's shown here
Also, I need to do something like this.
I don't need to present it the information in the exact same way but that would definitively be a plus.
Thank you very much in advance. Any help will be appreciated.
The way I did it at the end was how josef said, I wrote my own control for the Yes/No answers and I designed a static class to draw over a predefined image with the format already stablished (I just draw the lines indicating what the driving did at a particular time)
Does anyone knows about any editor allowing to visually design a form (by form I do not mean DFM or Delphi form, but a "paper form", like those pre-printed forms that you fill with some info) and that generates pascal commands to draw that form in a Printer (or Image) canvas?
What I want is an easy way to draw/design this form visually, composed just by lines and text, and a way to convert this to Pascal commands that when run, will draw that form in a Canvas (Image or Printer), respecting the original layout and scale, doesn't matter the Canvas DPI where it is being drawn.
Update: Maybe I wasn't clear enough about what I need and why I need it. I developed an Open Source component called TFreeBoleto (freeboleto.sf.net). It is used to generate and print bank billets (a common method for billing people in Brazil). Right now, the component uses a TBitmap image containing the "billet" mask, and TextOut methods for the dynamic areas (ie: billet number, customer name, etc). It is fine when looked in the screen, but some people complains that the quality of the printed image is not good. The component uses a BltTBitmapAsDib procedure to maximize the quality of printing, but some people still think it is not good enough. So, my idea was to avoid using a bitmap image as the form layout, and draw everything direct in the canvas (both form and printer). Check here for a sample of what a bank billet looks like.
Of course ReportBuilder and/or FastReport could solve the problem, but they are not free, so I cannot include it in the component. I need "native" solution that any standard Delphi install would be able to compile.
You might get what you want out of the Fast Reports Report Designer which is a commercial reporting system for Delphi. Remember that a report is just a page. That page can be shown on the screen or printed on the printer.
You also might find that something like TRichView helps you.
Whether using TRichView in particular or not, I would look into using HTML to do what you want. I would use HTML+CSS to do both a screen and printer layout, that can also be viewed on the web. For simple text layout plus text boxes I think even bare HTML and HTML tables might be sufficient. To visually design simple text pages, using a Delphi application, I would use TRichView.
In both cases, you would be creating documents, not code. To create code that creates a page, without using any document system, would be very difficult indeed, and I am not sure what you would really do with that code, since you would need a compiler or interpreter to convert that code into something that you could use. Please clarify what you mean by "creating code", and what syntax you would want that code to be using. If HTML is code in your definition of "code" then maybe HTML is the best kind of "code" for your problem.
I do my form-work with WPTools. It is also a commercial product. The core is a very good wordprocessor and form-designer. The engine can render text and forms to any canvas (screen, printer, also create pdf) and is highly flexible. Output is mainly rtf and html.
I also see no advantage in creating pascal code to redraw the form. What you need, i think, is a good WYSIWYG-editor which creates a document that fits your needs.
Check out ReportBuilder # http://www.digital-metaphors.com/
It is a commercial reporting tool for Delphi - around a long time, very high quality, with all native Delphi source code packaged with it. I am using it for an important commercial project right now and I recommend it highly (I'm not working for them.) I've used MANY Delphi reporting tools over the years and this one is the best IMO.
RBuilder also has extensive support for paper form emulation see:
http://www.digital-metaphors.com/products/report_design/form_emulation.html
I haven't worked with that feature, but you can download a full-featured demo and try it.
Yoy can use Adobe Acrobat (full version) to create forms.
Then you can use free Acrobat Reader to display and print forms or other COM object in your application.
I think it is best solution for you.
PS
All tools for reports that are included in Delphi are free for you to design form and are free to distribute if user only preview and print already designed reports.
The same is valid for Adobe Acrobat (you may distribute forms) but you have added that you need to print form and some text over form. Maybe it is easier if you use reports but it is possible to do the same using PDF.
Most report engines are not open source but are free to distribute. There is many components for creating PDF - paid (one time), free, as well as open source.
PPS
I have read your updete for second time. Since you are using TBitmap and you can to TextOut so: You can use TMetafile. There is many editors for metafiles and it is free to distribute metafiles.
For example, let's say I would like to design a GUI with a table that the user enters data into. I then want to have 2 push buttons: one that will save the data currently in the table, and another that will clear the data from the table. Are there any code examples/tutorials that explain in general how I can accomplish saving/modifying the state of uicontrols in a GUI in this way?
Doug Hull from the MathWorks has a nice video tutorial showing how to save and restore the state of a GUI.
You should also check out 41 Complete GUI Examples (specifically GUI_41.m) from Matt Fig on the MathWorks File Exchange.
It should be straight-forward to figure out from those examples how to also clear all the data from your GUI.
Full Tilt Poker's GUI has a box of text that keeps reporting on the state the current hand. I wanted to be able to parse that text but do not know how to gain access to it, so if anyone could point me in the proper direction, I would appreciate it greatly.
Image with the GUI and text box: http://img143.imageshack.us/img143/6660/ftpbox.jpg .
This neat analysis of harvesting data from an online Poker GUI interface is a pretty nice read; they suggest, for accessing the text, API Hooking with something like detour.
They also suggest the much-more-painless method of reading the actual log/hand history output that most poker clients write to the disk in real-time.