 |
Sunflow Rendering System Official Sunflow discussion forums
|
| View previous topic :: View next topic |
| Author |
Message |
kwistenbiebel
Joined: 15 Mar 2007 Posts: 1 Location: Belgium
|
Posted: Thu Mar 15, 2007 4:59 pm Post subject: Sketchup exporter? |
|
|
Hi all,
I am new to the forum and liked to ask if a Sketchup exporter is in the pipeline.
Cheers,
kwistenbiebel |
|
| Back to top |
|
 |
fpsunflower Site Admin

Joined: 24 Feb 2007 Posts: 659 Location: Los Angeles, CA
|
Posted: Thu Mar 15, 2007 8:24 pm Post subject: |
|
|
| Not that I know of, but I would love to see one created. |
|
| Back to top |
|
 |
yellow
Joined: 24 Feb 2007 Posts: 51
|
Posted: Fri Mar 16, 2007 6:47 pm Post subject: |
|
|
kwistenbiebel:
There's a ruby script available for SketchUP for both Kerkythea (Podium uses kerky BTW) and a ruby script for Indigo, both create XML type files.
Needs someone to do the hacking about I guess. |
|
| Back to top |
|
 |
fpsunflower Site Admin

Joined: 24 Feb 2007 Posts: 659 Location: Los Angeles, CA
|
Posted: Sat Mar 17, 2007 9:52 pm Post subject: |
|
|
I just looked at indigo's ruby script. It works with the free version of sketchup.
It seems very straightforward to adapt this to Sunflow. I really hope someone will dig into this. I might do so myself if no one does, I think sketchup is a great package. |
|
| Back to top |
|
 |
twooster
Joined: 22 Mar 2007 Posts: 16 Location: Portland, OR
|
Posted: Sat Mar 24, 2007 7:30 pm Post subject: |
|
|
It's not done yet, but here it is:
http://www.foslerarchitecture.com/Upload/su2sf.rb
What works:
* Exports whole scene or selection
* Exports sky state (sun position, etc)
* Exports camera state (including viewport size)
* Exports groups and components
* Exports textures as colors for now
What doesn't:
* Component export might be slightly broken, still figuring this out in tandem with a SF bug
* Not enough status updates, not enough control over the export. You'll have to modify the output file for anything special.
* No support for lights
* No support for pages/animation steps/multiple camera angles
* Will output non-visible faces (layers that are off, etc).
Still, it seems quick, and it'll do the job for basic mass-modeling renders. Please tell me what you think!
Thanks,
-Tony Wooster |
|
| Back to top |
|
 |
yellow
Joined: 24 Feb 2007 Posts: 51
|
Posted: Sat Mar 24, 2007 10:43 pm Post subject: |
|
|
tony
Excellent, looking forward to trying your script out when i get back into the office on Monday.
Great start. |
|
| Back to top |
|
 |
twooster
Joined: 22 Mar 2007 Posts: 16 Location: Portland, OR
|
Posted: Mon Mar 26, 2007 5:14 pm Post subject: |
|
|
Alright. While the exporter I've posted works, it obviously needs a bit of an overhaul. I was attempting to learn about Sketchup, SunFlow and ruby all at once with this project. The resulting code is pretty messy and not very ruby-like. I'm anticipating a partial rewrite.
So, in light of that, what features do you folks consider essential for the exporter to have? Sketchup excels because it has a simple interface. The concept here is to have a big red "Render" button that guesses, as best it can, how to produce a good scene. However, SunFlow is feature packed, and it would be negligent of me to ignore all the added features altogether.
Let's put some ideas on the table. There are the features I'd like to use but cannot, for limitations in SF, such as thin-glass shaders. If anyone has a kickstart guide to faking this, I'd appreciate it.
Secondly, how important is an animation export? Do we need just the defined camera views, or do we want interpolation between, and do we want motion blur?
Third, how should something as complicated as shader settings be handled? I've pretty much settled on per-material (not per-face) settings handling in Sketchup.
Fourth, for those of you who have tried the exporter, is it quick enough? I tried my damnedest to ensure that the scene is looped over once and only once. I know, however, that there are a lot of ways to speed this sucker up. I'm also a bit removed from speed concerns because I wrote/tested this on a speedy MBP.
Please, let me know what you think. I'm looking at this primarily from an arch-vis point of view, and I think some other user viewpoints would be helpful. |
|
| Back to top |
|
 |
zeitmeister

