Downloaded and instaled, its suitable for 2d game ? :?Originally Posted by andygfx
and it runs on Ubuntu ?
Downloaded and instaled, its suitable for 2d game ? :?Originally Posted by andygfx
and it runs on Ubuntu ?
From brazil (:
Pascal pownz!
thx
C2D X6800, 4GBRAM, NV8800GTX, Vista x64 Ultimate
New release 0.12:
new Features:
- LUA Script class
- GLSL Lua wrapper
- CAMERA Lua wrapper
- FONT Lua wrapper
- GUI Lua wrapper
- GUI ITEM window
- GUI ITEM label
- GUI ITEM button
- GUI ITEM checkbox
- GUI ITEM image button
- GUI ITEM options
- GUI ITEM panel
- GUI ITEM vertical slider
- GUI ITEM horizontal slider
- GUI Manager class
ToDo:
- Sprite3D Manager
- CAL3D Animation class
- Terrain class
- Package class
- Light Manager
- Music/Sound Manager class
- Animation Manager
- Postrender screen FX
SRC/BIN: http://final3d.intelligentdevelopment.sk/
C2D X6800, 4GBRAM, NV8800GTX, Vista x64 Ultimate
1) Not now, but i have in ToDo to add class for 2D game via Sprite2D Manager.Originally Posted by arthurprs
2) Not tested under Linux![]()
C2D X6800, 4GBRAM, NV8800GTX, Vista x64 Ultimate
It crashes on my machine, which runs HL2 and the beginning of the BioShock demo without any problems.
Could this be the problem ( taken from log file ) :
STATUS INFO : @ 10:22:14 MSG : --------------------------------------------------------------- IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : [GUI - THEME] IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : --------------------------------------------------------------- IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : load GUI theme definition: data/gui/F3Dskin.theme IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : Load : data/textures/gui/theme/default/WINDOW_00_a.psd IN : TEXTURE FACTORY
STATUS INFO : @ 10:22:14 MSG : not loaded : -1 IN : TEXTURE FACTORY
STATUS INFO : @ 10:22:14 MSG : loading IN : TEXTURE FACTORY
STATUS INFO : @ 10:22:14 MSG : assigned. IN : TEXTURE FACTORY
STATUS INFO : @ 10:22:14 MSG : - skin_part_ID : 0 IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : - skin_part_name : WINDOW_00_a IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : - image_file : data/textures/gui/theme/default/WINDOW_00_a.psd IN : GUI CLASS
STATUS INFO : @ 10:22:14 MSG : - image_ID : 0 IN : GUI CLASS
Ok I recompiled the source and it now seems to work. Btw, you have a ton of hints and warnings in your code, most of which seem to stem from not using the "override;" keyword on your Destroy method in you classes. I know this may not be a priority, but cleaning these H&Ws up will help you track down bugs more easily later on.
A bug I noticed when playing with the demo is that on the sound slider, if you change it's position then move the Window, the slider jumps a few pixels in the -Y direction.
Also the depth setting of the spinning logo seems a bit odd as it on top of everything nor is it below everything, but maybe this was intentional.
Well I hope this helps.
- yes. because it's from WIn32 version rewrited, now it's my first priority - clean up codeBtw, you have a ton of hints and warnings in your code, most of which seem to stem from not using the "override;" keyword on your Destroy method in you classes. I know this may not be a priority, but cleaning these H&Ws up will help you track down bugs more easily later on.
- oops. it's a bug.A bug I noticed when playing with the demo is that on the sound slider, if you change it's position then move the Window, the slider jumps a few pixels in the -Y direction.
Also the depth setting of the spinning logo seems a bit odd as it on top of everything nor is it below everything, but maybe this was intentional.
GUI is drawed inside APP_RENDER_2D fnc and Hud is drawed at end of APP_DO_RENDER. That's all. Isn't a bug. If is neede change it so:
[pascal]procedure APP_RENDER_2D();
begin
F3D.Hud.SetFontColor('fixedsys',SetColor4f(1,1,1,1 ));
F3D.Hud.Print('Impact', 0, 0, 'Final3D® Engine 2007 - ver. 0.09');
F3D.Hud.ImageList.Image[SMALL_LOGO_ID].Angle := F3D.Hud.ImageList.Image[SMALL_LOGO_ID].Angle+(F3D.Timer.GetElapsedTime);
F3D.Viewport.DrawInfo(F3D.Config.r_viewport_width - 272, F3D.Config.r_viewport_height - 128 - 14;
F3D.InputControl.ShowInfo(F3D.Config.r_viewport_wi dth - 272, F3D.Config.r_viewport_height - 128 - 84);
F3D.Cameras.DrawInfo(0, F3D.Config.r_viewport_width - 272, F3D.Config.r_viewport_height - 12;
F3D.Hud.ImageList.Render();
F3D.GUI.Render();
end;
procedure APP_DO_RENDER();
begin
F3D.Timer.Update();
F3D.Viewport.Clear(0.5,0.5,0.5,1);
F3D.Viewport.BeginRender3D();
// .... 3D SCENE code here .................................................. .
APP_RENDER_3D();
// .... 3D SCENE code here ..............................................[END]
F3D.Textures.InActiveLayers();
F3D.Viewport.EndRender3D();
F3D.Viewport.BeginRender2D();
// .... 2D SCENE code here .................................................. .
APP_RENDER_2D();
// .... 2D SCENE code here ..............................................[END]
F3D.Viewport.EndRender2D();
F3D.Viewport.Flip();
end;[/pascal]
C2D X6800, 4GBRAM, NV8800GTX, Vista x64 Ultimate
Hi, andygfx
nice to see you.
You work on a new engine. great. (the old a3d ?)
what version of delphi do you use and how do you make a level ?
Sorry for my bad english.
I like the old a3d.
1) Is similar to A3D but isn't A3D
2) now a haven't plan for how to make LEVEL, for now i have writed exporter to my f3da format from Maya. F3DA file format is very simple:
Description:Code:[+O]<str>:pCubeShape1; [+CF]<int>:12; [+CV]<int>:8; [-O]<str>:Create; [+F]<int>:0; [vA]<v3f>:-0.5|-0.5|0.5; [vB]<v3f>:0.5|-0.5|0.5; [vC]<v3f>:-0.5|0.5|0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|0|1; [nB]<v3f>:0|0|1; [nC]<v3f>:0|0|1; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:0|0; [uv0B]<v2f>:1|0; [uv0C]<v2f>:0|1; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:1; [vA]<v3f>:0.5|-0.5|0.5; [vB]<v3f>:0.5|0.5|0.5; [vC]<v3f>:-0.5|0.5|0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|0|1; [nB]<v3f>:0|0|1; [nC]<v3f>:0|0|1; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:1|0; [uv0B]<v2f>:1|1; [uv0C]<v2f>:0|1; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:2; [vA]<v3f>:-0.5|0.5|0.5; [vB]<v3f>:0.5|0.5|0.5; [vC]<v3f>:-0.5|0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|1|0; [nB]<v3f>:0|1|0; [nC]<v3f>:0|1|0; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:0|1; [uv0B]<v2f>:1|1; [uv0C]<v2f>:0|2; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:3; [vA]<v3f>:0.5|0.5|0.5; [vB]<v3f>:0.5|0.5|-0.5; [vC]<v3f>:-0.5|0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|1|0; [nB]<v3f>:0|1|0; [nC]<v3f>:0|1|0; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:1|1; [uv0B]<v2f>:1|2; [uv0C]<v2f>:0|2; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:4; [vA]<v3f>:-0.5|0.5|-0.5; [vB]<v3f>:0.5|0.5|-0.5; [vC]<v3f>:-0.5|-0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|0|-1; [nB]<v3f>:0|0|-1; [nC]<v3f>:0|0|-1; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|0|-1; [uv0A]<v2f>:0|2; [uv0B]<v2f>:1|2; [uv0C]<v2f>:0|3; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:5; [vA]<v3f>:0.5|0.5|-0.5; [vB]<v3f>:0.5|-0.5|-0.5; [vC]<v3f>:-0.5|-0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|0|-1; [nB]<v3f>:0|0|-1; [nC]<v3f>:0|0|-1; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|0|-1; [bC]<v3f>:0|0|-1; [uv0A]<v2f>:1|2; [uv0B]<v2f>:1|3; [uv0C]<v2f>:0|3; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:6; [vA]<v3f>:-0.5|-0.5|-0.5; [vB]<v3f>:0.5|-0.5|-0.5; [vC]<v3f>:-0.5|-0.5|0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:0|-1|0; [nB]<v3f>:0|-1|0; [nC]<v3f>:0|-1|0; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|0|-1; [bB]<v3f>:0|0|-1; [bC]<v3f>:0|1|0; [uv0A]<v2f>:0|3; [uv0B]<v2f>:1|3; [uv0C]<v2f>:0|4; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:7; [vA]<v3f>:0.5|-0.5|-0.5; [vB]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<int>:10; [vA]<v3f>:-0.5|-0.5|-0.5; [vB]<v3f>:-0.5|-0.5|0.5; [vC]<v3f>:-0.5|0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:-1|0|0; [nB]<v3f>:-1|0|0; [nC]<v3f>:-1|0|0; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|0|-1; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:-1|0; [uv0B]<v2f>:0|0; [uv0C]<v2f>:-1|1; [mat]<str>:mat_cube; [-F]<str>:Create; [+F]<int>:11; [vA]<v3f>:-0.5|-0.5|0.5; [vB]<v3f>:-0.5|0.5|0.5; [vC]<v3f>:-0.5|0.5|-0.5; [cA]<c4f>:1|1|1|1; [cB]<c4f>:1|1|1|1; [cC]<c4f>:1|1|1|1; [nA]<v3f>:-1|0|0; [nB]<v3f>:-1|0|0; [nC]<v3f>:-1|0|0; [tA]<v3f>:1|0|0; [tB]<v3f>:1|0|0; [tC]<v3f>:1|0|0; [bA]<v3f>:0|1|0; [bB]<v3f>:0|1|0; [bC]<v3f>:0|1|0; [uv0A]<v2f>:0|0; [uv0B]<v2f>:0|1; [uv0C]<v2f>:-1|1; [mat]<str>:mat_cube; [-F]<str>:Create;
3) CodeGear and Delphi7 compilation works good on both.Code:[+O] object name [+CF] faces count [+CV] vertex count [-O] end of object definition [+F] start face[n] [vA] vertex A [vB] vertex B [vC] vertex C [cA] color A [cB] color B [cC] color C [nA] normal A [nB] normal B [nC] normal C [tA] tanget A [tB] tanget B [tC] tanget C [bA] binormal A [bB] binormal B [bC] binormal C [uv0A] uv set 0 A [uv0B] uv set 0 B [uv0C] uv set 0 C [mat] materil name for face [-F] end face definition ....
C2D X6800, 4GBRAM, NV8800GTX, Vista x64 Ultimate
On www.delgine.com there is a delphi-loader for
deled files. Deled is a good modeller.
I have import deled in the old A3D and it works with an old
Deled-Editor.
For new files:
http://www.delgine.com/forum/viewtop...ghlight=delphi
Can you import it ?
Sorry for my bad english
Bookmarks