Unit X3DLoadInternalUtils
Description
Utilities for converting other 3D model formats into VRML/X3D.
Uses
Overview
Functions and Procedures
Constants
Description
Functions and Procedures
function ToX3DName(const S: string): string; |
|
function AmbientIntensity(const AmbientColor, DiffuseColor: TVector3Single): Single; |
Calculate best possible ambientIntensity. This is a float that tries to satisfy the equation AmbientColor = AmbientIntensity * DiffuseColor. Suitable for VRML 2.0/X3D Material.ambientIntensity (as there's no Material.ambientColor in VRML 2.0/X3D).
|
function AmbientIntensity(const AmbientColor, DiffuseColor: TVector4Single): Single; |
|
function SearchTextureFileName(const Path, Base: string): string; |
Search harder for filename Base inside directory Path. Path must be absolute and contain the final PathDelim. Returns filename relative to Path.
We prefer to return just Base, if it exists, or when no alternative exists. When Base doesn't exist but some likely alternative exists (e.g. with different case), we return it.
|
Constants
Generated by PasDoc 0.12.1 on 2013-02-04 20:26:54
|