Joined: 16 Mar 2007 Posts: 379 Location: Limburg, Germany
|
Posted: Mon Mar 26, 2007 7:05 pm Post subject: |
|
|
Hi tony,
just a few thoughts:
| Quote: | | Let's put some ideas on the table. There are the features I'd like to use but cannot, for limitations in SF, such as thin-glass shaders. If anyone has a kickstart guide to faking this, I'd appreciate it. |
Such a feature is in the pipeline. As for big demand, it will occur with the next release of SunFlow, as far as I know.
| Quote: | | Secondly, how important is an animation export? Do we need just the defined camera views, or do we want interpolation between, and do we want motion blur? |
I don't think that this is so important yet...
maybe the focus should stay on getting all the shaders and enviroment-settings running; an animation-support might be not so urgent.
| Quote: | | Third, how should something as complicated as shader settings be handled? I've pretty much settled on per-material (not per-face) settings handling in Sketchup. |
In this case, some sort of advanced SunFlow-shader-panel in the SketchUp-GUI might be the best solution. Tricky.
| Quote: | | Fourth, for those of you who have tried the exporter, is it quick enough? I tried my damnedest to ensure that the scene is looped over once and only once. I know, however, that there are a lot of ways to speed this sucker up. I'm also a bit removed from speed concerns because I wrote/tested this on a speedy MBP. |
Nethertheless a "render beauty"-button would be tnice to have, the user should be forced to make all the AA- and sample-settings by himself.
If he is clever enough to use and install SunFlow, he is clever enough to manage these settings (based on predefined sample-settings) by himself.
The key there might be to explain the settings quite easy-to-understand.
Cheers, David |
|
| Back to top |
|
 |
fpsunflower Site Admin

Joined: 24 Feb 2007 Posts: 659 Location: Los Angeles, CA
|
Posted: Thu Mar 29, 2007 5:36 am Post subject: |
|
|
I quickly tested the exporter - it works great
I don't have any cool renders to show yet, but it will be quite handy to be able to work from Sketchup now too.
Would you like for the current script to be checked-in to SVN? |
|
| Back to top |
|
 |
zeitmeister

Joined: 16 Mar 2007 Posts: 379 Location: Limburg, Germany
|
Posted: Thu Mar 29, 2007 8:02 am Post subject: |
|
|
Hm,
where do I have to place the ruby-script in my SketchUp-Application?
Or do I have to do some sort of compiling? |
|
| Back to top |
|
 |
fpsunflower Site Admin

Joined: 24 Feb 2007 Posts: 659 Location: Los Angeles, CA
|
Posted: Thu Mar 29, 2007 4:53 pm Post subject: |
|
|
Try the plugins folder inside the sketchup install.
It should create a new menu entry in the program. No compiling is required. |
|
| Back to top |
|
 |
twooster
Joined: 22 Mar 2007 Posts: 16 Location: Portland, OR
|
Posted: Fri Mar 30, 2007 12:18 am Post subject: |
|
|
SVN + me == ?
Ah, you could check it in to SVN, I suppose. It's messy, as you've probably seen, and really does need a rewrite. On the plus side, it's now easy for me to create geometry for SunFlow, which is nice. On the minus, texture support is going to be hell. It might actually be best to leave the Sketchup exporter out (say, on the forums only) until you release the new API officially, and I rewrite the exporter for that. Also, perhaps to wait for thin-glass shaders or similar.
zeit: If you're using Windows, I have no clue, but I suspect C:\Program Files\Sketchup\Plugins is the place. If you're using OS X, either /Library/Application Support/Google Sketchup 6/Sketchup/Plugins (or similar if you're using 5) for a global install or ~/Library/Application Support/Google Sketchup 6/Plugins for a local one. |
|
| Back to top |
|
 |
zeitmeister

Joined: 16 Mar 2007 Posts: 379 Location: Limburg, Germany
|
Posted: Fri Mar 30, 2007 7:31 am Post subject: |
|
|
Thank you, but I can't find anything about SunFlow in SketchUp after placing the script in the plugins-folder.  |
|
| Back to top |
|
 |
dandruff

Joined: 17 Apr 2007 Posts: 14
|
Posted: Tue Apr 17, 2007 12:42 pm Post subject: |
|
|
zeitmeister - under the plugin menu at the top of the screen
twooster - THANK YOU! This script opened a new world for me at work. Me and my coleges are discussing to use SunFlow in our presentation pipeline now (Architectural firm), because of you. Here's one of the first renders I made with SunFlow/Your script:
Just one problem though... Is it possible for you to make a function that converts, for example, components named "meshlight...." to meshlights? I've tried to edit the sc-file afterwards, but it get's to cryptic to use it that way. I would be very happy if you managed to solve that.
//dandruff |
|
| Back to top |
|
 |
zeitmeister

Joined: 16 Mar 2007 Posts: 379 Location: Limburg, Germany
|
Posted: Tue Apr 17, 2007 1:33 pm Post subject: |
|
|
Under the "Plugins"-menu, SunFlow or anything else doesn't appear.  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|