Dec 092017
 
Converts a gif file to a dfx file, the height is based on the color - this utility was used to help make the landscapes in Rebel Assault.
File GIFDXF.ZIP from The Programmer’s Corner in
Category Printer + Display Graphics
Converts a gif file to a dfx file, the height is based on the color – this utility was used to help make the landscapes in Rebel Assault.
File Name File Size Zip Size Zip Type
GIFDXF.DOC 8391 3105 deflated
GIFDXF.EXE 32112 20677 deflated
GIFDXF.REG 717 242 deflated

Download File GIFDXF.ZIP Here

Contents of the GIFDXF.DOC file


Gifdxf

Copyright (C) 1991, Kamyan Software.
1228 Robin Drive
Carol Stream Il. 60188
All rights reserved


Index for Gifdxf

1.0 Introduction

2.0 Disclaimer

3.0 Registration Information

4.0 Distribution Information

5.0 File list

6.0 Revision History

7.0 Users Reference

8.0 Credits



1.0 Introduction

Gifdxf is a dxf file generator. The program will take as input a gif file.
The image will be sampled at the rate specified generating a 3D representation
of the image. The dxf file generated is geared for input into Autodesk 3D
Studio. The dxf file will contain only one entity consisting of polyfaces.
Designed to be used as an aid to generating landscapes for 3D Studio using
fractal gif files. However, we're sure other uses will be found.



2.0 Disclaimer

Kamyan Software makes no representations or warranties with respect to
this software or documentation, and specifically disclaims any express
or implied warranties of merchantablilty or fitness for any purpose.
Further Kamyan Software reserves the right to make changes to any and all
parts of the software, at any time, without obligations to notify any
person or organizations. Kamyan Software will not be liable for any special,
incidental, consequential, indirect or similar damages due to loss of data or
any other reason, even if Kamyan Software or an agent of Kamyan Software
has been advised of the possibility of such damages. In no event shall
Kamyan Software's liability for any damages ever exceed the price paid
for the license to use the software, regardless of the form of the claim.



3.0 Registration Information

Gifdxf is a shareware product which has a five day free
evaluation period after which a payment of $15.00 is required.

Your payment will make you a registered user of Gifdxf. As
a registered user you will have the legal right to use Gifdxf
on a single computer.

Upgrades are free to registered users. Generally Kamyan software will
not be distributing upgrade disks. However, if you are a registered user
and would like an upgrade disk sent to you, indicate this along with a check
for $5.00 to handle mailing and disks costs:

Calculate your payment as follows:
$15.00 multiplied by the number of computers Gifdxf will be
be installed on.

For Network installations calculate your payment as follows:
$15.00 multiplied by the number of users that may use Gifdxf.

Send payments to:

Kamyan Software
1228 Robin Drive
Carol Stream Il. 60188

When you register indicate 5.25" or 3.5" disks and the latest version of
Gifdxf will be sent to you. In an attempt to keep updates frequent
and the cost as low as possible hardcopy documentation will not be
distributed.

If you like, use the registration form in the file "gifdxf.reg".

To arrange for a site license contact Kamyan software directly at
address above or contact Ken Carlino online at (CIS) 73447,1114.



4.0 Distribution Information

Kamyan Software allows Gifdxf to be freely copied and distributed in its
unmodified form via electronic means or other shareware distribution
methods.

You are specifically prohibited from charging or requesting donations
for any copies made or distributed with the exception of organizations
which distribute shareware software for a small fee ( less then $7.50
per disk) to cover distribution costs.

Gifdxf can not be distributed with any retail product without the
express written consent of Kamyan Software.


5.0 Files list

The following files make up the Gifdxf software package:

gifdxf.exe- the windows application
gifdxf.doc- this file
gifdxf.reg - registration form

6.0 Revision information

Version 1.0 - November 17, 1991
First release



7.0 User Reference

Gifdxf creates a grid of vertices on the x/y plane. The /x and /y
parameters determine the number of vertices along each axis. The location
of each vertex along the z axis is determined by sampling the gif image,
using either the palette index or the luminance value. The result is a
polyface entity written to a dxf file which can then be loaded into 3D
Studio.

7.1 Command line usage

gifdxf [/Xnnnn] [/Ynnnn] [/P [LI]] giffile dxffile

/Xnnnn - number of x vertices ( default 20)
/Ynnnn - number of y vertices ( default 20)
/Snnn - scale % for Z axis depth ( default 30)
/P - Palette interpretation for Z axis depth
L - luminance (default)
I - Index

7.2 Description of command line parameters
7.2.1 /X - number of x vertices

This parameter will be the number of x axis vertices generated. This value
times the /y parameter will determine the total number of vertices in the
entity.

7.2.2 /Y - number of y vertices

This parameter will be the number of y axis vertices generated. This value
times the /x parameter will determine the total number of vertices in the
entity.

7.2.3 /S - Scale percent along the z axis

This is what gives the object depth. The larger the percentage the more
variance in depth. This parameter will determine how far along the z axis
a vertex will be ploted. At 100% the maximum z value will be 256. So at
the default of 30% the maximum z value will be 76.8.



7.2.4 /P Palette interpretation

This determines how the gif image will be sampled to determine a vertex
location along the z axis.

The /PL setting for luminance means that every pixel that is sampled
in the gif image will be given a value based on the value of its red,
green and blue components. This is like saying the image will be looked
at as if it was a gray scale image.

The /PI setting for palette index means that every pixel that is sampled
in the gif image will be given a value base on its palette index. Note
this may have nothing to do with the actual color you see when viewing
the gif image.

7.2.5 The gif file name

This is the name and optionally the path and extension of the gif file.
The gif file must be a non-interlaced file. Most gif files are
non-interlaced so this should not cause a problem. If you have a gif image
which is interlaced have another program convert it to a non-interlaced
gif image before using it in this utility.

7.2.6 The dxf file name

This is the name and optionally the path and extension of the dxf file name.
The dxf data written will consist only of one entity consisting of polyfaces.

7.3 Examples of use

gifdxf giftest dxftest

This will look for the gif file giftest.gif in the current directory. A
grid of 20 x vertices by 20 y vertices will be generated. The maximum
z value for any vertex will be 76 and the gif image will be sampled based
its the luminance of its pixels. The dxf data will be written to a file
dxftest.dxf in the current directory.


gifdxf /X45 /Y80 /S200 /PI giftest dxftest

This will look for the gif file giftest.gif in the current directory. A
grid of 45 x vertices by 80 y vertices will be generated. The maximum
z value for any vertex will be 512 and the gif image will be sampled based
its the palette index value of its pixels. The dxf data will be written to
a file dxftest.dxf in the current directory.



7.4 Loading into 3D Studio

Load as a dxf file into the 3D editor. You will be asked whether to derive
by layer, color or entity, select entity. Once loaded the face normals will
be facing away from you, so you most likly will want to flip the face normals.
Use the surface/normals/object flip command to do this. You may also want
to apply smoothing to the object. Use the surface/smoothing/object/assign
command to do this.

7.5 Using the DXF file in other porgrams

The dxf files generated by this program have only been tested with
3D Studio. We welcome any comments or information about the suitability
of the dxf files in other programs.


8.0. Credits

3D Studio is a registered trademarks (tm) of Autodesk, Inc.

GIF and 'Graphics Interchange Format' are trademarks (tm) of
Compuserve, Incorporated, an H&R Block Company.

The gif decoder was based on code written by Steven A. Bennett
and Steve Wilhite.


End of Document


 December 9, 2017  Add comments

Leave a Reply