sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Sunflow's exporter

    Scheduled Pinned Locked Moved Plugins
    28 Posts 3 Posters 4.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      ilay7k
      last edited by

      I read this topic.
      Didier, i want ask you: have any progress with sunflow's exporter?
      I try to make somethig in attach.

      http://www.sketchucation.com/forums/scf/sas/Ruby/001.JPG

      Exporter:
      http://www.sketchucation.com/forums/scf/sas/Ruby/su2sf.rb

      1 Reply Last reply Reply Quote 0
      • K Offline
        kwistenbiebel
        last edited by

        Interesting. Sunflow for Sketchup.
        That should be great.

        1 Reply Last reply Reply Quote 0
        • Didier BurD Offline
          Didier Bur
          last edited by

          Well, some progress on su2sf, but only dialog boxes to set render settings, camera type, background settings, GI settings in a more user-friendly way. The plugin will assume the user have some knowledge about how SF works, but I'm thinking of a "regular user" UI and an "advanced user" UI as well. For instance, AA setting could be a dropdown-list "none, low, medium, high, final" in the standard user UI, and could be numeric parameters in the advanced user UI.
          Textured shaders are the major issue and won't be implemented in this first release, because SF needs UV's for each face (!). Let's wait for next version of SF when image mapped shaders will be available. 😳
          I'm writing a quick user guide now. I hope I'll release it before going on holidays in August (Croatia) πŸ˜†
          Regards,

          DB

          1 Reply Last reply Reply Quote 0
          • I Offline
            ilay7k
            last edited by

            Didier, thank you for answer!
            I'm glad to read this. It's nice to make double-ui interface.
            I just simplify(in new modification of su2sf) into: 3 render-presents that made by Wooster-dandruff... add some NON-TEXTURED SHADERS and custom-dialog to choose image-res-n and gi-setting. That's all.
            In manual - http://www.geneome.net/other/otherfiles/sunflow-manual.pdf
            we have definitions about TEXTURED SHADERS.

            So we wait new version of sunflow...

            ilay

            1 Reply Last reply Reply Quote 0
            • Didier BurD Offline
              Didier Bur
              last edited by

              @unknownuser said:

              In manual - http://www.geneome.net/other/otherfiles ... manual.pdf
              we have definitions about TEXTURED SHADERS.

              Yes I know that but every face must have UV values to be correctly rendered with such shaders. So it is impossible for now to achieve that, starting from a SU model in which 99% of faces DON'T have UV's 😠

              DB

              1 Reply Last reply Reply Quote 0
              • I Offline
                ilay7k
                last edited by

                Thank you, Didier!
                GSU's dev.team, you need to make more "comfortable" functions of UV-mapping!!!

                1 Reply Last reply Reply Quote 0
                • I Offline
                  ilay7k
                  last edited by

                  I try to find sunflow render version 07.3 and found it...
                  If you haven't, try this http://rapidshare.com/files/44324513/sunflow07_3.zip.html

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kwistenbiebel
                    last edited by

                    Hi all,
                    I am trying sunflow out on a test model.
                    This is the first output I get after pushing 'render' in the Sunflow GUI.

                    http://i140.photobucket.com/albums/r3/kwistenbiebel1/testsunflow.jpg

                    As you can see, there is direct light but the indirect light needs more bounces/trace depth.
                    I tried to find a way to change that but I couldn't find how.
                    Searching on Sunflow forum, I found code lines but I can't seem to be able to use the ctrlC+ctrlV (copy-paste) command to enter it in the' script editor' of the Sunflow editor.
                    What am I doing wrong.
                    Should I be editing the .sc file (it's HUGH !) or instead put code in the 'script' editor.
                    Where can I change the presets like resolution, GI settings, etc...?

                    I tried reading briefly through the Sunflow forum but couldn't find the answers.
                    Could someone give me a hand to get started with this?

                    Thanks in advance,
                    Kwistenbiebel

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ilay7k
                      last edited by

                      @kwistenbiebel said:

                      Hi all,
                      Should I be editing the .sc file (it's HUGH !) or instead put code in the 'script' editor.
                      Where can I change the presets like resolution, GI settings, etc...?

                      I tried reading briefly through the Sunflow forum but couldn't find the answers.
                      Could someone give me a hand to get started with this?
                      Thanks in advance,
                      Kwistenbiebel

                      Kwistenbiebel look at cornell_box_jensen.sc or julia.sc from examples
                      you can download from off.site of sunflow render.

                      but need add some modification to lights or mats
                      -------julia.sc

                      gi { type path samples 16 } 
                      
                      light {
                        type spherical
                        color { "sRGB nonlinear" 1 1 .6 }
                      radiance 60  <----------for gi
                        center -5 7 5
                        radius 2
                        samples 8
                      } 
                      
                      

                      from cornell_box_jensen.sc

                      trace-depths {
                        diff 4
                        refl 3
                        refr 2
                      }
                      
                      photons {
                        caustics 1000000 kd 100 0.5
                      }
                      
                      % uncomment this block and comment the following GI block to switch gi engines
                      ............
                      ...........
                      %% use these to view the effect of the individual gi components
                      % override debug_caustics false
                      % override debug_globals false
                      % override debug_gi false
                      
                      

                      and mat-s had

                      shader {
                        name debug_caustics
                        type view-caustics
                      }
                      
                      shader {
                        name debug_globals
                        type view-global
                      }
                      
                      shader {
                        name debug_gi
                        type view-irradiance
                      }
                      
                      

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kwistenbiebel
                        last edited by

                        Thanks Ilay,

                        I tried to copy and paste some of those code lines but it produces errors when opening in sunflow.
                        Not sure if those lines would just need to be added or they need to replace existing lines.
                        My lack of experience in using code lines makes this somewhat too hard 😳 .

                        This is the result from a 'default' SU2Sunflow export.(render time ca. 4 minutes 1600X1200 )

                        http://i140.photobucket.com/albums/r3/kwistenbiebel1/test2-1.jpg

                        I can see Sunflow has potential when looking at the gallery section.
                        Hoping to see a full blown Sketchup plugin soon.

                        Regards,
                        Kwistenbiebel

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          ilay7k
                          last edited by

                          Hello Kwistenbiebel!
                          I have same errors.
                          Nice w.i.p.-render, sunflow has instacing-structure like 3dsmax's proxy and i like it.
                          Indigo is alternave to Maxwell render/fryrender
                          I think sunflow - vray-killer πŸ˜„)))...too
                          PS
                          I am from vray4skp-forum too.

                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            ilay7k
                            last edited by

                            Didier i read(fro s~r's forum) about new version of su2sf.
                            Can you share it?

                            1 Reply Last reply Reply Quote 0
                            • Didier BurD Offline
                              Didier Bur
                              last edited by

                              Yes, it will be uploaded here tomorrow (now upload facility on the SF forum 😞 ).
                              Don't expect too much with this one because it is in its early stage of development πŸ˜‰

                              DB

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                ilay7k
                                last edited by

                                Hello Didier! It's great news.
                                In any case, thank you!
                                ilay

                                1 Reply Last reply Reply Quote 0
                                • Didier BurD Offline
                                  Didier Bur
                                  last edited by

                                  The update is here:
                                  http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1514
                                  Also available at my site, "Files-Converters-Misc" section.
                                  Regards,

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    ilay7k
                                    last edited by

                                    Thanks a'lot!!!
                                    But some errors are appeared...

                                    Error; #<TypeError; cannot convert Fixnum into String>
                                    su2sf.rb;81;in `+'
                                    su2sf.rb;81;in `output_image_settings'
                                    su2sf.rb;728;in `export'
                                    su2sf.rb;793
                                    su2sf.rb;793;in `call'
                                    

                                    when i change render-settings(Antialiasing).

                                    1 Reply Last reply Reply Quote 0
                                    • Didier BurD Offline
                                      Didier Bur
                                      last edited by

                                      Fixed (uploaded at the same place) 😳 . Sorry for the inconvenience and thanks for reporting,

                                      DB

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        ilay7k
                                        last edited by

                                        Didier, thanks for fix!
                                        So i try it.
                                        sunflow render works fine with outdoor models.
                                        But indoor...error appears about sky-light(about photon-emiting)

                                        http://www.sketchucation.com/forums/scf/sas/Ruby/variants1.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • Didier BurD Offline
                                          Didier Bur
                                          last edited by

                                          Path tracing need emitting light to shoot photons (afaik). So when you select "solid color" as background there's no sunsky, thus no light to emit. Same occurs outdoor too.

                                          DB

                                          1 Reply Last reply Reply Quote 0
                                          • I Offline
                                            ilay7k
                                            last edited by

                                            Thank you!
                                            I understand it(outdoor scences are only tests)
                                            I trying to render indoor scences like - http://rapidshare.com/files/45915944/sb1_sf.rar.html
                                            I also try to "play" with different settings of gi-types
                                            For example, i use "standard" ui-setting:

                                            1. render-sett.: res.- 800x600; gi - high; aa- none
                                            2. background sett.: bg type - sky
                                              and when i render and start-up message about "photon mapping enabled, but no globals photons to emit". it's for light-object
                                              Ilay

                                            P.S. maybe some technical questions are asked on official forum?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement