News:

Please note new Forum URL: forum.designcad.com

Main Menu
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 Problems

Started by Bill Tell, August 22, 2014, 10:29:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bill Tell

Hi Everyone.

Started using DesignCad97 when it came out for 2D engineering drawings and used it without any problems (once I learnt to back up my files,) for 6 or 7 years without upgrading. Having since retired I have kept the Windows 98  laptop it is on functional and  bring it out on the occasions that I need to do a drawing.

I recently started a simple 3d drawing which I decided to animate in hidden line of about 240 frames and had to wait 6hrs for the export to avi!. The same file took about 35 minutes to export in wireframe.

I decided that it might be time to look at getting an upgrade! so I downloaded v23 and loaded it on my current laptop which is an old Thinkpad Core 2 P8400 2.26Ghz 8Gb RAM, Win 7 64bit with an Intel 4 series chipset GPU. The same file took initially less than 30 seconds in hidden line or phong!.

I subsequently tried to export a slightly more complicated drawing and found that when requested to export it as hidden line it exported it as wire frame and subsequently refused to export anything as hidden line whilst being able to export in phong. I noticed that if you enabled hardware acceleration in either animation mode or normal mode ½ the drawing actually disappeared and would result in either a blank export in hidden line or rendered mode or it would only export half the drawing.
The original simple drawing also now refuses to export as hidden line.

I have Redsk and accelerated pixel format unchecked and I am running the GPU driver recommended by Redsk in the opening dialogue box even though it was older than my original one. I have tried it again with the latest driver and it made no difference. I have uninstalled and reloaded DesignCAD and the patch update all to no avail. I appreciate that the animation aspects of DCAD are not overly advanced but all I am doing effectively is rotating some cubes.

Is this a hardware problem i.e GPU inadequate  or is it associated with the Redsk developments. I have read comments on the forum that rendering and animation functions have stepped back post version 19?

Dr PR

Bill,

There is a bug in all later versions of the program that screws up image saves if the on-screen image is produced with graphics acceleration enabled. So before you try to save images with "File/Image/Save Image File" you should disable graphics acceleration.

Your newer 64 bit machine should be many times faster than the older 32 bit machine. My Win 7 Pro 64 machine (3.2 GHz) is 12 times faster than my XP Pro 32 bit machine (3.0 GHz). The later versions of DesignCAD are also faster than the older versions for some things. I remember using DesignCAD 97 for 3D work and it was very slow (on a mid-90s machine) compared to newer versions on new hardware.

For the most part the RedSDK development hasn't affected the older OpenGL code. I have been using V23.1 quite a bit (but nor for animation) and haven't seen any problems other than the bug mentioned above.

It has been a long time since I did an animation but there are others here who are much more experienced and perhaps they will chime in with some tips.

Phil
DesignCAD user since 1987

samdavo

#2
Well,
assuming you will accept the words of a novice here...
there appear to be various options when it comes to movies / animations / walkthroughs / pushaparts / combinations of the above :-

1. Firstly there is the default avi-animation mode (OR walkthrough mode);

2. secondly there is the option of making a stack of png's or jpegs, and turning them into gifs (using irfanview), then turning them into an animated gif (using unfreez) - these can be a combination of animations AND walkthroughs (and zooms, and push-aparts etc)

http://forum.designcad.com/index.php?topic=5475.0
examples (very amateur) :-

