» Blender 2.63 Freestyle
Updated 09:47 July 21st, 2012
6
(2943)  4,900

WITH_BF_OPENMP= False
WITH_BF_FFTW3 = True
WITH_BF_GAMEENGINE = True
WITH_BF_OPENEXR = True
WITH_BF_FFMPEG = False
WITH_BF_OPENAL = True
WITH_BF_SNDFILE = True
WITH_BF_SDL = True
WITH_BF_DDS = True
WITH_BF_BULLET = True
WITH_BF_FREETYPE = True

build and tested on Ubuntu 11.10

tested on Fedora 16, Fedora 17

http://twitter.com/derfish

if you have problems activating/rendering freestyle check out:

http://freestyleintegration.wordpress.com

http://maximecurioni.com/freestyle/?p=579

------------------------

changes:

Commit by kjym3 :: r49094
Merged changes in the trunk up to revision 49090.

Commit by kjym3 :: r48989
Better handling of the ESC key during Freestyle rendering.
This commit is meant to improve the response of the ESC key for stopping Freestyle rendering
throughout the rendering process.  The rendering with Freestyle consists of several steps
including: (1) mesh data loading, (2) winged edge construction, (3) silhouette edge detection,
(4) view map construction, and (5) stroke drawing.  All these steps have been extended to
frequently check if the ESC key is pressed, so that users can abort time-consuming rendering
at any point of time.

Commit by kjym3 :: r48947
Sphere radius and Kr derivative epsilon (removed in revision 43902) were recovered in the Parameter Editor mode.
Several users requested the recovery as the removal of the two parameters was considered over-simplification for
advanced users.
As in the Python Scripting mode, the two parameters are in the "advanced edge detection options" section and
disabled by default.
Also the lower limit of Kr derivative epsilon was changed from 0 to -1000 so as to permit a negative value.

Commit by kjym3 :: r48900
Merged changes in the trunk up to revision 48893.
Conflicts resolved:
source/blender/blenkernel/CMakeLists.txt
source/blender/blenloader/intern/readfile.c
source/blender/editors/animation/anim_filter.c
source/blender/makesrna/RNA_enum_types.h

Commit by kjym3 :: r48696
Merged changes in the trunk up to revision 48695.

Commit by kjym3 :: r48512
Merged changes in the trunk up to revision 48505.

Commit by kjym3 :: r48510
Fix for Stroke::Resample() in combination with the previous commit.

Commit by kjym3 :: r48509
Fix for an inappropriate removal of singular points in stroke creation.
The previous stroke creation procedure was trying to clean stroke topology
by removing overlapping stroke vertices in the same 2D location.  The idea
was to avoid having to address this kind of singularity during subsequent
stroke shading.  In-depth analyses revealed, however, that this was a wrong
way to ensure clean stroke topology, since just deleting overlapping vertices
may break the continuity of the underlying series of FEdges on top of which
the stroke has been built.  Such a break of linked FEdges was a major cause
of frequent failure in CurvePoint::getFEdge().
The present commit aims to address the singularity issue by adding small
offsets to the 2D location of overlapping vertices and making them
non-overlapping to each other.  Since the offsets only result in sub-pixel
differences, the impact on visual outcomes is expected to be negligible.

Commit by kjym3 :: r48231
Merged changes in the trunk up to revision 48227.
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_file/filelist.c

Commit by kjym3 :: r48002
Fix for persistent failures of BLI_assert(CustomData_has_layer(&dm->faceData, CD_POLYINDEX));
in CDDM_calc_normals_mapping_ex() in source/blender/blenkernel/intern/cdderivedmesh.c.
Problem report by flokkievids with an example .blend file for reproducing the issue. Thanks!
The issue was caused by the fact that Freestyle was using the pre-BMesh way for constructing
mesh data with the aim of generating a temporary 3D scene for stroke rendering.  Specifically,
the MFace struct was used for defining triangular faces.  Now BMesh is in the trunk, MFace
is internally used for tessellated faces only, and MPoly and MLoop are used for general mesh
data construction.  This commit is intended to update the Freestyle stroke rendering code in
the BMesh way.

Commit by kjym3 :: r48001
Fixed a typo.

Commit by kjym3 :: r48000
Fix for NaN's in the Z component of projected points by SilhouetteGeomEngine::ProjectSilhouette().
This issue arises when the Z depth of the bounding box of the scene being rendered is zero.

Commit by kjym3 :: r47980
Merged changes in the trunk up to revision 47977.

Commit by kjym3 :: r47763
Fix for emitted objects of a particle system not rendered properly.
Problem report by octane98 in the BA Freestyle thread with a sample .blend file.  Thanks!

Commit by kjym3 :: r47706
Merged changes in the trunk up to revision 47700.
Conflicts resolved:
source/blender/blenkernel/BKE_main.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/library.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/editors/interface/resources.c
source/blender/makesdna/DNA_ID.h
source/blender/makesdna/DNA_action_types.h
source/blender/makesdna/intern/makesdna.c
source/blender/makesrna/SConscript
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_main.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/windowmanager/WM_types.h

