WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 12 votes, 5.00 average. Display Modes
  #1  
Old 04-22-2013, 02:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Although the model has a .ivex extension, load the model without the x in the script:
Code:
balloon = viz.add( 'art/balloon.ive' )
Reply With Quote
  #2  
Old 04-30-2013, 11:33 PM
cgsong58 cgsong58 is offline
Member
 
Join Date: Apr 2013
Posts: 7
Fail to load 'art/balloon.ive' files.

Quote:
Originally Posted by Jeff View Post
Although the model has a .ivex extension, load the model without the x in the script:
Code:
balloon = viz.add( 'art/balloon.ive' )
Jeff,

I have run two WorldViz 4.0 (32bit version) on two PC with the same Windows 7. I have tested the same demo programs in page 19 in Vizard Teacher in a Book with two PCs.
But one of PC failed to load 'art/balloon.ivx' file but the other has no problem in loading files. Please let me know why this happen.

The code is as follows:

import viz
viz.go()

#Add an empty array for the balloons.
balloons = []

#Use a loop to add 3 balloons to the world.
for i in [-1,0,1]:
#Add a model.
balloon = viz.add( 'art/balloon.IVE' )
#Set the position of the balloon.
balloon.setPosition( i, 1.8, 3 )
#Append the balloon to our array.
balloons.append( balloon )

#Change each balloon's color.
balloons[ 0 ].color( viz.GREEN )
balloons[ 1 ].color( viz.RED )
balloons[ 2 ].color( viz.BLUE )

... I have cut at this point

I have the following error messages:

************************************************** ****************************
** Loading p18.py
************************************************** ****************************
Loading File: art/balloon.IVE
** ERROR: Failed to load model: 'art/balloon.IVE'
Loading File: art/balloon.IVE
** ERROR: Failed to load model: 'art/balloon.IVE'
Loading File: art/balloon.IVE
** ERROR: Failed to load model: 'art/balloon.IVE'
** Load Time: 0.21 seconds
Reply With Quote
  #3  
Old 10-16-2014, 01:52 PM
Rusol Ali Rusol Ali is offline
Member
 
Join Date: Oct 2014
Posts: 1
http://forum.worldviz.com/

when i tried to insert gif photo that have animation,the photo already inserted but

there is no any motion
is this right method to add animation photo?
is there any method to insert animation photo?please help me urgently.
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
Help with File Reading/Writing Lynnifer Vizard 2 03-12-2012 07:51 AM
Closing of an imported .py file Uttama_vizard Vizard 2 05-04-2010 07:18 AM
IVEx file extenstion unrecognised. sindi Vizard 2 12-10-2009 02:20 AM
Read file....many issues Uttama_vizard Vizard 9 07-08-2008 03:16 PM
File Management Uttama_vizard Vizard 2 07-01-2008 10:44 AM


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


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