查看单个帖子
旧 2009-05-06, 08:57 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odgsmodel difficulty

odgsmodel difficulty
odgsmodel difficulty (hanging crash)
in our application we get a nasty hang when changing the z coordinate of two multiselected lines on an otherwise empty drawing. we cannot reproduce this in odamfcappdll as we have two devices. the primary device is an opengl device, the secondary is a gdi device. if i do not call enablegsmodel(true) on the db context everything preforms as expected. if i leave that call in i get a hanging in the opengl device update.
i need to know:
1. what are the rendering implications of not using the gsmodel.
2. where is the opengl gsmodel implemented? does the odgsbasemodel implement this interface for the opengl device?
3. can i get the source for the opengl gsmodel implementation? odgsbasemodel.cpp (if thats it)
4. if i derive from odgsbasemodel am i correct in assuming that i'd create my model by overriding createmodel on the device?
i've been hunting this for a while now and i'd really like some help.
thanks,
tyler edwards
last edited by tillerstarredwards; 12th september 2007 at 06:05 amfff">.
tillerstarredwards
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)