Page 1 of 3

Haptic Scripter (RealTouch video tool)

Posted: Wed Dec 12, 2012 12:01 am
by ColorOfSin
Haptic Scripter is a open-source tool for users to script RealTouch Events to video.
This application is based on the information provided in the RealTouch CDK.
CDK Link -> http://developer.realtouch.com/getFile.php?id=0

Haptic Scripter SVN Link - > https://www.assembla.com/code/haptic-sc ... sion/nodes
Download Link -> http://bit.ly/Tl4wVZ

Requirements:
4.5 .NET Framework
Link -> http://www.microsoft.com/en-us/download ... x?id=30653
Microsoft Expression Encoder 4
Link -> http://www.microsoft.com/en-us/download ... x?id=18974

In the following I will try to explain how to use Haptic Scripter.

Here is how HS currently looks:
Image

HS File Menu:
Image

New Video Project -> This is for when the user is creating a new project without an already scripted video.
                                A wizard is used to guide the user through the steps to create a new project.
Open Project -> Open existing HapProj projects.
Import Scripted Video -> This is for when the user is creating a new project with an already scripted video.
                                     A wizard is used to guide the user through the steps to create a new project.
Save -> Saves the currently loaded HS project.
Export Script -> Allows the user to export just the script currently loaded in HS.
Export Scripted Video -> This allows the user to combine the current script and current video to a video with the embedded script.  This created video is to be used with the RealTouch device.
Close Project -> Closes the currently loaded project.
Exit -> Exits the application.


Here is a screenshot with a sample video loaded with no events:
Image

Here I have added events on every timeline:
Image
Events can be added to a timeline by Left-Clicking a blank spot in a timeline.

Events can be edited by double Right-Clicking an event, shown here:
Image
Each blue circle (thumb) is a point that can be manipulated by the user.
The numbers next to the thumbs show the value of the point.

The middle thumb is used to move the whole event.
The "<>" button is used to change the direction of the event.
The Arrow in the event and the color gradient are used to show the direction of the event.

Stop events are currently the only events with context menus.
Context menus are accessed by Right-clicking an event.
Image

Stop Edit Window:
Image
You can change the type of stop using this window.

Re: Working on RealTouch Scripter

Posted: Wed Dec 12, 2012 1:35 pm
by ColorOfSin
Reserved

Re: Working on RealTouch Scripter

Posted: Fri Dec 14, 2012 4:34 am
by desertfox
Nice to see. I've been sort of waiting around to consider getting a real touch until something like this existed. It also seems like any of the CH videos here and real touch are a match made in heaven.

Re: Working on RealTouch Scripter

Posted: Sat Dec 15, 2012 7:38 pm
by ColorOfSin
Haptic Scripter 1.1.147.12350 RELEASE NOTES

Changes in this version include:

New features:
o Clicking errors in Error listbox will now show event to user and put event into edit mode.
Demo here: http://videobam.com/ZIsGC

Fixed Bugs:
o Wizards now will not allow user to move on untill selection is made.

Image

Re: Haptic Scripter (RealTouch video tool)

Posted: Fri Dec 21, 2012 3:14 am
by ColorOfSin
Link: http://bit.ly/ZWEOML

Haptic Scripter 1.3.212.12355 RELEASE NOTES

Changes in this version include:

New features:
o Now you have two video players to choose from, VLC or WMP(Windows Media Player).
Access this by going to Tools->Preferences.
WMP player has shown to frame-step pretty well!
I still need to get hot keys to to frame-step using the keyboard.
o WMP made as default video player.
o Stop events now have a Context Menu, labeled "Edit" (Right-click event).
o VLC dll's and "plugin" folder removed from installer (~30MB smaller)
o "Rip Script from Vid" under Tools.
Allows user to rip video script to txt file.
o "Import script" under File.
Allows user to merge or overwrite currently loaded script.
o Moved tooltips to be less in the way.

Fixed Bugs:
o A bunch :)

Re: Haptic Scripter (RealTouch video tool)

Posted: Wed Jan 02, 2013 3:21 pm
by lemming
Sorry, I just have to post since I'm personally development and electronics deficient I just have to say "THIS IS AWESOME!" to folks like this developing stuff that will eventually result in stuff us normal folks can use. I really appreciate it, personally, and thank you thank you thank you for taking your time.

That also goes to all the great folks here who take the time to write teases and, and to the people running the site so it exists in the first place. I'm just really grateful for all you awesome people.

Re: Haptic Scripter (RealTouch video tool)

Posted: Thu Jan 03, 2013 11:56 pm
by ColorOfSin
Thanks for the kind words.

