WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-09-2003, 07:28 PM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
vizmat.makeIdent()

Hi,

I have a weird error with vizmat.makeIdent(). It is strange in the sense that it does not happen all the time. I could not reproduce it in a simple script, but I had it several times before. I did not write the error message down, but the line incriminated was highlighted in yellow and the message was displayed in the interactive window. Anyone had this before?

David
Reply With Quote
  #2  
Old 09-11-2003, 10:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Do you remember what the error message was? Also, would you get this error message even when you didn't edit that line?
Reply With Quote
  #3  
Old 09-11-2003, 11:01 AM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
Hi, it did it again, although it does not seem to prevent the script from running. Here is the error message:


Traceback (most recent call last):
File "<string>", line 1, in ?
File "settingUpRooms.py", line 42, in ?
positions[i].makeIdent()
File "C:\Program Files\Vizard\vizmat.py", line 181, in makeIdent
transform.makeIdent(self.id)
SystemError: error return without exception set

The portion of the script containing the line was :
positions = []
positions.append(vizmat.Transform())
for i in range(0,11):
positions.append(vizmat.Transform())
positions[i].makeIdent()

If I remove the line incriminated, then I get the same kind of error message when I try to modify the transform objects (set them to rotations for instance)
The strange thing is that if I run that portion on its own, I do not get an error


David
Reply With Quote
  #4  
Old 09-11-2003, 11:18 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Thanks for the information. I believe the problem has do with the fact that there was a limit to how many transform objects you could have. We recently changed this so that there can be an unlimited number of transform objects. So the next release, 2.11, should hopefully take care of this.
Reply With Quote
  #5  
Old 09-11-2003, 12:27 PM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
Thanks I look forward to next release then.

However, before releasing v 2.11, you may want to try and run simpleworld.py in vizard 1.098 and 2.10. On my computer the former works fine and the latter crashes everything (I have to unplug my machine, but this may have nothing to do with vizard). On other computers, the results look similar but are not exactly the same (position is not the same). Why is that?
And for some more complex VRML files that I have, vizard 2.10 displays them in a way that is so different that I can not even see them. Using the mouse I could retrieve on or two objects but the whole scene was mostly messed up.

David
Reply With Quote
  #6  
Old 09-12-2003, 11:01 AM
duda duda is offline
Member
 
Join Date: Sep 2003
Location: Cambridge, MA
Posts: 8
Attached are left eye images of the identical script run viz.go(viz.STEREO | viz.HMD) under versions 1.097 and 2.10.

Any thoughts as to why the distortion occurs?
Attached Images
File Type: jpg viz_1.097_2.10.jpg (71.1 KB, 1290 views)
Reply With Quote
  #7  
Old 09-12-2003, 12:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

This is a problem that has already been fixed in 2.11. In the meantime you can issue the following command to fix the FOV:
Code:
viz.fov(40,2.6)
Sorry for the inconvenience
Reply With Quote
  #8  
Old 09-12-2003, 06:33 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi david,

Would you mind posting the VRML files that are not loading correctly so that I could take a look at them. If you don't want to post them on the forum you could also email them to me at lashkari@worldviz.com. Thanks.
Reply With Quote
  #9  
Old 09-15-2003, 07:32 AM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
Hi Farshizzo,

After testing dummy scripts, the vrml files that were not loading properly seem not to be the problem. It could be the rotations within the bigger script that are not interpreted the same way in vizard 1 and 2 and tend to put things everywhere. More testing is required.

Thanks for the answer though.

David
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


All times are GMT -7. The time now is 03:01 PM.


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