WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-21-2010, 03:59 PM
EnvisMJ EnvisMJ is offline
Member
 
Join Date: May 2009
Location: Purdue University, West Lafayette, Indiana
Posts: 44
Loading at runtime

We are trying to load some files at runtime, rather than package them with the exe, and we are having some problems.

First off, we are trying to load a .txt file with data in it at runtime. So we can modify the .txt to make changes when running the .exe

Second, we are trying to import a .py, or .pyc file at runtime so that we can import some variables for configuration.

Third, we are trying to import some image files for texture so that they aren't included in the .exe in an uncompressed format.

Any help with any of these three would be greatly appreciated.
Reply With Quote
  #2  
Old 06-21-2010, 04:04 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
This should all be possible. What exactly is the problem? Are you getting any error messages?
Reply With Quote
  #3  
Old 06-21-2010, 05:33 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Also, have a look at the docs for publishing to an EXE, specifically the viz.res.getPublishedPath command.
Reply With Quote
  #4  
Old 06-22-2010, 04:30 PM
EnvisMJ EnvisMJ is offline
Member
 
Join Date: May 2009
Location: Purdue University, West Lafayette, Indiana
Posts: 44
Thanks Farshizzo, one of our developers is looking into that. I think he just managed to get it working. Thanks! :-)
Reply With Quote
Reply


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
Loading OSG models and orientation Joran Vizard 4 06-18-2009 06:43 AM
intersense with 5DT glove sjp Vizard 2 04-06-2009 08:22 AM
Problems loading WRL file DrunkenBrit Vizard 2 01-29-2009 01:58 AM
Error when loading a lot of avatars dan12345 Vizard 7 07-28-2008 05:24 AM
Loading .3ds-Files without interrupting Program flow Stefan Vizard 10 06-08-2005 05:44 PM


All times are GMT -7. The time now is 08:14 AM.


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