WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-29-2011, 10:05 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It is possible to get the multiprocessing module working with Vizard, but it does have a few limitations. You will not be able to use any Vizard modules within the spawned processes. The multiprocessing module is generally used when you want to perform pure Python computational processing in parallel.

Can you describe specifically what you are trying to accomplish? I might be able to suggest a better method if I know what you are trying to do.
Reply With Quote
  #2  
Old 08-01-2011, 05:47 AM
sleiN13 sleiN13 is offline
Member
 
Join Date: Dec 2008
Posts: 83
I'm trying to do a "rough" collision detection / prediction for all avatars in the scene and the MainView. I want to offload this to a new process to avoid decreasing the frame update time. I know that Vizard has a collision detection but as I understand it its checks all scene objects and also enables gravity. It also doesn't predict possible collision so that a avoidance technique can be employed.

I've also have a network thread running off the side as a subprocess just as a check if subprocesses works as expected. This already seems to have a positive effect on the framerates especially the frame drop downs that sometimes occurred with heavy network traffic. I hope in the future to also switch to TCP instead of UDP employed by Vizard because I have some problems with disappearing network messages.

Subprocess seems to be a very interesting solution because Python only loades one processor core and subprocesses allows me to use more power from a modern day pc.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pass process to CPU shahramy Vizard 0 12-18-2010 11:45 AM
UnrealEd Process Plymouth Vizard 1 08-16-2006 10:33 AM


All times are GMT -7. The time now is 07:12 PM.


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