View Single Post
  #1  
Old 12-07-2009, 02:01 AM
sindi sindi is offline
Member
 
Join Date: Dec 2009
Location: Pretoria
Posts: 3
Send a message via MSN to sindi Send a message via Skype™ to sindi
Cool IVEx file extenstion unrecognised.

Can anyone assist? I am currently learning vizard using the teacher in a book tutorial and experiencing a problem with images that have an IVEx extenstion , vizard 3.0 currently installed in my desktop cannot recognise the file extension.

This is the code I was running:
The original code is on page 27 of "Vizard Teacher in a book"

import viz
viz.go()
#Put the viewpoint in a good point to see the texture squad
viz.MainView.setPosition(0,.68,-1.3)
#Add a model and grab one of its children to put textures on
model = viz.add('art/window.IVEx')
window = model.getChild('glass')

Here is the error shown by vizard:

Traceback (most recent call last):
File "<string>", line 11, in ?
File "Modelling.py", line 8, in ?
model = viz.add('art/window.IVEx')
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 8320, in add
raise ValueError, 'Unrecognized file extension: '+fileType
ValueError: Unrecognized file extension: IVEX

Could you please advise me how to go about enabling Vizard to recognise the IVEx file extension.
Reply With Quote