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.

Animation does not export to AVI

Started by merkelerk, December 02, 2012, 10:14:07 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Dr PR

mk,

Here is a wild guess for you to try. You say the image moves to one side and what you are trying to show is off screen.

This same thing happens with the "File/Image/Save Image File" function IF graphics acceleration is enabled. If graphics acceleration is disabled it works OK. File image rendering uses different code from screen image rendering and this may be the problem.

Try deselecting the "Enable graphics acceleration" option in the "Options/Options/View" tab. You might also try disabling the "Enable offscreen bitmap" option. There has been some speculation on the Forum that this also messes up image rendering under some circunstances.

Just to be safe, also disable graphics acceleration in the "Shading Options" dialog that opens when you select smooth shading.

In any case, if you want shadows youo must disable graphics acceleration.

Try this and let us know if it helps.

Phil


DesignCAD user since 1987

merkelerk

I tried your suggestions, no change.

There must be some stray entity or setting that is unique to this drawing. I have tested the animation feature a number of times using basic drawings and have no problem.

I made the decision that this project doesn't really gain much from animation (how convenient for me ; ) ).
I'm spending my remaining time doing nicely shaded and lit stills for a power point instead.

MarkX

Quote from: merkelerk on December 04, 2012, 04:07:46 PM
I tried your suggestions, no change.

There must be some stray entity or setting that is unique to this drawing. I have tested the animation feature a number of times using basic drawings and have no problem.

I made the decision that this project doesn't really gain much from animation (how convenient for me ; ) ).
I'm spending my remaining time doing nicely shaded and lit stills for a power point instead.
I think if you could make a stripped down version of your drawing with the proprietary information removed and post it, lots of us would be willing to look at. Maybe one of us would spot something.

Good luck,
Mark

Rattler

Magic,

Sooo, sounds like you may be exactly the guy to ask regarding the differences between DC17 (which I still have) and DC22 (which I'll get if it does this)

I'm hoping to work up a series of steam engine animations.  I can get a piston to move in a cylinder in DC17, but efforts to change the size or color of an object don't seem to take, even being very careful with the order of steps creating the timeline.  The resulting video, if it works at all, seems to reject any change not present in the first frame.  I've tried a simple one in which I add different colored lines as the frames progress ... stepping thru the timeline shows them but they're not in the finished product.

In Step 3 below, you seem to suggest that color changes and other edits are possible in V22 animation.  I'm hoping this means I can illustrate moving steam and temperature changes with it.  I've stuck with DC since v2, and dread learning some new animation package, partularly as I have no need for 'toon characters.

The gjijoe "GM Corvette Engine Assembly LS2" video on YouTube (the search says it is DC22 but this may not be true) shows the sort of transparent gas color effect I'm looking for.

Quote from: magic on December 03, 2012, 03:37:26 AM
Hi Gordon,

I have received your file, and I tried to run your animation templates inside DesignCAD 3D MAX v. 22, but nothing seems to move.

Yes, I have tried all 3.

I guess this is why you get a blank .avi file.

DesignCAD is strict about procedure, when you want to animate.

1) Take a start picture.

2) Set the point on the time line, where you want your next picture.

3) Move, rotate, scale, change color, or whatever to your object.

4) Take the picture.

5) Click the next point along the time line.
etc. etc.

Hope this helps!

Rattler

Answering my own question ... mostly ... I decided to do a web search on the manual, and Googled dcad22.pdf.  You will just never guess where I found it!  :D

At first glance it looked identical to the dcad17.pdf manual, not to mention my actual print copy, right down to the page numbers, but closer inspection shows a new section on fine-tuning animations using the Info Box, which seems to have its own timeline features now!

So maybe I don't need a $3500 animation package after all.  Even TurboCAD seems to need an add-on for animation.

Now if only they'd output to mpegs.  Although there seems to be cheap/free software out there that can do it.

MarkX

Quote from: Rattler on March 04, 2013, 09:47:10 AM
The gjijoe "GM Corvette Engine Assembly LS2" video on YouTube (the search says it is DC22 but this may not be true) shows the sort of transparent gas color effect I'm looking for.
I can't see any animations claiming to be DC22. If you put DC22 in your search criteria, it likely just ignored it.

Those look like animations lifted directly from GM, and most likely done in CATIA. I hear its great software if you have $50,000 you don't know what to do with this year.

Mark

magic

Hi Rattler and Mark,

1) dcad22.pdf, no, where did you find it?

2) The "GM Corvette Engine Assembly LS2" is not DC22.

3) There is a lot of software out there that will convert .avi to .mpg. If you have a big enough computer, you may want to export your animations to vrml and open it in the Octaga Player just for fun.
It's a kind of magic!




