3D Brush and default model for every paintop

Cyrille Berger cberger at cberger.net
Fri Aug 14 11:06:56 CEST 2009


On Thursday 13 August 2009, LukasT.dev at gmail.com wrote:
> KisModel is class which parses obj file and store it in display list.
> It should be compiled only when HAVE_OPENGL is defined (this is not solved
> yet, how do I need to edit CMakeFile.txt in libpaintop?)
Something like:
if( HAVE_OPENGL )
  set( SRCS_MODEL
      KisModel.cpp
  )
endif( HAVE_OPENGL )

set( WHATEVER_SRCS
    Some.cpp
    ${SRCS_MODEL}
)


> 2.solution:
> Paintop settings object will return QString with path to model.
> Then kis_tool_freehand which is in krita/ui/tool/ needs to see KisModel.
> Freehand would load and parse the obj file. So the KisModel needs to go to
> image/ or somewhere where it is more visible.
or simply move KisModel to UI ? (after all it's a UI related class).

-- 
Cyrille Berger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090814/59623719/attachment.htm 


More information about the kimageshop mailing list