• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

man/man1/H03-May-2022-7962

BUGSH A D15-Nov-20173.3 KiB7260

BUILD.shH A D15-Nov-2017402 127

LICENSEH A D15-Nov-201717.6 KiB341281

NEWSH A D15-Nov-20173.8 KiB9885

READMEH A D15-Nov-20174.2 KiB11490

THANKSH A D15-Nov-2017250 1410

TODOH A D15-Nov-20177.7 KiB138130

VERSIONH A D15-Nov-2017366 121

common.cppH A D15-Nov-20171.9 KiB5431

common.hH A D15-Nov-20173.2 KiB8347

control.cppH A D15-Nov-20172.1 KiB5728

control.hH A D15-Nov-20171.9 KiB5015

control_about.cppH A D15-Nov-20172.8 KiB6133

control_about.hH A D15-Nov-20171.7 KiB4413

control_render.cppH A D15-Nov-20176.4 KiB175127

control_render.hH A D15-Nov-20172.4 KiB7434

control_save.cppH A D15-Nov-20175.5 KiB149108

control_save.hH A D15-Nov-20172 KiB6324

control_terrain.cppH A D15-Nov-201720.9 KiB493408

control_terrain.hH A D15-Nov-20178.1 KiB292231

dialog_documentation.cppH A D15-Nov-20172.1 KiB5825

dialog_documentation.hH A D15-Nov-20171.8 KiB4713

doxygen.cfgH A D15-Nov-201735.7 KiB922637

fracplanet.cppH A D15-Nov-20173.3 KiB9849

fracplanet.cssH A D15-Nov-2017450 4739

fracplanet.htmH A D15-Nov-201727.8 KiB678604

fracplanet.menuH A D15-Nov-2017153 21

fracplanet.proH A D03-May-20221.5 KiB5035

fracplanet_main.cppH A D15-Nov-201715.1 KiB460351

fracplanet_main.hH A D15-Nov-20173.5 KiB11052

geometry.cppH A D15-Nov-20176.3 KiB175120

geometry.hH A D15-Nov-20179 KiB290161

htm_to_qml.xslH A D15-Nov-20171.2 KiB4839

image.cppH A D15-Nov-20174.3 KiB12791

image.hH A D15-Nov-20179.4 KiB418296

license.cppH A D15-Nov-201719.9 KiB160133

license.hH A D15-Nov-20171.6 KiB335

matrix33.cppH A D15-Nov-20172.1 KiB5630

matrix33.hH A D15-Nov-20175.3 KiB224142

matrix34.cppH A D15-Nov-20172 KiB4622

matrix34.hH A D15-Nov-20173.1 KiB11961

mkdebH A D15-Nov-20173.7 KiB12375

mktgzH A D15-Nov-2017971 2916

noise.cppH A D15-Nov-20174.4 KiB163103

noise.hH A D15-Nov-20172.3 KiB8027

parameters_cloud.cppH A D15-Nov-20171.6 KiB3210

parameters_cloud.hH A D15-Nov-20172 KiB5817

parameters_noise.cppH A D15-Nov-20171.5 KiB319

parameters_noise.hH A D15-Nov-20171.9 KiB5314

parameters_object.cppH A D15-Nov-20171.5 KiB308

parameters_object.hH A D15-Nov-20172.1 KiB6121

parameters_render.cppH A D15-Nov-20172.4 KiB5833

parameters_render.hH A D15-Nov-20172.7 KiB8227

parameters_save.cppH A D15-Nov-20171.6 KiB3311

parameters_save.hH A D15-Nov-20172.3 KiB6217

parameters_terrain.cppH A D15-Nov-20172.2 KiB5026

parameters_terrain.hH A D15-Nov-20173.5 KiB10334

progress.cppH A D15-Nov-20171.8 KiB4420

progress.hH A D15-Nov-20172.4 KiB7729

qtcommon.hH A D15-Nov-20172.2 KiB6339

random.cppH A D15-Nov-20171.5 KiB318

random.hH A D15-Nov-20171.9 KiB6218

rgb.cppH A D15-Nov-20172.3 KiB5627

rgb.hH A D15-Nov-20175.9 KiB267164

scan.cppH A D15-Nov-20171.4 KiB211

scan.hH A D15-Nov-20172.9 KiB11361

spinbox.cppH A D15-Nov-20171.5 KiB3210

spinbox.hH A D15-Nov-20171.6 KiB3911

triangle.cppH A D15-Nov-20171.4 KiB211

triangle.hH A D15-Nov-20172.1 KiB6830

triangle_edge.cppH A D15-Nov-20171.4 KiB211

triangle_edge.hH A D15-Nov-20172.8 KiB8838

triangle_mesh.cppH A D15-Nov-201713.9 KiB484365

triangle_mesh.hH A D15-Nov-20178.3 KiB306163

triangle_mesh_cloud.cppH A D15-Nov-20176.6 KiB194134

