Page 3 of 8 FirstFirst 1234567 ... LastLast
Results 21 to 30 of 76

Thread: Attempting a Blender to DXF or SVG animation exporter plugin for Blender 2.6

  1. #21
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    Quote Originally Posted by dream View Post
    i just noticed: if you animatea material color to go from some color to completely black, the last frame where it should be completely black it is actually completely white. Black in Blender is 0.0 and white is 1.0. Maybe somewhere in the code a value below 0.0 like -0.0000001 is converted to 0.9999999 or something?
    This is not a bug in dxfWriter, it was the original coloring in the Blender file...

    New version online with experimental coloring from the rendered image.
    Download dxfWriter 0.0.4

    Note, the results from this are highly dependent on the blend file. Best results are achieved when the edges are inside the texture of the objects.
    If the edges are at the outline, the result is mostly not so good...
    Also the result varies at different sizes, I suggest 1024x1024.
    This was a quick hack/test, so please report your results, maybe with attached .blend files... :-)

    ILD SOS
    Click image for larger version. 

Name:	Clipboard 2.jpg 
Views:	32 
Size:	38.7 KB 
ID:	42460

    Blender
    Click image for larger version. 

Name:	Clipboard 3.jpg 
Views:	28 
Size:	97.6 KB 
ID:	42461

  2. #22
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    It adds the color from the rendered image directly to the points/lines inside the dxf file. So ILS SOS's recoloring isn't needed anymore...
    And yes in the rendered images the color is from the freestyle module.

  3. #23
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    yes the bitmap images get the object color. if you need the original coloring also in the bitmap files, the only option is actuall to render twice.
    one time with freestyle and one time without freestyle...

  4. #24
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    just change your directory for ren der output...

  5. #25
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    - change the render directory
    - render with freestyle
    - change the render directory again
    - render without freestyle

    in the first dir are the correctly colored dxf files and wrong bitmap files
    in the second dir are the correct bitmpap files

    just a workaround until the next release... ;-)

  6. #26
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    die you enable the rendered colors in the dxfWriter options?
    maybe you didn`t update the dxfWriter GUI plugin?

  7. #27
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    @dream:
    dxfWriter doesn't sort the lines, it just takes the edges from freestyle...

  8. #28
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    new version for Blender 2.70:
    Download

    New in this version:
    - support for Blender 2.70
    - new color shader for getting the color from the rendered image (basically the same as in the last version, but displays the correct colors in the render window, instead of white)

  9. #29
    Join Date
    Apr 2014
    Posts
    9

    Default

    Many thanks for this plugin !

    It's the best thing I found so far to get vector output from Blender and import to Flash !

    Two questions though :
    - Can I get DXF output in an older DXF format ? (unlikely because you said you rewrote output to get R14 that supports true color)
    - Straight lines are in fact made up from many segments. Is this because of the Freestyle rendering ?

    Thanks again !

  10. #30
    Join Date
    Apr 2006
    Location
    Germany
    Posts
    123

    Default

    @magus:
    it's great seeing use of this plugin! :-)

    @pjgfi:
    unfortunately, I'm using currently the R14 format as you said and I don't want to support R13 anymore. since the lack of true color support.
    regarding lines, this depends on the original objects/meshes, my plugin just takes the Freestyle lines and puts them into the dxf file.
    If I would use the chaining option from Freestyle I could combine them into one line again.
    I think I will add this as option.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •