version 2.04
This commit is contained in:
parent
666b0e18d7
commit
ed550d9260
@ -1881,7 +1881,7 @@ object AboutForm: TAboutForm
|
|||||||
Top = 24
|
Top = 24
|
||||||
Width = 58
|
Width = 58
|
||||||
Height = 13
|
Height = 13
|
||||||
Caption = 'version 2.03'
|
Caption = 'version 2.04'
|
||||||
end
|
end
|
||||||
object Label3: TLabel
|
object Label3: TLabel
|
||||||
Left = 120
|
Left = 120
|
||||||
|
@ -239,7 +239,7 @@ object EditForm: TEditForm
|
|||||||
object tbAxisLock: TToolButton
|
object tbAxisLock: TToolButton
|
||||||
Left = 299
|
Left = 299
|
||||||
Top = 0
|
Top = 0
|
||||||
Hint = 'Lock transform axis'
|
Hint = 'Lock transform axes'
|
||||||
Caption = 'tbAxisLock'
|
Caption = 'tbAxisLock'
|
||||||
Down = True
|
Down = True
|
||||||
ImageIndex = 16
|
ImageIndex = 16
|
||||||
@ -994,11 +994,11 @@ object EditForm: TEditForm
|
|||||||
end
|
end
|
||||||
object chkAxisLock: TCheckBox
|
object chkAxisLock: TCheckBox
|
||||||
Left = 24
|
Left = 24
|
||||||
Top = 162
|
Top = 163
|
||||||
Width = 113
|
Width = 121
|
||||||
Height = 17
|
Height = 17
|
||||||
Hint = 'Lock axis rotation'
|
Hint = 'Lock axes rotation'
|
||||||
Caption = 'Lock transform axis'
|
Caption = 'Lock transform axes'
|
||||||
Checked = True
|
Checked = True
|
||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
@ -1664,7 +1664,7 @@ object EditForm: TEditForm
|
|||||||
OnClick = tbExtendedEditClick
|
OnClick = tbExtendedEditClick
|
||||||
end
|
end
|
||||||
object mnuAxisLock: TMenuItem
|
object mnuAxisLock: TMenuItem
|
||||||
Caption = 'Lock transform axis'
|
Caption = 'Lock transform axes'
|
||||||
ImageIndex = 16
|
ImageIndex = 16
|
||||||
OnClick = tbAxisLockClick
|
OnClick = tbAxisLockClick
|
||||||
end
|
end
|
||||||
@ -2865,25 +2865,4 @@ object EditForm: TEditForm
|
|||||||
OnClick = mnuResetTrgScaleClick
|
OnClick = mnuResetTrgScaleClick
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ExtendedEditPopup: TPopupMenu
|
|
||||||
Images = EditorTB
|
|
||||||
Left = 217
|
|
||||||
Top = 33
|
|
||||||
object mnuExtEditMove: TMenuItem
|
|
||||||
Caption = 'Move'
|
|
||||||
end
|
|
||||||
object mnuExtEditRotate: TMenuItem
|
|
||||||
Caption = 'Rotate'
|
|
||||||
end
|
|
||||||
object mnuExtEditScale: TMenuItem
|
|
||||||
Caption = 'Scale'
|
|
||||||
end
|
|
||||||
object N9: TMenuItem
|
|
||||||
Caption = '-'
|
|
||||||
end
|
|
||||||
object mnuExtEditOff: TMenuItem
|
|
||||||
Caption = 'Off'
|
|
||||||
RadioItem = True
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
@ -33,10 +33,6 @@ const
|
|||||||
crEditRotate = 22;
|
crEditRotate = 22;
|
||||||
crEditScale = 23;
|
crEditScale = 23;
|
||||||
|
|
||||||
imgExtMove = 24;
|
|
||||||
imgExtRotate = 25;
|
|
||||||
imgExtScale = 26;
|
|
||||||
|
|
||||||
type
|
type
|
||||||
TEditForm = class(TForm)
|
TEditForm = class(TForm)
|
||||||
GrphPnl: TPanel;
|
GrphPnl: TPanel;
|
||||||
@ -182,12 +178,6 @@ type
|
|||||||
tbAxisLock: TToolButton;
|
tbAxisLock: TToolButton;
|
||||||
mnuSelectmode: TMenuItem;
|
mnuSelectmode: TMenuItem;
|
||||||
ToolButton6: TToolButton;
|
ToolButton6: TToolButton;
|
||||||
ExtendedEditPopup: TPopupMenu;
|
|
||||||
mnuExtEditOff: TMenuItem;
|
|
||||||
mnuExtEditMove: TMenuItem;
|
|
||||||
mnuExtEditRotate: TMenuItem;
|
|
||||||
mnuExtEditScale: TMenuItem;
|
|
||||||
N9: TMenuItem;
|
|
||||||
tbPivotMode: TToolButton;
|
tbPivotMode: TToolButton;
|
||||||
tbRotate90CCW: TToolButton;
|
tbRotate90CCW: TToolButton;
|
||||||
tbRotate90CW: TToolButton;
|
tbRotate90CW: TToolButton;
|
||||||
@ -877,8 +867,6 @@ procedure TEditForm.UpdateWidgets;
|
|||||||
Result.x := x;
|
Result.x := x;
|
||||||
Result.y := y;
|
Result.y := y;
|
||||||
end;
|
end;
|
||||||
//var
|
|
||||||
// xx, xy, yx, yy: double;
|
|
||||||
begin
|
begin
|
||||||
with mainTriangles[Selectedtriangle] do
|
with mainTriangles[Selectedtriangle] do
|
||||||
begin
|
begin
|
||||||
@ -1940,7 +1928,6 @@ procedure TEditForm.TriangleViewMouseDown(Sender: TObject; Button: TMouseButton;
|
|||||||
var
|
var
|
||||||
a, d, fx, fy: double;
|
a, d, fx, fy: double;
|
||||||
dx, dy, x1, y1: double;
|
dx, dy, x1, y1: double;
|
||||||
// xx, xy, yx, yy: double;
|
|
||||||
i, j: integer;
|
i, j: integer;
|
||||||
i0, i1: integer;
|
i0, i1: integer;
|
||||||
label
|
label
|
||||||
@ -4234,7 +4221,6 @@ end;
|
|||||||
|
|
||||||
procedure TEditForm.mnuResetTrgRotationClick(Sender: TObject);
|
procedure TEditForm.mnuResetTrgRotationClick(Sender: TObject);
|
||||||
var
|
var
|
||||||
// xx, xy, yx, yy: double;
|
|
||||||
dx, dy: double;
|
dx, dy: double;
|
||||||
ax, ay, da: integer;
|
ax, ay, da: integer;
|
||||||
nx0, ny0, nx2, ny2: double;
|
nx0, ny0, nx2, ny2: double;
|
||||||
@ -4269,7 +4255,6 @@ end;
|
|||||||
|
|
||||||
procedure TEditForm.mnuResetTrgScaleClick(Sender: TObject);
|
procedure TEditForm.mnuResetTrgScaleClick(Sender: TObject);
|
||||||
var
|
var
|
||||||
// xx, xy, yx, yy: double;
|
|
||||||
dx, dy: double;
|
dx, dy: double;
|
||||||
nx0, ny0, nx2, ny2: double;
|
nx0, ny0, nx2, ny2: double;
|
||||||
begin
|
begin
|
||||||
|
@ -2527,7 +2527,9 @@ object MainForm: TMainForm
|
|||||||
end
|
end
|
||||||
object mnuSaveUPR: TMenuItem
|
object mnuSaveUPR: TMenuItem
|
||||||
Caption = 'Export &UPR...'
|
Caption = 'Export &UPR...'
|
||||||
Hint = 'Save the flame in UltraFractal parameter format'
|
Hint =
|
||||||
|
'Save the flame in UltraFractal parameter format *** OUTDATED ***' +
|
||||||
|
' USE AT YOUR OWN RISK!'
|
||||||
OnClick = mnuSaveUPRClick
|
OnClick = mnuSaveUPRClick
|
||||||
end
|
end
|
||||||
object mnuExportFLame: TMenuItem
|
object mnuExportFLame: TMenuItem
|
||||||
|
@ -37,7 +37,7 @@ const
|
|||||||
RS_XO = 2;
|
RS_XO = 2;
|
||||||
RS_VO = 3;
|
RS_VO = 3;
|
||||||
|
|
||||||
AppVersionString = 'Apophysis 2.03d rc1';
|
AppVersionString = 'Apophysis 2.04 beta';
|
||||||
|
|
||||||
type
|
type
|
||||||
TMouseMoveState = (msUsual, msZoomWindow, msZoomOutWindow, msZoomWindowMove, msZoomOutWindowMove, msDrag, msDragMove, msRotate, msRotateMove);
|
TMouseMoveState = (msUsual, msZoomWindow, msZoomOutWindow, msZoomWindowMove, msZoomOutWindowMove, msDrag, msDragMove, msRotate, msRotateMove);
|
||||||
@ -1366,6 +1366,7 @@ begin
|
|||||||
FileList.Add(' ' + cp1.xform[t].ToXMLString);
|
FileList.Add(' ' + cp1.xform[t].ToXMLString);
|
||||||
Filelist.Add(' </xformset>');
|
Filelist.Add(' </xformset>');
|
||||||
{$else}
|
{$else}
|
||||||
|
// 'enabled' flag disabled in this release
|
||||||
FileList.Add(cp1.xform[t].FinalToXMLString(cp1.finalXformEnabled));
|
FileList.Add(cp1.xform[t].FinalToXMLString(cp1.finalXformEnabled));
|
||||||
{$ifend}
|
{$ifend}
|
||||||
|
|
||||||
@ -3594,6 +3595,7 @@ var
|
|||||||
Ext, ex, Path: string;
|
Ext, ex, Path: string;
|
||||||
cp1: TControlPoint;
|
cp1: TControlPoint;
|
||||||
begin
|
begin
|
||||||
|
{
|
||||||
if (MainCp.NumXForms > 12) or
|
if (MainCp.NumXForms > 12) or
|
||||||
(MainCP.HasNewVariants) then begin
|
(MainCP.HasNewVariants) then begin
|
||||||
showMessage('WARNING: This flame will not be correctly rendered '#10#13+
|
showMessage('WARNING: This flame will not be correctly rendered '#10#13+
|
||||||
@ -3601,7 +3603,7 @@ begin
|
|||||||
'Please use the 2.7b4 version or newer '#10#13+
|
'Please use the 2.7b4 version or newer '#10#13+
|
||||||
'or use the internal renderer.');
|
'or use the internal renderer.');
|
||||||
end;
|
end;
|
||||||
|
}
|
||||||
if not FileExists(HqiPath) then
|
if not FileExists(HqiPath) then
|
||||||
begin
|
begin
|
||||||
Application.MessageBox('Renderer does not exist.', 'Apophysis', 16);
|
Application.MessageBox('Renderer does not exist.', 'Apophysis', 16);
|
||||||
@ -3675,11 +3677,17 @@ begin
|
|||||||
if ExportDialog.udStrips.Position > 1 then
|
if ExportDialog.udStrips.Position > 1 then
|
||||||
FileList.Add('set nstrips=' + IntToStr(ExportDialog.udStrips.Position));
|
FileList.Add('set nstrips=' + IntToStr(ExportDialog.udStrips.Position));
|
||||||
FileList.Add('set out=' + ExportDialog.Filename);
|
FileList.Add('set out=' + ExportDialog.Filename);
|
||||||
FileList.Add('@echo Rendering ' + ExportDialog.Filename);
|
FileList.Add('@echo Rendering "' + ExportDialog.Filename + '"');
|
||||||
|
{
|
||||||
FileList.Add(ExtractShortPathName(hqiPath) + ' < ' + ExtractShortPathName(ChangeFileExt(ExportDialog.Filename, '.flame')));
|
FileList.Add(ExtractShortPathName(hqiPath) + ' < ' + ExtractShortPathName(ChangeFileExt(ExportDialog.Filename, '.flame')));
|
||||||
|
|
||||||
Path := ExtractShortPathName(ExtractFileDir(ExportDialog.Filename) + '\');
|
Path := ExtractShortPathName(ExtractFileDir(ExportDialog.Filename) + '\');
|
||||||
|
}
|
||||||
|
// short path names are confusing (for both user AND system)
|
||||||
|
// (and they're quite ugly after all! :)
|
||||||
|
|
||||||
|
FileList.Add(hqiPath + ' < "' + ChangeFileExt(ExportDialog.Filename, '.flame') + '"');
|
||||||
|
Path := ExtractFilePath(ExtractFileDir(ExportDialog.Filename) + '\');
|
||||||
|
|
||||||
FileList.SaveToFile(Path + 'render.bat');
|
FileList.SaveToFile(Path + 'render.bat');
|
||||||
if ExportDialog.chkRender.Checked then
|
if ExportDialog.chkRender.Checked then
|
||||||
begin
|
begin
|
||||||
@ -3730,7 +3738,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
v := Attributes.Value('enabled');
|
v := Attributes.Value('enabled');
|
||||||
if v <> '' then ParseCP.finalXformEnabled := (StrToInt(v) <> 0)
|
if v <> '' then ParseCP.finalXformEnabled := (StrToInt(v) <> 0)
|
||||||
else ParseCP.finalXformEnabled := false;
|
else ParseCP.finalXformEnabled := true;
|
||||||
|
|
||||||
inc(activeXformSet);
|
inc(activeXformSet);
|
||||||
end
|
end
|
||||||
@ -3872,7 +3880,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
v := Attributes.Value('enabled');
|
v := Attributes.Value('enabled');
|
||||||
if v <> '' then ParseCP.finalXformEnabled := (StrToInt(v) <> 0)
|
if v <> '' then ParseCP.finalXformEnabled := (StrToInt(v) <> 0)
|
||||||
else ParseCP.finalXformEnabled := false;
|
else ParseCP.finalXformEnabled := true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if activexformset > 0 then density := 0; // tmp...
|
if activexformset > 0 then density := 0; // tmp...
|
||||||
|
@ -90,6 +90,8 @@ type
|
|||||||
read GetNrSlices;
|
read GetNrSlices;
|
||||||
property Slice: integer
|
property Slice: integer
|
||||||
read GetSlice;
|
read GetSlice;
|
||||||
|
property Failed: boolean // hmm...
|
||||||
|
read FStop;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -148,6 +148,8 @@ begin
|
|||||||
FRenderer.compatibility := compatibility;
|
FRenderer.compatibility := compatibility;
|
||||||
FRenderer.OnProgress := FOnProgress;
|
FRenderer.OnProgress := FOnProgress;
|
||||||
Frenderer.Render;
|
Frenderer.Render;
|
||||||
|
|
||||||
|
if FRenderer.Failed then Terminate; // hmm
|
||||||
end;
|
end;
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -2006,7 +2006,7 @@ var
|
|||||||
Value: double;
|
Value: double;
|
||||||
begin
|
begin
|
||||||
result := Format(' <xform weight="%g" color="%g" ', [density, color]);
|
result := Format(' <xform weight="%g" color="%g" ', [density, color]);
|
||||||
if symmetry <> 0 then result := result + format('symmetry="%g"', [symmetry]);
|
if symmetry <> 0 then result := result + format('symmetry="%g" ', [symmetry]);
|
||||||
|
|
||||||
for i := 0 to nrvar - 1 do begin
|
for i := 0 to nrvar - 1 do begin
|
||||||
if vars[i] <> 0 then
|
if vars[i] <> 0 then
|
||||||
@ -2037,7 +2037,7 @@ begin
|
|||||||
// result := Format(' <finalxform enabled="%d" color="%g" symmetry="%g" ',
|
// result := Format(' <finalxform enabled="%d" color="%g" symmetry="%g" ',
|
||||||
// [ifthen(IsEnabled, 1, 0), color, symmetry]);
|
// [ifthen(IsEnabled, 1, 0), color, symmetry]);
|
||||||
result := Format(' <finalxform color="%g" ', [color]);
|
result := Format(' <finalxform color="%g" ', [color]);
|
||||||
if symmetry <> 0 then result := result + format('symmetry="%g"', [symmetry]);
|
if symmetry <> 0 then result := result + format('symmetry="%g" ', [symmetry]);
|
||||||
for i := 0 to nrvar - 1 do begin
|
for i := 0 to nrvar - 1 do begin
|
||||||
if vars[i] <> 0 then
|
if vars[i] <> 0 then
|
||||||
Result := Result + varnames(i) + format('="%g" ', [vars[i]]);
|
Result := Result + varnames(i) + format('="%g" ', [vars[i]]);
|
||||||
|
Loading…
Reference in New Issue
Block a user