![]() |
【转帖】oddb3dsolid and the vectorization framework
oddb3dsolid and the vectorization framework
oddb3dsolid and the vectorization framework i am trying to use the vectorization framework to break acis entities into primatives using the vectorization framework...draw gets called for these entities but none of the primative procs (triangleout, poly, etc) are being called. is there some mechanism that i am missing to do this? thanks, tyler edwards correct you are... but now a different issue my solids are now being vectorized. however i'd like to shade them in a fashion similar to what the opengl renderer does... as well as do correct occusion for the object... any ideas? hi, i'm also having the same problem with my 3dsolids not being drawn by the draw function. my app is statically linked. i took a look at the sample file (odvectorizeex.cpp), but i'm not sure exactly what i need to do with the macros. could someone explain what needs to be done to get this to work. thanks, dave some functionality which is not required in all dd based applications like processing acis, raster files etc. is moved to separate modules. module which is responsible for some functionality can be excluded from client application or replaced with another implementation. in ddl build it's very simple: dwgdirect simply searchs for <modulename>.drx file which is actually a dll. to emulate this process in static build a set of macros is provided. to include acis stuff in your statically linked application insert in your code (like in odvectorizeex.cpp): code: #if !defined(_toolkit_in_dll_) odrx_declare_static_module_entry_point(modelermodule); odrx_begin_static_module_map() odrx_define_static_application("modelergeometry", modelermodule) odrx_end_static_module_map() #endif sergey slezkin |
所有的时间均为北京时间。 现在的时间是 05:32 PM. |