http://forum.designcad.com/index.php?topic=5522.msg37951#msg37951
(reply #44 = bedroom on stilts)  Note that this includes changing the view distance, which gets you "inside the room", and then moves "outside", all based on view distance...  then changes the lighting,  all using bdeck's macro called vdd.d3m.

http://forum.designcad.com/index.php?topic=5570.msg38446#msg38446
(reply #39 = barrel) - this uses dempsey's pushapart.d3m.

http://forum.designcad.com/index.php?topic=5781.0
(reply #5 or #7 = a progression of orthogonal and isometric views) - this uses prl's gifmovie.d3m (with amendments).

3. thirdly there is the option of making a movie of the screen actions / view angles /zooms / rotations etc using screen2exe or camstudio or several others ...

For these you need to talk to others (or try the options discussed here:- )
http://forum.designcad.com/index.php?topic=5724.msg39935#msg39935
(reply #13 to #25 etc)

Bill Tell

Phil and Samdavo,
Thanks.
Loaded v23 onto another laptop with an ATI GPU and exactly the same problem - will not animate in hidden line at all - not even on the first attempt and the same thing with graphics acceleration enabled - 1/2 the drawing disappears. Looks like the hidden line animation is also a bug.

I checked this by drawing a simple cube in 3D isometric view and rotating it 360 degrees in 180 degree 30 frame intervals over 60 frames. I also noticed on both PCs that with the line option checked in rendered mode the lines also do not animate.

 

samdavo

#4
Bill, I have only been (half-seriously) playing around with 3D for 12 months or so.

I am not the best to discuss your hidden line problem (or redsdk ?), because I have started with a prejudice that the DCAD-default avi files are probably memory hungry, and I have concentrated on other options (which can combine walkthough and animate for instance - and other features). 

Others here (architects in particular) have mentioned they often do walkthoughs, and I'm not sure if they use the default method or something else. (?) I'd be amazed if they are restricted to wireframe (?)

PS when you say that half the drawing disappears,   you should (maybe) select the object, and run the vct macro to make that it is the view centre, i.e. it could be that it is a view-distance problem perhaps (?) Although surely that would also apply with wireframe(?) Long shot.  As I say, I'm not the best one to ask.   (And I stay clear of redsdk for the time being).

Dr PR

Sam,

For some reason if graphics accceleration is enabled the "File/Image/Save Image File" saves only the upper left corner of the drawing.

I suspect (but am not certain) it has something to do with 1) the screen resolution or pixel size of the (main) window and 2) the pixel size for the saved image. It looks to me as if only the screen image pixel size is saved if graphics acceleration is on, but the saved image will be a part of the selected image size and type. So if the "main" window is X x Y pixels and the file image is 2X x 2Y pixels, only the upper left X x Y pixels of the 2X x 2Y pixel image is saved - in whatever image type that is selected.

If you disable graphics acceleration (say switch to Wireframe view) before saving the image everything works OK. Hidden line image saves work in GDI mode and RedSDK mode.

Phil
DesignCAD user since 1987

Bill Tell

Phil and Sam,

Thanks again.

I was reading a post by Lar
Quote from: Lar on January 05, 2012, 09:41:54 PM
Over the years I've worked on many different computer configurations and dcad has always been more or less consistently satisfactory. I measure dcad versions by their ability to orbit a relatively complex shaded 3d model and only since version 20+ and Vista/Win7 have I experienced jerky orbiting that I am not cool with.

Lar

Perhaps I should try an get a copy of version 19 which might be more stable.
I attach a copy of the file anim1.dcd with the animation loaded. I'd be interested to know whether you experience the same problems on your setup.

Bill

samdavo

#7
Bill
I'm guessing that, at 35kB, you haven't included the avi. 
You might have to add another file. (?) - but I might be wrong (apologies if I am).

PS I enclose an avi (using the DCAD default animation facility) that I tried once.
It only achieves a single somersault of a multi-coloured cube.   (edit) plus a spin about Y axis.
If this was a diving competition, the degree of difficulty would be 0.1
But rendering appears to be ok (?) i.e. hidden lines are not shown.
This was made using V22.1

cheers
sam

PS I also did this cello concerto using the default.  Reply #12 on this thread  - again no problems with hidden lines being removed - i.e. full render mode  (including texture mapping obviously to get the wood and bridge and strings etc of the cello) :-
http://forum.designcad.com/index.php?topic=5474.msg37250#msg37250

Bill Tell

#8
Hi Sam,
The animation is animation template number 1 and should be available when in animation mode under the animation menu load animation template. In full render mode I am unable to get the lines that aren't hidden to render when this is checked in the options.

Thanks
Bill

Dr PR

Bill,

I can't recommend V19. It was in the middle of a transition from a superior old DesignCAD dimension format to an inferior AutoCRUD format, and there were a lot of shortcomings that weren't worked out until V21.

****

A search on the Forum for "animation" will produce links to several posts about animations. Looks like V22 is a good version for animations.

http://forum.designcad.com/index.php?topic=931.msg4444#msg4444
http://forum.designcad.com/index.php?topic=4291.0
http://forum.designcad.com/index.php?topic=4682.msg30722#msg30722
http://forum.designcad.com/index.php?topic=5636.msg38821#msg38821
http://forum.designcad.com/index.php?topic=5556.msg38788#msg38788

Somewhere there is an animation of a working valve assembly - I think it is here, but the link locks up my system:

http://forum.designcad.com/index.php?topic=4519.msg27863#msg27863
http://forum.designcad.com/index.php?topic=4291.msg24995#msg24995

Phil
DesignCAD user since 1987

Bill Tell

Phil,
Downloaded 22.1. Runs fine with no bugs.

Thanks

Bill

Bill Tell

Phil,
Worked fine for 10 minutes in 22.1 and now the same problems after a warning dialog saying not enough memmory appeared!. Cleared all windows caches and no difference does Dcad have its own cache?.

Bill

Dr PR

Bill,

The current (through V24 betas) DesignCAD has a memory limitation of about 1 Gbyte due to its 32 bit compilation. This includes all program variables, the working copy of the drawing, a backup copy (recent changes), shading information, etc. It is, in effect, a DesignCAD cache. I have a machine with 32 Gbytes RAM and the program uses only about a gigabyte of it max.

For drawings this means the file size cannot be above about 1/3 Gigabyte, although I have found it difficult or impossible to edit a drawing that large. About 270 Mbytes is the largest drawing I have worked on so far where I was able to edit it freely.

I did assemble a 330 Mbyte drawing once - and I mean once! I could add to the drawing by cutting and pasting, but edits caused the program to crash. I could only do this in wireframe without having shaded the drawing after starting it (shading consumes some of the 1 Gbyte address space). But I did succeed in producing shaded images from the 330 Mbyte file. However, that was a long time ago and I may have used the CutePDF printer driver to "print" the images to PDF files, and that may not use as much of DesignCAD's address space.

There has been talk of recompiling the program to 64 bits to increase variable (address) size. This is in part due to the changeover to RedSDK video code. It is a memory hog. The largest drawing I have been able to edit in beta versions in RedSDK mode is about 60 Mbytes. But right now we are stuck with the 32 bit limitation until some time in the future when the 64 bit miracle appears.

****

In your original post you said you wanted to create a 240 frame animation - is that what you are still working on? If the program is trying to save 240 images in RAM it will be using a lot of that 1 Gbyte address space. You might try a shorter animation with fewer frames to see if that works.

I haven't used animation in years so I don't recall if you have control over image size (pixels). If so, try using smaller images to see if you can generate the entire animaion sequence.

Phil
DesignCAD user since 1987

Bill Tell

Phil,

The dcd file that generated the avi animation was only 35kb (see above attachment) and the avi file 5Mb. The interesting thing is that it will do the export once but is not able to repeat it even if you d uninstall and reload DCad.

Bill


DrollTroll

Bill,

Your cube is White, even though it appears to be Black in the view windows. Animation, when exported, won't auto-swap colors from white to black or vice versa like the onscreen display does, so you'll need to change the cube's color -- otherwise you get white on white.
25 years with DesignCAD