Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 5391 / 5574

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)
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!
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.
March 28, 2005, 19:41 (GMT)
- Bug fix, accidentally broke deform for non subsurfs.
March 28, 2005, 18:37 (GMT)
- switch some code to using BLI_strncpy (with right string lengths!)
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.
March 28, 2005, 16:11 (GMT)
Fix stupid error in connected code.

No more crashes, wheee!
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. :)
March 28, 2005, 15:23 (GMT)
- add bad level call stubs for bglBegin/bglVertex3fv/bglEnd
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'
March 28, 2005, 08:43 (GMT)
- subsurf creation no longer needs extverts argument... removed
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
March 28, 2005, 07:40 (GMT)
- removed old prototype (subsurf_optimal)
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)
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.
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)
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.
March 28, 2005, 02:05 (GMT)
add new file DerivedMesh.c
March 28, 2005, 01:21 (GMT)
- non-optimal subsurf was drawing regular mesh faces
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021