I haven't forgotten about this project, I actually have a pretty big update in the works.
Just need to get localization stuff working (non-US people).

If anyone would like to be a beta tester, pm me.
Being a beta tester would just mean you get builds faster than other people and hopefully you would give me some feedback.
Also, your enhancement requests would be higher priority.

Thanks again!

Re: Haptic Scripter (RealTouch video tool)

Posted: Sat Jan 05, 2013 2:43 am
by lemming
ColorOfSin wrote:Thanks for the kind words.

I haven't forgotten about this project, I actually have a pretty big update in the works.
Just need to get localization stuff working (non-US people).

If anyone would like to be a beta tester, pm me.
Being a beta tester would just mean you get builds faster than other people and hopefully you would give me some feedback.
Also, your enhancement requests would be higher priority.

Thanks again!
I was thinking of picking up a real touch, but with it being PPV I didn't bother. If I DO get one now, what can I do with it other than your program? I'd be happy to beta test and give feedback if you need it.

Re: Haptic Scripter (RealTouch video tool)

Posted: Mon Jan 07, 2013 2:56 pm
by miketom1992
What an awesome interface!! Nice work guys!

One problem, every time I try to export a scripted vid, I get an error stating "Object reference not set to an instance of an object." Any help?

Re: Haptic Scripter (RealTouch video tool)

Posted: Fri Jan 11, 2013 7:41 pm
by ColorOfSin
Big update on this project with a lot better functionality and usability.

Download link:http://bit.ly/ZD5gGT


Haptic Scripter 1.3.326.11 RELEASE NOTES

Changes in this version include:

New features:
o Implemented "Please Wait..." panel for loading timeline events.
o Added detailed error message for Expression Encoder bug when extracting scripts.
o Cursor thumbnail size added to Preferences.
o Copy/Paste implemented. Use Ctrl+c for copy, Ctrl+v to paste.
Mouse position is used for start of pasting.
o Timeline Scroller now will scroll video.
o VLC completely removed. Sorry :(
o Implemented 5 different zoom levels

Fixed Bugs:
o A bunch :)

Re: Haptic Scripter (RealTouch video tool)

Posted: Fri Jan 11, 2013 7:56 pm
by ColorOfSin
lemming wrote: I was thinking of picking up a real touch, but with it being PPV I didn't bother. If I DO get one now, what can I do with it other than your program? I'd be happy to beta test and give feedback if you need it.

As far as what you could do with a RT device now.
Well the makers now ship dvd's with the device and offline viewing is possible.

The program I am working on, allows users to take a non-scripted video and create a script for the video and encode it.
This allows the user to play the encoded video just like a video from the makers of the device.

Currently the scripting process is a manual process (user has to position and add every event), but in the future I plan on implementing a motion tracking part that can "watch" the video and create a script automatically.
Of course the generated script won't be 100% done, but it would give users a great base to start modifying.

Anyway that's about it.

Re: Haptic Scripter (RealTouch video tool)

Posted: Sun Jan 13, 2013 6:35 pm
by lemming
"Anyway that's about it."

HA! You crack me up. That's like magic, from my perspective.

Re: Haptic Scripter (RealTouch video tool)

Posted: Tue Jan 15, 2013 5:22 am
by desertfox
Again not having a real touch here nor have seen the software etc, but thinking about some features that might speed up the process:

A 'macro' feature. If you could auto generate movements over a period of time based on some inputs such as frequency that might help rough out some scenes. Even better would be to macro out a series of inputs and then repeat at a certain frequency for a certain duration.

Another idea that might be easier than writing motion detection to rough out videos would be to take mouse or even just keyboard input for up and down motions as the video is playing. A user could say use a mouse to mimic the on screen action back and forth, scaled to a min/max threshold for in and out as they follow the action on screen.

After the user could go back and tweak the motions and time shift it back to match up with the on screen, but that might give an easier start than following the whole video.

I can't imagine how hard it would be to parse the video, you'd have to be smart enough to basically identify a dick from multiple angles based on pixel color, meaning it could be many different shapes depending on the angle and how far inside whatever object its busy with. Maybe it is easier than I know, but still seems rough.

I think a metronome sequencer is probably a pretty good compromise.

Re: Haptic Scripter (RealTouch video tool)

Posted: Fri Jan 18, 2013 11:42 pm
by bundle
What language is that? C#?

Re: Haptic Scripter (RealTouch video tool)

Posted: Sat Jan 19, 2013 12:34 am
by ColorOfSin
bundle:
Yes, I am using C# and WPF

desertfox:
Very good idea's! I will have to see what I am able to do once I get to that point.

BTW, I just started working on a rewrite/fresh UI

Image