ÚÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Name: ³ Lv2PoVid ³ RenderStar Technology BV. ³ ÃÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Author: ³ Cees van der Mark ³ Version: ³ 4.0 ³ 1995-01-18 ³ ÃÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ RenderStar Technology BV, Keizersgracht 448 ³ ³ 1016 GD Amsterdam, the Netherlands ³ ³ Fax (+31) 20 622 4939 ³ ÃÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ Email: ³ cvdmark@xs4all.nl ³ 9:526/464.3 pcg ³ 2:283/203.11 fido ³ ÀÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ Disclaimer : ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ This software is free and may be freely distributed, but is copyrighted by the author (Cees van der Mark). This software is provided as is without any guarantees. The author and company assume no liability for damages, direct or consequential, which may result from the use of this software. The 'lv2povid.exe' file may not be used as part of any commercial package without the explicit written consent of the author or company. The happy part: Lv2povid.exe converts the output of Lj. Lapre's Lviewer and Lparser to a scene file for POVRAY v1/2, and ViVid v2.0. It knows a few command-line parameters : [1] :creates the scene file compatible with POVRAY v1.0 [2] :creates the scene file compatible with POVRAY v2.0 [vivid] :creates the scene file compatible with ViVid v2.0, see lv2povid.doc for more info. [x.map] :creates the scene file compatible with ViVid v2.0 OR PovRay v2.1, using x.map as color-height map; use [-crc x.map] or [-csc x.map] for central_radial_coloring or central_square_coloring. [-h] :to get 'on screen' help. [-v] :will print the version number of Lv2PoVid to the screen. New in this release: -POVRAY inc file output using multicolor .map files from Fractint, -Scene and object files are now separate, ie. Povray.inc and ViVid.vo files, -Cleared output like "1.234E-6", most raytracers do not like them, -The lv2povid.doc file is now separate from the program, the "makedoc" commandline option generates nothing but an error. -Povray: only v2.0/2.1 compatible file output, discontinued PovRay v1.0 support. -All files will now overwrite older existing files with the same name, no more "append" files! -Killed some other little bugs. _________________________Lparser output___________________________ POVRAY compatible scene file: -To use this program for the connection between the programs: Lparser, Lviewer and POVRAY v2.0 you might want to use the following quide lines: First start the Lparser program from Lj. Lapre with a .ls file of your choice, be sure to use a small one. (try TROPISM.LS) To do this, type [ Lparser tropism ] (without the brackets) and press [Enter]. The program creates a 'output.vol' file for you, we will use it later. Now we need to get a POVRAY compatible output of the Lparser for the same .ls file, so type one of the following lines and press [Enter]. Lparser -vc tropism Lparser -Bc tropism 'Feed' the output.vol to the Lviewer program by typing: [ Lviewer output ] and press [Enter]. After the Lviewer has completed its STARTUP screen, press [F1]. Now rotate, translate, zoom etc. the picture as desired, and if you have found a nice view, press [F1] again, and leave the Lviewer (ESC). (Lv2povid needs to have a double long info.txt file from the Lviewer with the starting and ending position of the camera to make the POVRAY view exactly the same as the view you had with the Lviewer. Make sure there is NO old info.txt file present!) The output.pov or output?.inc or output.inc file(s) and the info.txt file should be in the same directory as the Lv2povid.exe program. Type [Lv2povid 2] and press [Enter]. Lv2povid will create a POVRAY v2.0 compatible scene file for you, called 'Lpar2pov.pov'. Rename it as desired. Now 'feed' it to POVRAY v2.0, then try an other one and more and more and.. NEW in version 3: To get multicolored scenefiles from a Lparser .inc file using a .map color file, try the following commands: lv2povid pov-crc xxx.map lv2povid pov-crcr xxx.map Lv2povid v3 will create a multicolor scene file (lpar2pov.inc) composed of capped cylinders and triangles, and a scene file (lpar2pov.pov). (Try the map files from Fractint!) ViVid compatible scene file: -To convert Lparser output to ViVid use the same instructions as for POVRAY, but with the following restrictions: Use -vc output of the Lparser, the scene file created is made out of multicolor cylinders and triangles, very similar to the 'Lviewer picture' Use Lviewer to seek out a nice view angle and make the info.txt file as discussed for POVRAY compatible output. The output.inc file and the info.txt file should be in the same directory as Lv2povid.exe. Simply type [lv2povid vivid] and the scene(.v) and object(.vo) files are created. Feed them to ViVid..... It is also possible to color the object with a .map color file, use the option [vivid-crc x.map] for central_radial_coloring. Use [vivid-crcr x.map] to reverse the coloring of the object -0-0-0-0-0-0- ______________________Fractint output_______________________________ -To use this program for the connection between FracTint v18.2 and the raytracers ViVid or POVRAY, via the great Lviewer from Lj.Lapre, you might want to use the following quide lines: First create an .POT file of your favourite fractal with inside=250, outside=iter, maxpotential=255, bailout=32500, 16bit=yes. (The slope factor must be seeked out for every single .POT file.) Save this .POT file to disk. Press [y] and set the 16bit value to [NO]. Then choose the right color map for the image, remember that the colors you choose now will be used in the final POV picture. Save this image too, it should automatically be saved as an .GIF file, note the name of this file, you'll need it later. Press [3], and seek out the .POT file you just made. Set courseness to +/- [60], ray trace out [3], briefoutput to [yes], X axis to [100], Y axis to [100], surface roughness to [30]. Press enter until FracTint starts to create the .RAY file. When done: leave FracTint. Load the .RAY file into the Lviewer, use the quide lines in the Lviewer.txt file. After the file is loaded into the Lviewer, press [F1], then seek out the view you like most and press [F1] again. Copy the info.txt and the .ray file to the directory of LV2POVID, using the following commands: [1] : to make a scene file compatible with POVRAY v1.0 [2] : to make a scene file compatible with POVRAY v2.0 [vivid] : to make a mono colored scene file compatible with VIVID v2.0. The .ray and info.txt files should be in the same directory as lv2povid to create the ViVid scene files (.v and .vo), output smooth ViVid patches. [x.map] : to make the scene file compatible with ViVid v2.0, but with the use of a .map file for coloring the scene, output smooth ViVid patches. (.v and .vo file) The .map format is similar to the Fractint.map files. :) Use for central_square/radial_coloring (from center outwards coloring) the options [-csc x.map] or [-crc x.map]. Use [-cac] for central avarage coloring. After Lv2povid.exe is done, there should be a scene (.v) and a object (.vo) file with the same name as the .RAY file. 0-0-0-0-0-0-0-0-0 Many thanks to Lj. Lapre and Martin Higgs for testing all versions, and the interactive feedback, that helped creating the lv2povid pgm.