Page 1 of 2

Non-Gui, console only

Posted: Wed Jul 06, 2005 11:48 am
by shevegen
Hi!

I am a bit confused.

As far as I have understood it, there is only the console application on Linux. It works nicely, but the confusion was in whenever I see something like "render button" on the forum, i mean i have no buttons. The console application works the same though in that instead of clicking buttons someone has to specify certain command line options?

Maybe you can help to remove my confusion, i am still digging through the forum and web links :)

Posted: Sat Jul 09, 2005 8:35 pm
by Guest
type "./cfdg" at the prompt, with no parameters, to get a summary of how to use it with parameters..


Usage: ./cfdg [option]... input.cfdg output.png
Options:
-w num width in pixels (default 500)
-h num height in pixels (default 500)
-s num set both width and height in pixels
-m num maximum number of shapes (default none)
-x num over sampling for anti-aliasing (default 3, 1 == off)
-v str set the variation code (default is random)
-c crop image output
-? show this message, then exit


--
for example:
./cfdg -w 500 -h 500 input/forest.cfdg output/forest.png


-cc

Posted: Wed Jul 27, 2005 12:48 am
by momo
i think it would be nice to have a linux gui too. Are there any plans for adding it?

Posted: Wed Jul 27, 2005 8:32 am
by MtnViewJohn
Neither Mark nor I plan to make a Linux/xBSD GUI version. Someone else will have to create it.

Posted: Fri Aug 12, 2005 8:06 pm
by shevegen
The problem is maybe the manifold GUIs, for windows you dont have to worry much about the users - they can only use one solution. And for linux its maybe not worth it, much less users compared to, and nothing really unified (with Qt and GTK the two biggest, but FOX, wx*, tcl/tk and so many more in existance)

I luckily can use a windows box, the GUI is really great :)

Posted: Fri Aug 12, 2005 10:46 pm
by MtnViewJohn
What if someone wrote a Java applet that works as a driver and GUI for the command line version of cfdg? Would the Java security model for Firefox/Safari/IE let a Java applet run a native program situated in the same directory as the applet's class file?

Posted: Sat Sep 24, 2005 8:32 am
by momo
I'm trying to fix this so we can have a GUI in Linux too.

Image

I'll try to release an alpha version in a few weeks.

command line for windows

Posted: Wed Nov 30, 2005 4:36 pm
by gjunell
I'd like to have the same features of the *nix cfdg program in the windows version. If the windows version executed without parameters (or just a starting file name) then the gui launches. But if the the command line parameters are present, then it renders and quits.

Yes, you could say "hey, just compile cfdg" but I don't have a compiler and libraries.

Perhaps someone out there has a NT/2000 cfdg binary they could give me?

Greg

Posted: Thu Dec 01, 2005 12:12 pm
by MtnViewJohn
cfdg is designed to compile under Linux, Unix (mostly xBSD), or Cygwin. We have never tried to compile it using Visual C++. I might try that over the weekend. You could install Cygwin and compile it yourself.

Posted: Fri Dec 02, 2005 3:45 am
by oliver
momo wrote:I'm trying to fix this so we can have a GUI in Linux too.

Image

I'll try to release an alpha version in a few weeks.
where's the screenshot coming from?
how about your progress?
i might me able to help. i high quality rendering
solution would be to use the cairo backend for
drawing in gtk widgets ..

best
oliver

Posted: Fri Dec 02, 2005 6:55 am
by momo
It's just a front end for the command line version. It's made with ruby, ruby-gnome2 and glade.

I haven't had time to work on it and it lacks some basic features like search & replace or render with a specific variation code, i'm sure it contain bugs too, but it works for me now.

I'm going to try looking into it again this weekend for code cleaning and upload it so you can start using and hacking it.

Posted: Mon Dec 05, 2005 1:31 pm
by momo
Well, here is the link to the context free editor for linux.

Consider this an alpha release.

Posted: Sun Jan 29, 2006 5:07 am
by momo
here is a new release of the context editor for linux: download

and here is a new screenshot:
Image

Linux GUI running without ruby

Posted: Fri Nov 17, 2006 6:40 am
by Skrabak Csaba
Hi momo and all,

Since there was nothing about any Linux GUI on the download page, I didn't know that you have already wrote one. Now that I made my GUI, I realized I wasn't the first one. Anyway, check it out. GTK+, made using glade, but needs no ruby: http://impulzus.com/~tchibo/cfdg-fe.tgz

Posted: Fri Nov 17, 2006 10:50 pm
by MtnViewJohn
I have created a LinuxGUI wiki page and linked to it from the download page.