Revision 67eaf69 by Daniel Dunbar March 28, 2005, 21:49 (GMT) |
- added mesh_get_derived_render - cancelled previous commit to add RE_findTFAce, instead just added a MemArena to render struct... free'd at end of render, can be used to store other data as well - switch rendering to using DerivedMesh API... this is slightly more inefficient now because it is doing some unnecessary copying. Can be fixed by defining a DerivedMesh function to convert the object into a render object (on todo list) |
Revision 7dbb253 by Daniel Dunbar March 28, 2005, 19:55 (GMT) |
- Funny joke! Blender gave "Can't apply deform to shared mesh" error and then went ahead and did it anyway. Someone is lying! |
Revision 983745d by Daniel Dunbar March 28, 2005, 19:43 (GMT) |
- renderer currently uses links into tface structures that actually are owned by mesh (or displistmesh)... this causes problems for adapting to systems that build tfaces on the fly. Added RE_findTFace function to allow allocating tfaces inside renderer itself. |
Revision f2d940a by Daniel Dunbar March 28, 2005, 19:41 (GMT) |
- Bug fix, accidentally broke deform for non subsurfs. |
Revision 85b9f7c by Daniel Dunbar March 28, 2005, 18:37 (GMT) |
- switch some code to using BLI_strncpy (with right string lengths!) |
Revision c094d49 by Ton Roosendaal March 28, 2005, 17:17 (GMT) |
Shameless intrusive commit in Daniels beloved project! :) The dl->mesh pointer was used without checking dl... dunno what this call exactly does, but it causes crashes here. Fixed with a if(NULL) check. |
Revision 9c48ebe by Martin Poirier March 28, 2005, 16:11 (GMT) |
Fix stupid error in connected code. No more crashes, wheee! |
Revision b4ff308 by Simon Clitherow March 28, 2005, 15:29 (GMT) |
bug fix for #2096: - switched strcpy calls to strncpy using FILE_MAXDIR & FILE_MAXFILE to prevent buffer overruns. Non-windows code left untouched. :) |
Revision 1374326 by Daniel Dunbar March 28, 2005, 15:23 (GMT) |
- add bad level call stubs for bglBegin/bglVertex3fv/bglEnd |
Revision c3abdd9 by Ton Roosendaal March 28, 2005, 14:00 (GMT) |
Cleanup of widget code; - made more general calls with args for drawing types - made it accept transparency for all modes (used while transform now) - added argument to detect 'combo' mode, gave offsets to translate/scale handles in combos. - added 'pie chart' on view-aligned rotate for widget - made trackball for rotate widget rt==4 behave compatible - removed redundant code for 'ghosting' |
Revision cdd7e93 by Daniel Dunbar March 28, 2005, 08:43 (GMT) |
- subsurf creation no longer needs extverts argument... removed |
Revision 6a8fb8b by Daniel Dunbar March 28, 2005, 08:17 (GMT) |
- added nors to DispListMesh (for face normals)... this is just to avoid throwing them on later with addnormalsdisplist which is just silly and burdensome. - renamed displist_calc_vert_normals to displist_calc_normals |
Revision 0c05224 by Daniel Dunbar March 28, 2005, 07:40 (GMT) |
- removed old prototype (subsurf_optimal) |
Revision 29aae34 by Daniel Dunbar March 28, 2005, 07:10 (GMT) |
- added getMappedVertCoEM and drawMappedVertEM to DerivedMesh with implementations (slightly redundant, could implement draw in terms of first... can be cleaned later) - switch to use of new APIs... all uses of EditVert->ssco are now clean (read: ready to die as soon as a proper DerivedMesh implementation is swapped in with ccgsubsurf) |
Revision 8acfd73 by Daniel Dunbar March 28, 2005, 06:46 (GMT) |
- added drawMapped{Verts,Edges,Faces}EMSelect calls to DerivedMesh with implementations - updated drawobject selection code to use DerivedMesh (last DispListMesh usage in drawobject.c that needs to be replaced! Woot!) - interface could still be a lot cleaner, mostly calculating indices for the various things to pass to selection color routine is hacky. |
Revision 09596b0 by Daniel Dunbar March 28, 2005, 05:58 (GMT) |
- added mesh_get_cage_derived (returns appropriate DerivedMesh to be used as a cage - depends on ME_OPT_EDGE flag) |
Revision a0feaeb by Daniel Dunbar March 28, 2005, 05:55 (GMT) |
- added set_framebuffer_index_color (shortcut for cpack(index_to_framebuffer(index)) but that is all that is ever used. |
Revision 51ca37b by Stephen Swaney March 28, 2005, 02:05 (GMT) |
add new file DerivedMesh.c |
Revision 21a4e28 by Daniel Dunbar March 28, 2005, 01:21 (GMT) |
- non-optimal subsurf was drawing regular mesh faces |
Revision 9274256 by Martin Poirier March 28, 2005, 00:56 (GMT) |
Alright, this hopefully fixes some problems with the last transform commit. Replaced old transform call when extruding and duplicating. Added a CTX_NOPET context flag for extrude. This is done rather a bit hackishly in Transform right now, better to do it with a on/off pet flag in TransInfo and check that everywhere instead. Made sure transinfo Ext was initialised at NULL (I'm pretty sure it was in another spot, but LetterRip reported some crash leading me to believe that it might not be all the time. Better be safe than sorry). Connected PET for curves uses the real distance for the fall off calculations now. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021