triangle_mesh_cloud.hH A D15-Nov-20173.2 KiB8832

triangle_mesh_terrain.cppH A D15-Nov-201724.1 KiB712557

triangle_mesh_terrain.hH A D15-Nov-20174.7 KiB12644

triangle_mesh_viewer.cppH A D15-Nov-20179.7 KiB328262

triangle_mesh_viewer.hH A D15-Nov-20174.2 KiB16163

triangle_mesh_viewer_display.cppH A D15-Nov-201713.6 KiB474355

triangle_mesh_viewer_display.hH A D15-Nov-20173.7 KiB13847

usage_text.hH A D15-Nov-201730 KiB691690

vertex.cppH A D15-Nov-20171.4 KiB211

vertex.hH A D15-Nov-20173.3 KiB12461

xyz.cppH A D15-Nov-20173.1 KiB11376

xyz.hH A D15-Nov-20176.2 KiB274158

README

1ABOUT
2=====
3Fracplanet generates random planets and terrain areas with oceans,
4mountains, icecaps, lakes and rivers.  Parameters are specified interactively
5and the results displayed using OpenGL.  The generated objects can be
6exported as Pov-Ray or Blender models, or as textures.
7
8It uses C++ (with STL and boost), Qt and OpenGL.
9
10Home page: http://www.bottlenose.demon.co.uk/share/fracplanet
11
12Author: timday at timday dot com
13
14LICENSE
15=======
16This program is free software; you can redistribute it and/or
17modify it under the terms of the GNU General Public License
18as published by the Free Software Foundation; either version 2
19of the License, or (at your option) any later version.
20
21This program is distributed in the hope that it will be useful,
22but WITHOUT ANY WARRANTY; without even the implied warranty of
23MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24GNU General Public License for more details.
25
26You should have received a copy of the GNU General Public License
27along with this program; if not, write to the Free Software
28Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
29
30[The license should be in the LICENSE file in this directory]
31
32BUILDING
33========
34
35Either
36  qmake VERSION_NUMBER=x.x.x && qmake
37or
38  ./BUILD.sh
39will do the same thing using the version number from ./VERSION.
40(BUILD.sh assumes a Debian qt setup where a -qt=5 option can be used to select qt version; -qt=4 should also work).
41
42This should give you a "fracplanet" executable which you can run with
43  ./fracplanet
44or copy to wherever you like (see INSTALL section below).
45
46Besides the basic manual page in man/man1/fracplanet.1. there's some usage documentation in fracplanet.htm.
47This is processed into a usage_text.h included in the build by the builtin-docs-update.sh script.
48But usage_text.h is under version control and bundled in the release tarball so there shouldn't be any need to run builtin-docs-update.sh unless you edit fracplanet.htm.
49
50BUILD OPTIONS
51=============
52Qt's qmake builds the Makefile used to build the application
53so to change compile options you should mess with the fracplanet.pro
54(if you do change it, do a "make distclean" before
55you rebuild to make sure Makefiles are rebuilt)
56or provide overrides on qmake's command line.
57
58USAGE
59=====
60User documentation is contained in fracplanet.htm and accessible
61from the ABout tab of the application while running.
62
63If you just want to dive in all you need to know is this:
64
65After changing ANY of the terrain generation parameters, you must
66hit "regenerate" to create and display a new model.
67This keeps the random seeds for terrain and river generation the same.
68There are a couple of extra buttons which also change the random seed
69for the terrain or river network before regenerating,
70Most of the parameter entry fields have tooltips on them which
71give an idea of what they're about.
72To begin with it's best to start by making small changes
73to most parameters, especially the number of subdivisions.
74
75PERFORMANCE
76===========
77The biggest factor influencing performance (both generation and
78display) is the degree of subdivision.  For 9 subdivisions
79(for a planet) around 260MB of memory is required.  10 subdivisions
80needs just over a gigabyte.  Needless to say, if it starts swapping,
81it's not pretty.
82Generation of rivers and lakes can also be time consuming.
83
84FSAA/MULTISAMPLING
85==================
86In the past, fracplanet has been got to run nicely antialiased on NVidia hardware and drivers simply by doing
87  __GL_FSAA_MODE=7 ./fracplanet
88Check your graphics card's documentation for current relevant options.
89
90INSTALL
91=======
92Doing
93  make install
94no longer attempts to do anything useful.
95The only build product is the executable "fracplanet";
96simply copy it wherever you like.
97
98Other files of interest are:
99  man/man1/fracplanet.1
100  fracplanet.htm fracplanet.css
101  BUGS TODO THANKS NEWS
102
103OTHER STUFF
104===========
105Probably only of interest to those actively developing the code:
106
107 - mktgz builds the tarballs released on sourceforge.
108
109 - mkdeb builds .deb binary installables for Debian systems.
110   (It probably assumes you have things pbuilder set up in a certain way).
111
112 - mkdoc (in the CVS, not distributed) builds source-code
113   documentation using doxygen.
114