[tuhopuu-cvs] CVS commit: tuhopuu3/source/blender/include BDR_drawobject.h tuhopuu3/source/blender/src drawobject.c editobject.c transform_constraints.c

Matt Ebb matt at mke3.net
Sun Jan 2 05:16:56 CET 2005


broken (Matt Ebb) 2005/01/02 05:16:56 CET

  Modified files:
    tuhopuu3/source/blender/include BDR_drawobject.h 
    tuhopuu3/source/blender/src drawobject.c editobject.c 
                                transform_constraints.c 
  
  Log:
  New object drawing, comprised of two related experiments, removing
  the object center dots:
  http://mke3.net/archives/2004/07/goodbye_yellowp.html
  
  And new lamp visualisation:
  http://mke3.net/archives/2004/12/new_lamp_visual.html
  
  Notes:
  This is not 100% complete, as without the center dots, some
  objects like curves, metaballs that have no obdata/verts/whatever
  become invisible (unless selected) :)
  
  I've roughed out a means to do this in drawobnodata(), which just
  draws an always-facing hollow circle - I wanted it to look more
  like an X inscribed in the circle, like (X) but I couldn't figure
  out how to make it always face the view. The other problem is that
  I can't find a good way to detect if the object is 'empty' or
  not. Mesh objects have me->totvert and Text objects have cu->len
  which is nice and easy to check, but other objects don't have a
  similar variable. Iterating through and counting all the vertices
  in the displist every time the object is drawn doesn't sound very
  efficient to me.
  
  Need help/solutions for these...
  
  Revision  Changes    Path
  1.2       +2 -2      tuhopuu3/source/blender/include/BDR_drawobject.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu3/source/blender/include/BDR_drawobject.h.diff?r1=1.1&r2=1.2&cvsroot=tuhopuu>
  1.2       +223 -26   tuhopuu3/source/blender/src/drawobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu3/source/blender/src/drawobject.c.diff?r1=1.1&r2=1.2&cvsroot=tuhopuu>
  1.2       +2 -2      tuhopuu3/source/blender/src/editobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu3/source/blender/src/editobject.c.diff?r1=1.1&r2=1.2&cvsroot=tuhopuu>
  1.3       +2 -2      tuhopuu3/source/blender/src/transform_constraints.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/tuhopuu3/source/blender/src/transform_constraints.c.diff?r1=1.2&r2=1.3&cvsroot=tuhopuu>



More information about the tuhopuu-cvs mailing list