Kitchen Pages, computer software
Go Back | KitCAD2.exe | Kp2glu32.exe

CnrBC2di - base cabinet 2 doors 2 infills rendered by OpenGL and KitCAD 1


Render.exe Description:

This program allows KitCAD KPD users to create solid colour GL views using the KitCAD KPD or KP2 file types.
The program is started from KitCAD to create renderings. Render.exe also supports a multi language user interface.

Render.exe Bitmap Files:

Files must be present to allow rendering of an object in GL view.

Hardware Driver Description:

OpenGL drivers are installed with various operating systems to allow access to hardware and 3D rendering options.
The required drivers are installed with the KitCAD2 software. GL Driver Updates - if needed, can be located with the video software setup; if supplied.
The KitCAD Render.exe and kp2glu32.exe programs requires Windows9x/Nt OpenGL drivers with GL version 1.2 or above.

To stop Render.exe from rendering with OpenGL in KitCAD1:

Right Click on the 3D Icon and De-Select the GL Option from the 3D Model sub-menu.

To stop Render.exe from rendering with OpenGL in KitCAD2:

Right Click on the Plan View and De-Select the GL Option from popup menu.

Previews.KPD - rendered by OpenGL and Render.exe using KitCAD 1

Render.exe Screen and Interface Use:

A Open Dialog or prompt for a file will be showed if none was supplied on command line.
Render.exe "c:\long file name\demo.kp2"
or
Render.exe "c:\long file name\demo.kpd"
The DAT file extension is not fully supported!

Right Click for File Open and Save, Zoom, and other Rendering Options.

+Holding down the LEFT, RIGHT, UP, or DOWN keys will rotate along x,y,z from 0,0.
+Move Objects along x,z,y from 0,0 with Up and Down buttons found at top left.

Printing is not supported yet. Copy screen and edit as needed.

NOTE : KitCAD1 must be set to TEXTURE rendering as to enable full GL view in KitCAD1 and KitCAD2.
Render.exe will display large cubed objects when a user swaps display modes from 256color - To fix simply restart Render.exe and reset it to Texture mode with GL renderings.
A problem exists by swapping either from GL or KP modes of drawing - The render button in KitCAD.exe must be pressed as to save updated options for rendering - changes take affect system wide.. Options set in KitCAD 1 will affect KitCAD 2.

NOTE : Render.exe can not render rotations, see bug list for more help. A fix for novice users is to only design one angle or wall per file. To render angles see KitCAD2 and Kp2glu32.exe for more infomation.

Information about the use of the KP2GLU32.exe and Render.exe program for C++.

Mixed with KitCAD render.exe and updated with a file type to store drawings.
Re-Edited, and shows Found conversions for KitCAD loadin's in example of BCB GLSkelton
Re-use of the OpenGL interface...
Re-Edited with A glxsimple.c from sgi
BCB example uses a standard TForm extended to handle OpenGL drawing on it's Canvas.
BCB example illustrates lighting, texture mapping using TBitmap, and gluQuadricObj's and glCallList's.


Win OPEN GL Description:

MSDN Description of the OpenGL system.

REF::

www.opengl.org
www.opengl.com
MSDN GL Functions
www.delphi-gems.com under Graphics.
SGI Free Software License that applies to modified code.
TechiWarehouse.com Glut/GL Tutorial.


Please see Rendering content with Other applications for information about other rendering options for KitCAD2.




Win9x/32 FAQ, Questions and Answers

Q. No OpenGL rendering is shown for KitCAD1 render.exe OR green cubes in KitCAD2?
A. To re-generate the BMP= line in KPD file types perform the following:
1)open the KPD/DAT file in KitCAD.exe (version 1).
2)De-Select the option to render with OpenGL from the KitCAD1 header bar!
3)Press the Red Cube (renders to inhouse 3D).
4)Right click on the Rendered preview and select the TEXTURE option.
5)Press the Red Cube again (refreshes render to inhouse 3D).
6)Exit KitCAD1.exe
7)Start KitCAD2.exe, modify DAT extensions to KPD and render with kp2glu32.exe

Q. What is needed to run OpenGL on Windows9x?
A. OpenGL is software and allows your computer to display content using a 3D matrix; for some versions of Windows9x you need to install OpenGL software.
OpenGL files with version of 1.2 are included with the drivers for KitCAD2F.zip - and your video graphics cards. So you only need to make sure you have the latest OpenGL driver for your video card. If you video card don't support OpenGL, software libraries are included as part of operating system for WinXP, Windows 2000, Windows 98, Windows 95 (OSR2) and Windows NT.

If your graphic card doesn't support OpenGL or the driver libraries are missing for Windows95, you can download them from: http://download.microsoft.com/download/win95upg/info/1/W95/EN-US/Opengl95.exe

Q. Can I install both the Open GL version supplied and the still keep my WinXP version?
A. The Highest OpenGL version driver is installed by default, even with KitCAD software install packages.
However older OpenGL driver versions can coexist with newier driver versions. The two versions share configuration files but binaries are located in different sub-directories: Suggest saving required GL version to %ProgramFiles%/Kitchen/KitCAD/file/ if needed.
NOTE: These links are provided for Windows9x OpenGL - other versions of Windows have OpenGL support installed by default. Download and install the two provided files, Opengl95.exe (see above) and then your video graphics cards drivers (see your computer/parts supplier/manufacturer).

Q. A dialog like : Access violation at address 69540F57 in module '?OPENGL.dll'. Read of address F5F06898 is displayed or program crashes.
A. Some drivers for 3rd party supplied versions of OpenGL may not fully support kp2glu32.exe; causing errors and un-expected crashes.
To fix the problem, right click on the 'Desktop' |select 'Properties'|select 'Open GL' tab| and modify settings to suit OpenGL 1.2.
Other settings may also be adjusted to correct issues when rendering content.

Q. A dialog with referance made to : GLUT32.dll or GLUT.dll is displayed or program crashes.
A. While KitCAD does NOT require the GLUT utilities library some hardware or other devices may require these extra drivers for OpenGL - Importing screen copies of KitCAD renderings while using other applications.
To fix the problem simply download the correct glut.dll file from your hardware supplier Advanced users may try right clicking on the 'Desktop' |select 'Properties'|select 'Open GL' tab| and modify settings to suit OpenGL 1.2 without UTILITIES (3d buttons, fog, etc).
The glut32.dll and glut.dll files are supplied in a zipped archive named glut32.zip for KitCAD users that require OpgnGL Utilities GLUT support.







Solutions for KP2glu32.exe and Render.exe c++ code:

examples for KPD->OpenGL conversions.

Example GL tester for KitCAD users:

test-gl.zip for testing OpenGL version and commands.





Extra Information for KitCAD1.x users:

Please see KitCAD112.html for information on Render.exe for KitCAD1.x bitmapped renderings.

Extra Information for KitCAD2 users:

Please see KitCAD22i.html for Information in relation to using KitCAD2.
Please see kp2glu32.html for Information in relation to KitCAD2 use of basic solid colour OpenGL 3D rendering.
Please see Rendering 2D or 3D content with Other applications for information about KitCAD2 rendering options.





BCB4®, Borland®, and Imprise® are registered trademarks of Imprise.
SGI®, Silicon Graphics®, and OpenGL are registered trademarks of Silicon Graphics, Inc.
MSDN®, Windows®, NT®, and Microsoft® are registered trademarks of Microsoft Corporation.


©
Copyright 2003-2005, all rights reserved.

Updated on the 09th of November, 2005.

Valid HTML 4.01 Transitional