Commit by kjym3 :: r47389
Made an attempt to fix an instability issue in stroke rendering due to a failure
of Normal2DF0D with smooth FEdges.  The fix is to avoid generating new FEdgeSmooth
instances whose length is shorter than epsilon.
6 Comments so far. Leave yours.
01:35 July 5th, 2012
I forget - Ubuntu 11.04 64-bit

from console
#===============================================================
# Freestyle
#===============================================================

=== Dimensions of the 2D image coordinate system ===
Width : 960
Height : 540
Unit line thickness : 1.125 pixel(s)

----------------------------------------------------------
| Scene|RenderLayer
----------------------------------------------------------

=== Importing triangular meshes into Blender ===
Scene loaded
Mesh cleaning : 0.000000
WEdge building : 0.010000
Triangles nb : 2880
Bounding Box : 3.2897

=== Rendering options ===
Modules :
1: /home/korak/Stažené/blender26_freestyle/2.63/scripts/freestyle/style_modules/contour.py

Crease angle : 0
Sphere radius : 1
Face smoothness : disabled
Redges and valleys : disabled
Suggestive contours : disabled
Suggestive contour Kr derivative epsilon : 0
Material boundaries : disabled

Passes :
Diffuse = disabled
Z = enabled

=== Detecting silhouette edges ===
Feature lines : 0.010000

=== Building the view map ===
Using culled adaptive grid with heuristic density and cumulative QI calculation
Proscenium culling:
Proscenium: [-48, 1008, -27, 567]
Origin: [528, 297]
Bounding box: [0.13199, 0.143208, 10.1158] to [-0.0554759, -0.0514304, 9.9553]
Proscenium : -0.0554759, 0.13199, -0.0514304, 0.143208
Finished generating occluders. Rejected 2879 faces.
Total area: 0.135799. Number of faces: 2880.
Building grid with average area 2.35762e-05
39x41 cells of size 0.00485553 square.
42x44 cells of size 0.00485553 square.
Bounding box: [0.13199, 0.143208, 10.1158] to [-0.0554759, -0.0514304, 9.9553]
Proscenium : -0.0554759, 0.13199, -0.0514304, 0.143208
0.187466 x 0.194638 grid with cells of area 0.000180256.
14x15 cells of size 0.0134259 square.
15x15 cells of size 0.0134259 square.
Generate Cell structure
Distribute occluders
Finished generating occluders. Rejected 5758 faces.
Distributed 2880 occluders. Retained 936.
Reorganize cells
Ready to use SphericalGrid
ViewMap edge count : 1
ViewMap building : 0.000000

=== Stroke drawing ===
Traceback (most recent call last):
File "/media/TB disk/FREESTYLE SHADING).blend/contour.py", line 28, in
ImportError: No module named freestyle_init

location::-1

location::-1

Error executing Python script from PythonInterpreter::interpretFile
File: /home/korak/Stažené/blender26_freestyle/2.63/scripts/freestyle/style_modules/contour.py
Errors:
Error: Traceback (most recent call last):
File "/media/TB disk/FREESTYLE SHADING).blend/contour.py", line 28, in
ImportError: No module named freestyle_init

location::-1


Error: interpretation failed
Strokes generation : 0
Stroke count : 0
Stroke rendering : 0.12



=== Stroke drawing ===
Adding Python path: /home/korak/StaE>enC)/blender26_freestyle/2.63/scripts/freestyle/style_modules
Traceback (most recent call last):
File "/media/TB disk/FREESTYLE SHADING).blend/LineSet", line 1, in
ImportError: No module named parameter_editor

location::-1

location::-1

Error executing Python script from PythonInterpreter::interpretText
Name: LineSet
Errors:
Error: Traceback (most recent call last):
File "/media/TB disk/FREESTYLE SHADING).blend/LineSet", line 1, in
ImportError: No module named parameter_editor

location::-1


Error: interpretation failed
Strokes generation : 0
Stroke count : 0
Stroke rendering : 0.12
01:28 July 5th, 2012
I have the same problem as BrunoCornelsen, everything is set correctly - the same file works fine in windows build
03:39 June 27th, 2012
which library should i install ? error while loading shared libraries: libHalf.so.6: wrong ELF class: ELFCLASS64
22:24 June 15th, 2012
Can someone please explain how to get this running in Fedora? I have downloaded the package, but I don't understand how to use it. Thank you so much.
10:01 April 7th, 2012
2 . Fish (builder)
works fine here on fedora...

if you have
1) python scripting mode enabled (didnt test other stuff)
2) one or more modules added
3) freestyle checked in post processing

it should work :-)

http://img6.imagebanana.com/img/j1s0h94x/20120407_001.png
04:22 February 14th, 2012
Hello! Your build runs, but when the render stops, even after the message "Freestyle: Stroke rendering", the lines doesnt appear. I'm using Ubuntu 11.10 64bit. Thanks!
Feeling talkative?
Log in to leave a comment.