[tuhopuu-devel] Re: [tuhopuu-cvs] CVS commit: tuhopuu2/source/blender/include BDR_editface.h tuhopuu2/source/blender/src editface.c editview.c header_view3d.c

Campbell Barton tuhopuu-devel@blender.org
Mon, 28 Jun 2004 09:36:01 +1000


For an orthographic view it would work but not perspective.

This should be done in the rendering code, not the msh- but princibples 
apple.

Gabriel Beloin wrote:

> Message
>original ------- 
>De: Campbell Barton
><cbarton@metavr.com> 
>Date: Sun, 27 Jun
>2004 17:42:37 +0200
>(CEST) 
>Sujet: [tuhopuu-cvs]
>CVS commit:
>tuhopuu2/source/blender/include
>BDR_editface.h
>tuhopuu2/source/blender/src
>editface.c
>editview.c
>header_view3d.c 
>
>ideas_man (Campbell
>Barton) 2004/06/27
>17:42:37 CEST
>
>  Modified files:
>   
>tuhopuu2/source/blender/include
>BDR_editface.h 
>   
>tuhopuu2/source/blender/src
>editface.c
>editview.c 
>                   
>           
>header_view3d.c 
>  
>  Log:
>  Just added an
>interesting feature,
>well 2.
>  Sel Same Materials
>  and Sel Same
>Normals
>  for face select
>menu in the 3d view.
>  Its somtimes
>usefull to be able
>to select a face by
>its material. a bit
>like going into face
>select mode, then
>into edit mode,
>selecting all of a
>particular
>  mat, then ging out
>again.
>  But this is a lot
>quicker.
>  Sel the face you
>want, then Same Mat.
>  
>  The other feature
>Im more excited
>about is select same
>normal.
>  
>  This selects faces
>that have similar
>normals to the
>active.
>  I have also
>allowed for a user
>limit input.
>  Its strangly like
>the magic want in
>Gimp or photoshop,
>and could be
>modified to be more
>lke this.
>  
>  Both features work
>well as far as I can
>tell have no
>problems,
>  
>  If anythin Im
>doing too much error
>checking but I think
>its okay.
>  - Cam
>  
>  Revision  Changes
>   Path
>  1.8       +4 -3  
>  
>tuhopuu2/source/blender/include/BDR_editface.h
>    
>  1.16      +125 -26
> 
>tuhopuu2/source/blender/src/editface.c
>    
>  1.15      +2 -2  
>  
>tuhopuu2/source/blender/src/editview.c
>    
>  1.20      +5 -1  
>  
>tuhopuu2/source/blender/src/header_view3d.c
>    
>_______________________________________________
>tuhopuu-cvs mailing
>list
>tuhopuu-cvs@blender.org
>http://www.blender.org/mailman/listinfo/tuhopuu-cvs
>
>
>while reading this,
>an idea came to my
>mind; Do you think
>the code you used
>could be used to do
>curled backface un
>blender for
>modeling. Like don't
>draw face  that the
>normal is not
>pointing at us?  I
>know some problem
>will appear like
>face in the middle
>of a concave mesh
>will be draw(maybe a
>sort of ray algo to
>find to neares face,
>or even z-buffer. 
>Anyway it's was just
>like a flash...
>
>Plus simple, plus fiable, plus rapide : découvrez le nouveau Caramail - http://www.caramail.lycos.fr
>
>  
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton@metavr.com
phone: AU (03) 5229 0241