WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-13-2007, 06:29 AM
Dave Dave is offline
Member
 
Join Date: Jun 2007
Posts: 26
Surface animation and bone motion

Hi - a couple of questions. Is there any way within Vizard to simulate waves on a surface - controlling the height and direction with external variables. I have looked at some things - e.g. dlr files but would like to be able to directly control the surface if this is possible.

Also - if animating an avatar with bone.seteuler is there any way of making the action happen over a period of time instead of instantly other than looping a lot of smaller movements?

Finally - in version 3 -when I add the biohead it seems not to replace the existing head - you just end up with 2 heads. Removing (renaming) the head mesh file solves this but I just wondered if this was intended?
Reply With Quote
  #2  
Old 09-13-2007, 04:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
1) I would recommend using a vertex shader to animate the surface. Vizard as built-in shader support and all the calculations would be done on the GPU, which means your simulation will run very fast. Assuming you are familiar with writing shaders, it shouldn't take too long to accomplish this.

2) You will have to manually animate the bone, there are on built-in bone animation actions.

3) Did you define the head_mesh variable in your avatars cfg file? Example:
Code:
head_mesh = head.cmf
Reply With Quote
  #3  
Old 09-21-2007, 01:36 AM
Dave Dave is offline
Member
 
Join Date: Jun 2007
Posts: 26
Biohead things

Thanks Farshizzo - no, not done vertex shading but will learn or find someone that has. No problem animating bones for actions not built in and biohead ok. But another biohead question/problem. We are running quite a large model (of a church) with a talking figure in front on a dual 2.66 processor with a GEForce 7600. The model is split into several sections (eg gable, nave, aisle). When we run with just the church model or the church with a non talking avatar the CPU load is around 5-30%. When we just have the talking head avatar with no church - again around 10%. However, as soon as we put the two together the CPU load shoots up - with just the gable and avatar - 60%, gable+Nave+avatar - 80%, gable+nave+aisle+avatar - 90%+. Any extra church components and the CPU goes to 100%. That it is the biohead seems clear - if we move the viewpoint, as soon as the biohead disappears from the field of view (the body and legs can still be in) the CPU load drops to around 10% again. Is there a reason why having the biohead in conjunction with the models causes such a CPU load (maybe calculating what is hidden by the biohead and shouldn't be rendered) and is there a solution (apart from a faster processor). Thanks.
Reply With Quote
  #4  
Old 09-21-2007, 09:58 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
What resolution did you export the biohead face at? The higher resolution faces can contain a lot of polygons, which can drop performance. Have you tried exporting a lower res version of the face?
Reply With Quote
  #5  
Old 09-25-2007, 03:59 AM
Dave Dave is offline
Member
 
Join Date: Jun 2007
Posts: 26
Hi Farshizzo - the biohead is just the one that comes with Vizard - how complex is that one - looking at the biohead_talk.vzf file it looks pretty large? When using the biohead_eyes.vzf which is smaller the cpu load drops to about 60%. Is there any way to easily reduce the size/complexity of the biohead - e.g. the talk file contains a lot of morphs that I do not use - cheeks, frown etc (in fact looks the same as biohead_all_morph.vzf). Can I just delete these from the biohead_talk.vzf to reduce the complexity or will I need to produce my own biohead?
Reply With Quote
  #6  
Old 09-26-2007, 02:52 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you just view the biohead, how much does the CPU usage increase by? I just tested out the 'biohead_talk.vzf' file here and my CPU usage only increases by 2% when it it in view.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC