WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   IVEx file extenstion unrecognised. (https://forum.worldviz.com/showthread.php?t=2428)

sindi 12-07-2009 02:01 AM

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 "", 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.

Jeff 12-08-2009 03:49 PM

These are encrypted files not meant to be edited or used in other programs. If you want to use the resource in another Vizard script don't include the x in the file extension. For example:
Code:

import viz
viz.go()

window = viz.add('art/window.ive', pos = [0,1,3])


sindi 12-10-2009 01:20 AM

Hi JJeff I am still getting the same error :

Loading File: art/window.ive
Warning: could not find file "art/window.ive"
** Load Time: 0.34 seconds
** ERROR: Failed to load 'art/window.ive'


All times are GMT -7. The time now is 02:34 PM.

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