Something wrong with display recorder. Silvia and Frank,help

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
neallee
Posts: 62
Joined: Sun Aug 14, 2005 4:50 am
Location: Tianjin University

Something wrong with display recorder. Silvia and Frank,help

Post by neallee »

Frank and Silvia,
There are something wrong with the display recorder. help!

the Bits are always zero!!!
"BITS ZERO"

Maybe the struc 'info' have not been assigned any value in the openGLDEvice Class.

The saveImage command dosenot work well!

thank you!

Yours,

Ning
Li Ning, Ph.D. and Professor of Civil Engineering
TJU, China
neallee
Posts: 62
Joined: Sun Aug 14, 2005 4:50 am
Location: Tianjin University

Post by neallee »

maybe my procedure is not right!

first, i define a display recorder named "NTHA1"

recorder display "NTHA1" 10 10 400 400 -wipe

and, set the parameters of the openGL windows, and the window display OK.

then, i use the command saveImage to save a BMP file named $tCurrent,

saveImage -image NTHA1 -file $tCurrent

of course, there are some time steps were omitted here.

and OPS outputs' error is "OpenGLDEvice::saveImage - BITS ZERO"


Could you please help me??

Thank you very much!
Li Ning, Ph.D. and Professor of Civil Engineering
TJU, China
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

the graphics part is not fully functional, nor is it documented .. when using undocumented features you are liable to come across problems .. one of the benifits of open source computing is that others can help track down the problems in the code .. i will try and get to this but in the meantime why don't you have a look to see if you can see what the problem is.
Post Reply