glstreal degenerated from TReal Trees by Ivan Lee Herring, October, 2003
History
- surfed around to find Creation of Realistic Plants Using Semi-Automatic Parameter Extraction From Photographs by: Stefan Maierhofer, Robert F. Tobler; VRVis Research Center, Donau-City-Strasse 1, A-1220 Vienna, Austria.
- Surfed to find Tree Images: Similar Software / Data
- finally started Jun 03 ... finish?
- Trace (Mouse click edge point outlines) images to gather input parameters... that is about all I plan to implement from what I gathered from the Maierhofer, Tobler paper. They seem to use DAG forms to input parameters.
- Viewer of the tree in 3D (a form-unit so it can be used by SOS MAP, etc...)
- Implement Wind, Range degradation (LOD), ... parameters:
"Implementing the missing elements of the model, i.e. stem splits, pruning, wind sway and leaf orientation "
"Support for creating animations (in combination with wind sway)" ... in GLS... Rotation animation is easy... Wind sway is actually different tree data and POV would require a batch file... and probably a rewrite of the code.
"Texture support from within TReal" just in GLS, dunno if it would be very visible in POV.
"Improving the file format of the tree definition files" ... not me ... save a definition as a .txt page of Annotated parameters, or an annotated printout... the actual file will remain a text list of Non-annotated data... not clumps nor "Trees Base: 123.45" xml. Use the annotated .txt file alongside a definition file to assist manually editing the parameters in file format... and here I am, trying to make parameter input easier... simply trace selected points on a tree picture. No plans to Import other Tree definition file formats.
- Export ___.dll writes a ___.? file then calls GLScene or other Viewer to load the file and display the tree in 3D (.obj, .3ds, ms3d, dxf, ? file formats). Probably never do this, as glstree already creates the tree 3D data and can write the data into a file format... now i just need to write the Save to procedures:)
- Actual Status
- [Jun03]
- began changes to original
- Tree bark and leaf textures in a GLScene OpenGL 3D display
- [Jul03]
- Added Leaves on Every Stem (besides normal Leaves created as Last Level)
- Stem Splits (Clones) .. Base Splits {Kinda.. needs work keeping track of the splits and their angle of departure}
- Wind {Kinda.. needs work... see AVI}
- (AVI is already a GLS component) [Problem is in eliminating the previous data .. and recomputing new data ..or.. rewrite code in Direct OpenGL component]
{Rotation .. rotate Camera around the stationary Tree ..or.. rotate the tree}
{Wind. effects on Tree from time 0..360}
{Range AVI depends on Range Degradation being complete. Watch a stationary Tree degrade into a blob or Watch a tree disappear into horizon}
- [Aug03]
- Range {Kinda.. needs work... Currently it is an example of why Percentage of all leaves needs to be done rather than this top down approach}
- UI ~ done for Wind..Range..Rotation (AVI, Cadence animation, Manual control movement)
- Added Sprite so Range turns into a Sprite.
Tree Definition File stores the Sprite texture file name.
- [late Aug03] Range improved with a large leaf layer that turns on as the leaves turn off... fewer bigger leaves. Sprite idea is not working.. large color-tone variation when changing from tree to sprite.. best solution may be to just have proxies of the minimal tree for distance and change to ranging tree when selected for closeup view... dunno solution.
- Only working Mathing is a random movement.
- Wind movement would be impossible to tell from simply calling Structure changed... a field of trees in the wind : NIMBY
- [Sep03]
- Changed Tree Definition File format completely
- To DO: Capability to have several Leaf and Fruit Shapes and Textures... error checking of correspondence of Shape to Texture .. none
- Work on Fixing Bole..Base..Stem Splits (Clones) and hopefully that fixes Base Bark Texturing
- Help Instructions... step by step, over and over
- Trace tree images minimal
- Export to MS3D, DXF thought about
- To DO:
- Trace images to gather input parameters... (Leaf and Fruit done... it is the TREE, duh!)
- Fix Bole..Base..Stem Splits (Clones) and Base Bark Texturing
- Pruning .. interactive display during parameter input. Pruning Envelope works (correctly ? dunno) but what the numbers actually do is hard to visualize.
- Maybe never:
- Range Degradation improvements after August
- Write a GLS Direct OpenGL procedure so Range Degradation, Wind, etc happen on the fly, rather than a complete recomputation of the Tree structure
- Rewrite everything using arrays instead of Lists, and make it a sub-class of a sprite so it can actually be used. or not
- Turn it into an actor for morphing wind
- Leaf orientation (turn to face sun, or turn upside down for rain).. on textured images it is hard to see any difference, two sided textures?
- Export to MS3D, DXF, ... file format
- Finish 2D L System ... maybe make it 3D
- Move Math and Attractors from Fractal 3D
Similar Software
- About- Install- Resources... Unzip the file in a directory of your creation. A help, tree data and tree definition directory are created in that directory, now containing the exe and ___ export dll's. Start the program, Click the menu [File/Tree/Definition Load] or Press the file icon to load a .tdf. Press the [Menu/Render/GLS viewer] to view a tree in rotatable 3D. Have fun. Wait for a 100 Ghz cpu and the Rad Aeon GAL 9000 graphic processor. Enjoy.
- Similar programs- Code
- Un-named: "It requires a C++ compiler (only tested with gcc 3.1), Qt 3.0 or later and the qmake utility" code: treegen.tar.gz Copyright (c) 2003, Johannes Eriksson
- vrvis: does similar vr flyovers based on the Weber, Penn paper.
- Tree Data
- Texture Images:
- Lemog graphics: texture wrapped Bark
- Vegetation Texture Images: Capture images of Leaves and Fruit using a camera or scanner.
- Tree Definitions: Make a database of tree information to use in creating Tree Definitions.
Help Topics
- I suggest reading the Weber - Penn .pdf, Ton van den Heuvel Treal.htm, my changes, GLS Treal Help, menu, Tree Viewer, etc... then get some Tree Images/textures and use the list of tree names to fill your forest.