PDA

View Full Version : how to fix my vizard?


emily800326
07-09-2012, 09:20 PM
i use the camera to read my ar-code.
but the panel turn black , and i can't see my code.
can someone tell me what the problem.
(when i run another code,also have this problem.)

import viz

viz.go()


ar=viz.add('artoolkit.dle')
camera=ar.addWebCamera()

m0=camera.addMatrixMarker(0,width=50)
modle1=viz.add('box.obj')

links=viz.link(m0,modle1)
modle1.setScale(0.05,0.05,0.05)
modle1.texture('')

Jeff
07-11-2012, 04:56 AM
Are you saying the graphics window is just black? Do you get any error message in Vizard? If not, perhaps the model is obscuring the view. Can you see the webcam output when you run the following?
import viz
viz.go()

ar=viz.add('artoolkit.dle')
camera=ar.addWebCamera()

emily800326
07-13-2012, 06:51 AM
Warning: TextureRectangle::apply(..) failed, texture rectangle is not support by your OpenGL drivers.

how can i do ?

Jeff
07-16-2012, 01:07 AM
What kind of graphics card do you have?

emily800326
07-20-2012, 12:53 AM
intel(R)HD Graphics

Jeff
07-21-2012, 01:52 AM
You can try updating the drivers.