Rattler

#37
Kevan Chapman of IMSI confirms the color will animate now.   But finding the manual at magicsystems.com let me see how it is done.

The new computer should be ready to pick up tomorrow.  It is customized for HD video editing.  C: is a solid state drive for the software.  Two 2 TB high speed hard drives are installed (i.e a TeraQuad), one for editing, one for video storage.  32 GB of RAM, Blu-Ray burner.  Processor is a new 3G i7.  Fancy graphics card recommended for Pinnacle Studio.  And two monitors, at last.

Think that will handle anything DesignCAD can produce?  Except Studio does not like the AVI thing, but that's easily fixed.  I'm looking forward to rendering one of these animations with a green background, then using the greenscreen feature and see if I can make the thing float in front of me.

I'm not so ambitious as to try a V8.  I'm aiming at fairly simple models of steam engines (Newcomen, Watt, and Evans) circa 1712-1812.

I'll skip the $50 k package ... probably does not use DesignCAD keyboard shortcuts anyway.  I've always been impressed with the value of DesignCAD, since I started with it back in the 80's.  It just keeps getting better. 

Dr PR

Rattler,

Keep us posted on your results with animation. This is a feature of DesignCAD that could use some more attention, but we need people with the time and inclination to wring it out and suggest improvements.

I'm pretty sure the V8 assembly animations weren't made with DesignCAD. DC doesn't do shiny surface reflections. You can create transparencies in DC like the heads and valve assembly in the animation, but you will need the fastest computer you can get to work with them, and then it probably won't be fast enough!

Does your new video board have hardware support for Open GL? What board do you have?

Phil
DesignCAD user since 1987

Rattler

#39
The graphics card will supposedly be a GEFORCE GT630 2 GB, which is apparently pretty bottom-end for their line.  It does support OpenGL 4.2.  I'm relying on my local PC shop to pick the components, as the guy knows video editing requirements pretty well.  But I can upgrade a video card if it proves inadequate.

The new one replaces one I bought for video editing in NTSC, that chokes on HD.  Speed is part of it, but memory and drive speed also figure.  The new one is the fastest I can afford, and the i7 processor is supposed to be the hot setup for video.

The really old computer I'm on at the moment ... hopeless. 

I'd noticed the lack of shiny in DC17 rendering.  My avatar is my lab/studio logo, and I first designed it in DC17.  I created and rendered the 6 tori in 3D, then went 2D and created the rattlesnake by tracing and hatching a photo.  However, to get it shiny and get good snake skin texture, I had to hire my niece, who used some fancy-shmancy graphic arts package.

I'm hoping to have a few examples fit for posting on YouTube by the end of the month.  The end goal is STEM education videos, possibly something marketable to National Geographic, SyFy, PBS, etc, although that's a long shot.

UPDATE -- I'm now logged on with the new computer.  When I moved the old monitor to make room for the new 24", in the clutter behind the monitor I discovered an unused DesignCAD 3D MAX v21 disk!  I forgot I'd bought a new edition!

Rattler

#40
FYI, I installed the newly found DCv21 on my new machine, fired it up with the existing drawings of the piston in a cylinder from DCv17, and the files all seemed to open correctly.  However, my attempts to export to .avi files produces what looks like the same problem the original poster was having.  The screen goes blank, lots of stuff flashing around the periphery to indicate it is trying to shade the views, and then when it is done the wireframe reappears.  Playing back the .avi file shows plain white, no cylinder or piston.

At least the new computer gets thru this screw-up a lot faster than the old one would have!

The .avi files created on the old machine with DCv17 play correctly.

I did try a color change exercise on DCv21.  I had already created a "cylinder" of gas, pink and transparent, in the v17-created file.  V21 allowed me, in animation mode, to specify color of this object at certain frames.  This is not a smooth change, but one could set color frame by frame, or every other frame, for a pretty good effect.  Custom colors are probably needed for a fine color change.  Playing the wire frame from within animation mode shows that the color change does work in animation if the export problem can be fixed.  My tests in V17 showed that the color of the wireframe does change the color of the shading.

Static shading is working in V21, it just won't export the .avi.

So this may indicate that v21 has an export problem.  As I intend to upgrade to V22 (now that I know I have a recent-enough version), I can go ahead and try that and see if the problem is fixed.  If it doesn't, there is probably some subtle problem with the setup.  Big snow day expected tomorrow ... a good opportunity to fiddle with the animation.

Rattler

#41
Some progress ...

The instructions for V17 very specifically said that if you wanted the shading transparency to work, you need to turn off graphics acceleration, so I had turned it off, and could get transparency.

