Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2018-08-20 11:04:46



Reply to topic  [ 1 post ] 
Avatar Physics 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 3818
Reply with quote
I know that I said I was not interested in implementing Avatar Physics in the Cool VL Viewer and that I won't do the backport from v2 myself, but since:
  • Shyotl Kuhr (from Singularity) did the backport.
  • RestrainedLove v2.07 adds support for the Physics wearables (making it pretty much a must have for full RestrainedLove v2.07 compliance/compatibility).
  • Avatar Physics can be (partially) disabled and while disabled does not seem to cause any noticeable slow down.
  • A hack exists to keep a viewer with Avatar Physics implemented (but unused) backward compatible with older LL viewers (v1.23, Snowglobe, v2.2 and older...) and older TPVs (Cool VL Viewer v1.25.0.32 or older, all but latest Phoenix and Imprudence versions, etc...).
I decided to give it a try...

After some fiddling (there were crash bugs and a memory leak in the original backport) and improvements (the compatibility hack was not working and had to be modified), I got a version that I could test for a few days. It's good enough for me to release it as part of v1.26.0.1 (it will not be part of v1.25.0: see the roadmap for why).

There are however caveats:
  • Avatar Physics does use quite some processing power (expect a 10% frame rate slow down when it's on in crowded sims, more in the future when lots of avatars will be using Physics). If you are not convinced, you can check by yourself with the Fast Timers console (I added a "Physics" timer under "Objects Updates" / "Avatars").
  • If you have Avatar Physics enabled in your viewer and your avatar is wearing a Physics wearable, then your avatar cannot render properly in older viewers, and because of what is apparently a bug in the sim servers (*), switching back Avatar Physics off (or removing the Physics wearable from your avatar) won't allow them to see your avatar properly rezzed (you'd have to relog with the Physics wearable removed or Avatar Physics turned off).

You can enable and disable (defaults to disabled) Avatar Physics from the Miscellaneous sub-tab in the Cool features tab of the Preferences floater.

Let me know what you think or if you notice any quirk.



(*) Obviously, the sim server caches avatar appearance parameters and sends the cached parameters when they are not transmitted at the following agent appearance update. It means that if your viewer sent 200 parameters once in a sim, others' viewer always receive 200 for your avatar even if your viewer sends only 150 the next times.


2011-05-12 18:11:17
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.