DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DCv22 Steam Piston Animation

Started by Rattler, March 08, 2013, 07:53:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rattler

I'm still pretty rough in my 3D skills, but I've managed to get the steam effect I wanted working well enough to share.  The DC user manual describes how to make cylinders, hollow cylinders, and how to move them.  What was not clear was if one could add a volume of transparent gas, and make that volume grow along one axis and change color as the steam cooled from hot to a condensing mist.

DCv22 does allow this, and as a great bonus seems to actually make reliable .avi files once it is done!  Start by getting the basic motion done in the animation timeline.  Once the motion is set up, go back and play the animation step by step, stopping at points where you need to record a change, such as the size of the steam volume or its color.  Click on the steam volume and then open the info box.  The info box will not initially have all the frames showing on its Frames box, so you need to hit the + key to make them appear.  That will make a bunch of strays show up on the Timeline, so go to the timeline and delete any where you don't want to enter any changes.

In my case, I used non-linear piston motion so I made motion changes every 5 frames.  I decided to also set color changes and steam volume length changes at these points.  After setting up the frames in the Info Box, I used the Transformation table.  Hit +, change the type from Move to Scale, and three scale axes will show up.  I used piston motion in the Z axis so I scaled the steam volume along Z.  I worked by eye ... you can tweak the scale factor ... then moved the resulting volume to the right spot.  If I were better at manipulating 3D objects I could probably set the move handle at one end and make this easier.  Also, I managed to move the steam volume off to one side along the X axis ... this actually made a kinda cool effect in the 3D view so I left it in for the video.

When the scale and move is done, check the Color Transforms To box and select a color.  I created a series of colors along the red axis using uniform increments, then transformed to grey and on to white.  My basic shading for the steam set a high transparency.  I will probably refine this.  More sides to my polygon-cylinders would probably also help.

The unexpected thing I found was that these scale effects progress smoothly, just like a the basic movement of the piston.  I had expected they would simply jump, which would have been OK as I could simply have stuck the steam volume down into the opaque piston. I did make the steam volume diameter smaller than the piston so that it does not cover the piston surface.

Some tweaking is still needed for good videos, but I proved this package can do what I need.

Let's see if I can get the YouTube link right ...

http://www.youtube.com/watch?v=OytrsuP6J2w

Dr PR

DesignCAD user since 1987

MarkX

Excellent!

You might consider adding the word "DesignCad" to the u-tube title to increase the likelihood that DC fans will find it. Currently  it doesn't show up in a search for DesignCad. Actually, you might rephrase the title like "DesignCad Engine Piston Animation" so that people looking for animation technologies, CAD technologies, and DesignCad activities will be routed to your video. It would be a shame if people missed out seeing your video just because they couldn't find it. As it is, u-tube seems to think your video has something to do with soap opera or make-up -- at least those are the "additional videos" its suggesting to me. This might be partially because its categorized under "People and Blogs". I tend to put mine under Technology or similar.

Great work!
Mark

Rattler

Thanks for the tips.  This was just my second YouTube posting and I was not sure how it was going to use the various blocks.  But I thought I'd put a search term in for DesignCAD (that typography), so maybe that doesn't work like I thought or just that it needs time to show up in their index.  At the moment it shows over 20 views but no statistics, so I expect it just needs to catch up.

I also need to review the  license terms of my Pinnacle Studio 16 license.  They were using terms in there like "movies for your personal enjoyment", so I didn't mention that package.  If they prohibit me making a professional product, they're gonna find themselves dropped like a hot potato, not to mention being badmouthed for putting "Pro" in the version I bought.

Now, off to the camera store to figure out what went wrong with my purchase of a new Nikon DSLR to make videos with.  The little pocket camera used for that video ain't pro quality.

Dr PR

Rattler,

I use a Nikon D5100 and it makes excellent HDTV videos. Just be sure you get a flash memory card fast enought to keep up - 10x or whatever they call it.