I tried creating an .avi animation in v21 specifying wireframe mode instead of shading, and it worked.

I then tried switching graphics acceleration ON in v21, with shading, and got a servicable .avi clip, complete with color changes.  The transparency could use some work but I do get at least some transparency.  Graphics acceleration OFF causes the blank .avi problem in v21, but works fine in v17.

The instruction to turn graphics acceleration OFF should be taken with a grain of salt.   Back when v17 was out I think the whole art of graphics acceleration was highly non-standardized ... literally second generation VooDoo and stuff like that.  It could be certain cards, like my low-end GEForce work well with DC graphics acceleration.

I can definitely say that games written for VooDoo II screwed up royally on a GEForce card.

magic

Hi Rattler,

DesignCAD 3D MAX v. 21 has serious problems exporting animations to .avi files, but this was fixed in v. 22.

Here is one that I made earlier and loaded up to YouTube: http://www.youtube.com/watch?v=D7fx6jmKiMw

I refer also to this topic: http://forum.designcad.com/index.php?topic=4519.msg27180#msg27180

And should you want to try out the vrml option, I suggest you read this: http://forum.designcad.com/index.php?topic=4519.msg27863#msg27863

Lots of fun and lots of luck.
It's a kind of magic!




Rattler

Magic, I'd already seen your valve assembly video ... it prompted me to take another look at DC's animation capability.  Very nice, and a very impressive performance for such an inexpensive package.  I've seen better ... but I can't afford SolidWorks or the other high-end pro packages.  If I can get this gas color change working well, I'll post it on YouTube and a description of how to do it here.

I started with DC when working for a poor-boy testing lab for whom AutoCAD was prohibitive.  Once I got proficient with DCv2, it did what I really needed.  As time went on, it developed the ability to export to AutoCAD and other formats, so I could send my designs to a pro for finishing touches.  The ability to import photos which can then be traced has at least doubled the utility for me.  Even when working for companies that had the pro software, they never wanted to pay for me to have a seat, yet still expected me to design.  Thus, I've left a 3-decade-long
trail of designs every place I've worked using this humble software, including a quarter-million-dollar vacuum chamber.

Dr PR

Rattler,

I have been using low to mid priced GeForce video cards with DesignCAD for at leat 20 years, and they work well with the OpenGL interface. You can't predict how a card will work based upon the price. When I built my Vista 64 machine 6-8 years ago I picked up a video card at Frys. It was a GeForce card with the PCI Express x16 interface. It was just coincidence that I selected this card instead of half a dozen others sitting beside it at Frys. It was cheaper than some of the others.

As it turned out, the GeForce 8800GTS has the best OpenGL software performance in most categories, according to tests results posted at the "Tom's Hardware" web site. Many much more expensive cards had significantly poorer performance. The DesignCAD beta testers have run a number of performance tests to determine what effect new features and modifications have had on DesignCAD and my Vista system is usually one of the fastest on video intensive tests.

I stress OpenGL software performance because there are some very expensive video cards that are optimized for hardware support of OpenGL. Ordinary gaming cards like the 8800GTS and the GT630 process OpenGL in the software drivers, and very little of the on-board video gaming hardware is actually used. The on card firmware is optimixed for DirectX. In other words, the on-card software doesn't know how to translate OpenGL functions into operations for the on-card graphics processors (GPUs). The video card driver running in the computer (using computer CPU cycles) has to do the translation.

I recently built a new computer and I was going to use a GeForce GTX670. However, I chose a Quadro 4000 card instead - it cost about the same ($350-400US). The 4000 is the low end Nvidia CAD graphics card. The on-card electronics are about the same as similarly priced GeForce gaming cards, but the on-card firmware is optimized for OpenGL. It can receive OpenGL commands from the program and parse them out to the on-board GPUs, freeing up computer CPU cycles for other tasks. DesignCAD V22 doesn't have the hooks to use the hardware OpenGL features of the card. However, future versions may support OpenGL hardware, and I wanted to be ready for that.

I found some tests of the Quadro 4000 with a lot of popular gaming programs (Halo, etc.). It runs these high end games at full speed, at full resolution and all features enabled, so it isn't a shabby gaming card. I use Microsoft Flight Simulator to test the video systems on my new computers, and I have run it with all features maximized, 1920x1200 pixels, and 30 frames per second with smooth displays and instantaneous response (on a 3.2/3.8 GHz i7-3930K system). DesignCAD is phenominally fast compared to my older machines!

The point of all this is that I have a "gaming" card that works nicely with DesignCAD, and a "CAD" card that runs games quite well. Unless you can find good tests of a card with an application there really is no way to guess how well a particular card will work, so just get what you can afford.

Phil
DesignCAD user since 1987