Blender Git Loki
Git Commits -> Revision 9a1217e
Revision 9a1217e by Maxime Curioni (master) August 7, 2008, 15:04 (GMT) |
soc-2008-mxcurioni: first version of lib3ds code. It does NOT work yet and has to be debugged. It can be activate in app_blender/api.cpp by replacing the FRS_scene_3ds_export call in FRS_prepare, by FRS_load_mesh. All of the reference to the original Material class were renamed to FrsMaterial to resolve a name collision with Blender. To keep the window context necessary to draw the strokes after RE_Database_FromScene has been called, the display_clear function is used. |
Commit Details:
Full Hash: 9a1217e55980f9b0a501fbe03ab2ea559638392d
SVN Revision: 16002
Parent Commit: 1baf091
Lines Changed: +1114, -568
3 Added Paths:
/source/blender/freestyle/intern/scene_graph/BlenderFileLoader.cpp (+360, -0) (View)
/source/blender/freestyle/intern/scene_graph/BlenderFileLoader.h (+62, -0) (View)
/source/blender/freestyle/intern/scene_graph/FrsMaterial.h (+304, -0) (View)
/source/blender/freestyle/intern/scene_graph/BlenderFileLoader.h (+62, -0) (View)
/source/blender/freestyle/intern/scene_graph/FrsMaterial.h (+304, -0) (View)
1 Deleted Path:
/source/blender/freestyle/intern/scene_graph/Material.h (+0, -304)
44 Modified Paths:
/source/blender/freestyle/intern/app_blender/api.cpp (+13, -6) (Diff)
/source/blender/freestyle/intern/app_blender/Controller.cpp (+107, -2) (Diff)
/source/blender/freestyle/intern/app_blender/Controller.h (+11, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+3, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsMaterial.h (+2, -2) (Diff)
/source/blender/freestyle/intern/python/Director.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp (+8, -8) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.h (+2, -2) (Diff)
/source/blender/freestyle/intern/rendering/GLDebugRenderer.cpp (+7, -7) (Diff)
/source/blender/freestyle/intern/rendering/GLDebugRenderer.h (+3, -3) (Diff)
/source/blender/freestyle/intern/rendering/GLMonoColorRenderer.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/rendering/GLMonoColorRenderer.h (+1, -1) (Diff)
/source/blender/freestyle/intern/rendering/GLRenderer.cpp (+12, -12) (Diff)
/source/blender/freestyle/intern/rendering/GLRenderer.h (+5, -5) (Diff)
/source/blender/freestyle/intern/rendering/GLSelectRenderer.cpp (+6, -6) (Diff)
/source/blender/freestyle/intern/rendering/GLSelectRenderer.h (+2, -2) (Diff)
/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h (+4, -4) (Diff)
/source/blender/freestyle/intern/scene_graph/MaxFileLoader.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeShape.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeShape.h (+4, -4) (Diff)
/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/scene_graph/Rep.h (+20, -20) (Diff)
/source/blender/freestyle/intern/scene_graph/SceneVisitor.h (+2, -2) (Diff)
/source/blender/freestyle/intern/stroke/Curve.h (+3, -3) (Diff)
/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/stroke/StrokeTesselator.h (+5, -5) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.h (+3, -3) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.cpp (+6, -6) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.h (+31, -31) (Diff)
/source/blender/freestyle/intern/view_map/ViewEdgeXBuilder.cpp (+7, -7) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapIO.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapTesselator.h (+9, -9) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.cpp (+5, -5) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.h (+11, -11) (Diff)
/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp (+15, -15) (Diff)
/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.h (+9, -9) (Diff)
/source/blender/render/intern/source/pipeline.c (+6, -5) (Diff)
/source/blender/freestyle/intern/app_blender/Controller.cpp (+107, -2) (Diff)
/source/blender/freestyle/intern/app_blender/Controller.h (+11, -0) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+3, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_FrsMaterial.h (+2, -2) (Diff)
/source/blender/freestyle/intern/python/Director.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp (+8, -8) (Diff)
/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.h (+2, -2) (Diff)
/source/blender/freestyle/intern/rendering/GLDebugRenderer.cpp (+7, -7) (Diff)
/source/blender/freestyle/intern/rendering/GLDebugRenderer.h (+3, -3) (Diff)
/source/blender/freestyle/intern/rendering/GLMonoColorRenderer.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/rendering/GLMonoColorRenderer.h (+1, -1) (Diff)
/source/blender/freestyle/intern/rendering/GLRenderer.cpp (+12, -12) (Diff)
/source/blender/freestyle/intern/rendering/GLRenderer.h (+5, -5) (Diff)
/source/blender/freestyle/intern/rendering/GLSelectRenderer.cpp (+6, -6) (Diff)
/source/blender/freestyle/intern/rendering/GLSelectRenderer.h (+2, -2) (Diff)
/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h (+4, -4) (Diff)
/source/blender/freestyle/intern/scene_graph/MaxFileLoader.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeShape.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/scene_graph/NodeShape.h (+4, -4) (Diff)
/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/scene_graph/Rep.h (+20, -20) (Diff)
/source/blender/freestyle/intern/scene_graph/SceneVisitor.h (+2, -2) (Diff)
/source/blender/freestyle/intern/stroke/Curve.h (+3, -3) (Diff)
/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/stroke/StrokeTesselator.h (+5, -5) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.cpp (+4, -4) (Diff)
/source/blender/freestyle/intern/view_map/Functions0D.h (+3, -3) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.cpp (+6, -6) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.h (+31, -31) (Diff)
/source/blender/freestyle/intern/view_map/ViewEdgeXBuilder.cpp (+7, -7) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+1, -1) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapIO.cpp (+14, -14) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapTesselator.h (+9, -9) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.cpp (+5, -5) (Diff)
/source/blender/freestyle/intern/winged_edge/WEdge.h (+11, -11) (Diff)
/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.cpp (+15, -15) (Diff)
/source/blender/freestyle/intern/winged_edge/WingedEdgeBuilder.h (+9, -9) (Diff)
/source/blender/render/intern/source/pipeline.c (+6, -5) (Diff)