PDA

View Full Version : Newbie Question: World Not Appearing


jesuisme
01-08-2006, 12:32 AM
Hi,

I'm new to Vizard and I'm having a problem getting anything to appear in the application window. Here is the script I'm running:

---
import viz

viz.go()

mygantry = viz.add('gantry.wrl')
viz.clearcolor(0.0, 0.0, 0.0)
---

I've also attached the vrml file 'gantry.wrl'.

When I execute the script, the only thing I see in the application window is a black screen. I've opened the vrml file in another viewer, so I'm sure it works.

I must be missing something simple :) . Any help is appreciated.

Thanks,
JeSuisMe

jesuisme
01-08-2006, 12:34 AM
BTW, I'm running version 2.53.

Thanks,
JeSuisMe

jesuisme
01-08-2006, 12:15 PM
Fixed it. Turned out to be a simple problem of not having the model correctly placed in front of the default viewpoint position within the world. This was most likely due to working late :rolleyes:

Thanks,
JeSuisMe