Phil
DesignCAD user since 1987

Rattler

#5
A SanDisk SDHC Extreme, 16 GB, I hope will do the trick.  It advertises "300x speed," but 300xWhat they do not say.  45 MB/sec.  The salesman first suggested a cheaper one but I think it was slow.  I'll find out as soon as the battery is charged.

I'll also be playing with my lenses from my older D70 ... AF not AF-S, but they should work for studio use.  I got an AF-S lens with it but it is obviously much lower quality than my old ones, and slower.  I'll be trying it out on a microscope, too. 

There is a high-end-consumer camcorder on the shopping list, too.  For outdoor handheld work I'd like OIS and a very capable zoom.  I also want two or three cameras on hand for studio work, so I can switch POV and keep things interesting.

UPDATE:  This ain't sayin' much, but the D5100 is easily the finest video camera I've ever owned.  Just did a sample run down at the lake ... stunning 1080 HD.

Dr PR

#6
I bought two 32 Gbyte SanDisk Ultra cards that are rated at 30 Mbyte/sec. I have made a bunch of movies and there are no missing frames.

I had two 8 GB cards with my old D200 and never filled them up. When I bought the D5100 I really wasn't thinking about card size, and I got a spare in case the first one filled up. Fat chance! I can get 3200 full resolution pictures or about two hours of 1080p HDTV on a 32 GB card!

The D5100 is phenomenal - especially the "Indoor Party" mode. It takes beautiful photos indoors with normal lighting using flash fill, but they don't look like flash pictures. However, I must confess I am lusting after the D5200 with 24 megapixels!

I have also used it on my Leitz microscope using a cobbled together rig with an old Ashai Pentax microscope adapter and a Pentax-Nikon adapter ring. The flip-out view screen really comes in handy.

Phil
DesignCAD user since 1987

Rattler

#7
I've used the D70 with a Nikon/Pentax adapter and a collar that fits my trinocular inspection scope.  I intend to get another to fit 1.25" eyepiece mounts on my telescopes.  Nikons are not the preferred setup for astronomy because of their mysterious NEF format not working directly with image-stacking software, but I turned my back on Canon when they introduced EOS and rendered all my F-style lenses obsolete.  The Milky Way background in the animation video was shot using the D70 and a wide angle zoom, attempting to stack a couple of long exposures.

I do like the display, which will make it much easier to focus on a microscope, to focus astronomy shots, or mounted pointing down to copy documents.

Lots of stuff to try with the new camera.

Dr PR

I don't use NEF. The original sensor image is stored along with all subsequent edits, so you can always go back to the original. I suppose it has uses in some circumstances but I don't need it. File sizes can become huge.

I just take the highest resolution JPEG image. I always save the original and edit copies.

Phil
DesignCAD user since 1987

Rattler

#9
The hot trick in astronomy these days is to take a number of short images and "stack" them to get the desired exposure time.  In the old days you would use "hypered" film and exposures that could run into multiple nights.  Needless to say, one bump of the tripod, plane passing thru the field of view, or errant light turned on and the whole shot was trashed.  Plus, tracking had to be dead perfect.

With digital cameras you just take a lot of pictures and crank it thru a math engine.  You eliminate the bad shots, subtract out dark frame data, rotate the image to make bright key stars line up, and add everything that remains up.  This does not work with compressed formats like JPEGs. One normally uses the camera's native RAW format, but Nikon RAW (NEF) was, last I read up on it, proprietary and mysterious and the freeware stacker programs had not cracked it.  Hopefully they have by now.

Nobody else cares.  JPEGs make us happy.

As for spare SD cards, digging thru the manual they say the cards get hot!  They apparently shut the recordings off at about 20 minutes, and say you should let the works cool off between takes!  Swapping cards is probably the answer, although battery life is not very long, either.  Two batteries and two cards is probably a good bet for serious use.