Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

animation....

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
586 Views, 5 Replies

animation....

I am trying to do some minor animation with a shaded solid model.

I have tried mslide and a script... this make s very jerky, flashing
animation.
I tried a lisp routine to move the object in small increments, again the
motion is very flashy and slow, as it appears to struggle perhaps with the
shading.

I noticed doing a move command, and moving the same object manually,
dragging the object around the screen with a mouse makes for pretty smooth
motion. Way
better than what I was doing.... Is there a way to do this programmatically?

Thanks!

--
XP Pro
Intel Core2 Duo
p8400 @2.26 GHz
2.99GB Ram

GeForce 9800M GTS video card



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4361 (20090823) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
5 REPLIES 5
Message 2 of 6
awerning
in reply to: Anonymous

Most likely it is possible with a low-level programming language (ObjectARX\.NET), but probably not with the high-level languages (VBA\LISP\SCRIPT). I have been learning .NET and there seems to be options for doing what you are asking from there...but...that's a whole learning curve in itself...

Good Luck!
Message 3 of 6
arcticad
in reply to: Anonymous

You could probably do it using VBA as you can stop the screen from updating until you have completed the move.
This would still be choppy.
You just wouldn't see it redrawing the screen.

Using a JIG or updating one object at a time in .NET might work out better.
---------------------------



(defun botsbuildbots() (botsbuildbots))
Message 4 of 6
Shneuph
in reply to: Anonymous

I know this is an old thread.. but Maybe try setting INTELLIGENTUPDATE system variable to 0?

 

 

Controls the graphics refresh rate.

The default value is 20 frames per second. If you encounter problems related to graphics generation or timing, turn off the variable by setting it to 0. INTELLIGENTUPDATE works by suppressing the graphics update until the timer expires. Subsequent updates reset the timer.

The performance improvement significantly affects updates for scripts and AutoLISP graphics. Those using regular AutoCAD commands will not see a noticeable difference in performance.

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)
Message 5 of 6
j.aaij
in reply to: Shneuph
Message 6 of 6
j.aaij
in reply to: Shneuph

Dear Shneuph,

 

When I put INTELLIGENTUPDATE on 0 and I run the programs HofYoke.vlx and HofReci.vlx

from http://forums.augi.com/showthread.php?t=55713&page=5 then they become jerky andflashing!

If INTELLIGENTUPDATE is on 20 then I the animation is more smooth.

 

Jan.


 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost