Archived

This topic is now archived and is closed to further replies.

CGameProgrammer

City-Rendering 3D Engine

Recommended Posts

This post has a demo, screenshots, and information on the engine, so just go there. Please I'd appreciate feedback, either there or here, doesn't matter. [EDIT: Added thumbnails here.] BTW if you really want a direct download link then edit. I mean, EDIT: Nevermind, direct link removed, because I don't have tons of extra bandwidth for this file so I've limited it to 50 downloads a day, and rather than having the slots filled by anonymous GameDev viewers, I'd prefer it if people would just go to the webpost above and download from there. ~CGameProgrammer( ); DevImg.net - Post screenshots, comment on others. [edited by - CGameProgrammer on March 11, 2003 5:43:36 AM]

Share this post


Link to post
Share on other sites
billybob    134
AFile is not a town compiled world or something along those lines, and then just shows the skybox, can''t move (or doesn''t appear to be moving anyway)

Share this post


Link to post
Share on other sites
Did you run CreateFileTypes first? It should make City.tcw look like a page with a picture of the Earth on it. Then double-click City and that should work. If it doesn't, run this:

Town.exe -load City.tcw

What's your OS / system specs?
EDIT: Oh, and the 'AFile' thing was a bug, it should have said the filename... Fixed now.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.

[edited by - CGameProgrammer on March 7, 2003 9:00:45 AM]

[edited by - CGameProgrammer on March 7, 2003 9:01:19 AM]

Share this post


Link to post
Share on other sites
billybob    134
yes i did create file types, i'm trying the patched versino now

windows xp
geforce 4 ti4200
512 of ram

edit: i get the same error, now it just says City\City.tcw is not a valid compiled city or something like that.

[edited by - billybob on March 7, 2003 9:53:16 PM]

Share this post


Link to post
Share on other sites
samosa    122
works great, i get over 50fps when flying around and down in the city, it goes down a lot about 20 when i use ctrl to do go to warp(lol)

specs:
winxp
amd athlon xp 1.7ghz
512 ddr
gefroce4 ti4200

,Matt

-= kill one your a murderer, kill thousands your a conquerer =-

Share this post


Link to post
Share on other sites
On my computer it doesnt even start without
"Town.exe -load City.tcw", though i run the CreateFileTypes thing. And then it shows for a second this image and then green and pink horizontal lines moving. wooo, makes me dizzy...

Windows XP
AMD Athlon XP 2200+
1,8 Ghz
512 Ram
Geforce4 Ti 4400

[edited by - Christian Schlager on March 8, 2003 10:07:16 AM]

Share this post


Link to post
Share on other sites
billybob : It is apparently finding the file correctly, but the data must be corrupted if it thinks it's not valid. The first three bytes in the file should be "TCW". Can you open it up in a hex-editor (or whatever) and tell me what the first three bytes actually are? Actually, you don't need to -- just tell me the filesize. It should be about 44.6 MB.

Christian : The initial image should be a blurry black-and-white picture of a city (it's a manipulated screenshot). Is it, or is it noise? Also, can you tell me your display settings and DirectX version? Since the program initially boots up in windowed mode, yout Windows display settings do affect it.

Ibuku: Although I fully plan on using it for a game eventually, I don't know when and I have no idea what type of game. I'm just working on it as an engine right now.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.


[edited by - CGameProgrammer on March 8, 2003 9:19:24 PM]

Share this post


Link to post
Share on other sites
That's exactly what it should be. It must be a file-reading problem. Well I changed file input slightly, but more important it now displays what bytes are read so you can tell me what it says and I'll hopefully know exactly what the problem is.

You can just copy/paste the contents of Compile.log onto here.

The new version has been uploaded. City3DDemo.zip

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.


[edited by - CGameProgrammer on March 9, 2003 4:18:03 PM]

[edited by - CGameProgrammer on March 9, 2003 4:23:12 PM]

Share this post


Link to post
Share on other sites
joeG    172
Hello,

I can''t get it to load, keep getting NULL pointer access exceptions. :-(

Town.log just has a lot of successes. The last entry is

08:35:36pm - Direct3D was initialized successfully.



joeG

Share this post


Link to post
Share on other sites
NeXius    124
Nice work...

I guess the hills are bezier surfaces? or catmull rom...

So do you render each detail level at the beginning and store it in a display list or is it calculated on the fly?

Share this post


Link to post
Share on other sites
joeG: Hm, that's interesting. After that message, the next thing the engine does is enumerate the available display modes, then create the font, then it outputs another progress message. I'll have to add more to narrow down the possible sources of errors.

Can you tell me your system specs? Everything you think might be relevant. Are you using one monitor or two?

neXius: Actually, the hills are nothing. If you press F9 (preferably twice) you'll see they're either drawn at max detail or not at all. Eventually I'll add LOD, I've written an LOD heightmap engine before, but it's low priority right now. As for how they're created, I just used a bitmap. Eventually I'll add LOD for them so I can have a sprawling landscape with stuff on it, but for now everything's flat for a reason.

Geometry is manipulated on the fly. Things smoothly interpolate between detail levels so display lists aren't really an option, at least not used like that. There are cases where geometry changes details in finite intervals, but this is just an optimization for certain geometry so the new vertices don't have to be recalculated every single frame.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.


[edited by - CGameProgrammer on March 11, 2003 12:02:21 AM]

Share this post


Link to post
Share on other sites
joeG    172
Sure,
Radeon 9700 Pro, AMD 2400XP, 1 GB RAM
Windows 2000 (can''t remember which Service Pack)
DirectX 9 libs

I think paremeterizing the building structures (height, major architecture details, etc...) would add a lot more realism in addition to what you have going right now.

joeG

Share this post


Link to post
Share on other sites
I can''t imagine what''s going on. Christian and samosa have very similar systems, yet it worked for samosa and not for Christian.

I uploaded a new patch which updates Town.exe. The new version just has some additional log messages, such as enumerating the display modes and others.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.

Share this post


Link to post
Share on other sites
joeG    172
Same thing, but the last lines in the log file are now:


09:31:21pm - Direct3D8 object created.
09:31:21pm - Adapter display mode found.
09:31:21pm - Setting the display mode...
09:31:21pm - Device caps read.
09:31:21pm - Attempting to create Direct3D device... success!
09:31:21pm - Checking device format.
09:31:21pm - Created z-buffer.
09:31:21pm - Direct3D was initialized successfully.
09:31:21pm - Display mode set.
09:31:21pm - Loading the font...

Hmmm, so it could be I don't have the font that you're looking for maybe?

A debugging idea is maybe to keep the debugging symbols in the application and either post it to where I can get it or send it to me through some method so that I can get a meaningful stack-trace in VC6.

joeG



[edited by - joeG on March 12, 2003 10:35:51 PM]

Share this post


Link to post
Share on other sites
Yes, it may be a problem with the font... it''s loaded from a resource, don''t know why it can mess up though.

Can you paste the entire contents of the log? I want to see the enumerated display modes, just in case.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.

Share this post


Link to post
Share on other sites
joeG    172
Here ya go,


Town.log - Record of Town errors and warnings

04:29:26am - Startup
04:29:26am - DirectInput keyboard initialized successfully.
04:29:26am - DirectInput mouse initialized successfully.
04:29:26am - Enumerating display modes...
04:29:26am - [0]: RADEON 9700/9500 SERIES, 320 x 200 x 8 @ 60 Hz
04:29:26am - [1]: RADEON 9700/9500 SERIES, 320 x 200 x 8 @ 75 Hz
04:29:26am - [2]: RADEON 9700/9500 SERIES, 320 x 200 x 16 @ 60 Hz
04:29:26am - [3]: RADEON 9700/9500 SERIES, 320 x 200 x 16 @ 75 Hz
04:29:26am - [4]: RADEON 9700/9500 SERIES, 320 x 200 x 32 @ 60 Hz
04:29:26am - [5]: RADEON 9700/9500 SERIES, 320 x 200 x 32 @ 75 Hz
04:29:26am - [6]: RADEON 9700/9500 SERIES, 320 x 240 x 8 @ 60 Hz
04:29:26am - [7]: RADEON 9700/9500 SERIES, 320 x 240 x 8 @ 75 Hz
04:29:26am - [8]: RADEON 9700/9500 SERIES, 320 x 240 x 16 @ 60 Hz
04:29:26am - [9]: RADEON 9700/9500 SERIES, 320 x 240 x 16 @ 75 Hz
04:29:26am - [10]: RADEON 9700/9500 SERIES, 320 x 240 x 32 @ 60 Hz
04:29:26am - [11]: RADEON 9700/9500 SERIES, 320 x 240 x 32 @ 75 Hz
04:29:26am - [12]: RADEON 9700/9500 SERIES, 400 x 300 x 8 @ 60 Hz
04:29:26am - [13]: RADEON 9700/9500 SERIES, 400 x 300 x 8 @ 75 Hz
04:29:26am - [14]: RADEON 9700/9500 SERIES, 400 x 300 x 16 @ 60 Hz
04:29:26am - [15]: RADEON 9700/9500 SERIES, 400 x 300 x 16 @ 75 Hz
04:29:26am - [16]: RADEON 9700/9500 SERIES, 400 x 300 x 32 @ 60 Hz
04:29:26am - [17]: RADEON 9700/9500 SERIES, 400 x 300 x 32 @ 75 Hz
04:29:26am - [18]: RADEON 9700/9500 SERIES, 512 x 384 x 8 @ 60 Hz
04:29:26am - [19]: RADEON 9700/9500 SERIES, 512 x 384 x 8 @ 75 Hz
04:29:26am - [20]: RADEON 9700/9500 SERIES, 512 x 384 x 16 @ 60 Hz
04:29:26am - [21]: RADEON 9700/9500 SERIES, 512 x 384 x 16 @ 75 Hz
04:29:26am - [22]: RADEON 9700/9500 SERIES, 512 x 384 x 32 @ 60 Hz
04:29:26am - [23]: RADEON 9700/9500 SERIES, 512 x 384 x 32 @ 75 Hz
04:29:26am - [24]: RADEON 9700/9500 SERIES, 640 x 400 x 8 @ 60 Hz
04:29:26am - [25]: RADEON 9700/9500 SERIES, 640 x 400 x 8 @ 75 Hz
04:29:26am - [26]: RADEON 9700/9500 SERIES, 640 x 400 x 16 @ 60 Hz
04:29:26am - [27]: RADEON 9700/9500 SERIES, 640 x 400 x 16 @ 75 Hz
04:29:26am - [28]: RADEON 9700/9500 SERIES, 640 x 400 x 32 @ 60 Hz
04:29:26am - [29]: RADEON 9700/9500 SERIES, 640 x 400 x 32 @ 75 Hz
04:29:26am - [30]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 60 Hz
04:29:26am - [31]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 72 Hz
04:29:26am - [32]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 75 Hz
04:29:26am - [33]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 85 Hz
04:29:26am - [34]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 90 Hz
04:29:26am - [35]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 100 Hz
04:29:26am - [36]: RADEON 9700/9500 SERIES, 640 x 480 x 8 @ 120 Hz
04:29:26am - [37]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 60 Hz
04:29:26am - [38]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 72 Hz
04:29:26am - [39]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 75 Hz
04:29:26am - [40]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 85 Hz
04:29:26am - [41]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 90 Hz
04:29:26am - [42]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 100 Hz
04:29:26am - [43]: RADEON 9700/9500 SERIES, 640 x 480 x 16 @ 120 Hz
04:29:26am - [44]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 60 Hz
04:29:26am - [45]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 72 Hz
04:29:26am - [46]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 75 Hz
04:29:26am - [47]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 85 Hz
04:29:26am - [48]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 90 Hz
04:29:26am - [49]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 100 Hz
04:29:26am - [50]: RADEON 9700/9500 SERIES, 640 x 480 x 32 @ 120 Hz
04:29:26am - [51]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 56 Hz
04:29:26am - [52]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 60 Hz
04:29:26am - [53]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 70 Hz
04:29:26am - [54]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 72 Hz
04:29:26am - [55]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 75 Hz
04:29:26am - [56]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 85 Hz
04:29:26am - [57]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 90 Hz
04:29:26am - [58]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 100 Hz
04:29:26am - [59]: RADEON 9700/9500 SERIES, 800 x 600 x 8 @ 120 Hz
04:29:26am - [60]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 56 Hz
04:29:26am - [61]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 60 Hz
04:29:26am - [62]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 70 Hz
04:29:26am - [63]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 72 Hz
04:29:26am - [64]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 75 Hz
04:29:26am - [65]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 85 Hz
04:29:26am - [66]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 90 Hz
04:29:26am - [67]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 100 Hz
04:29:26am - [68]: RADEON 9700/9500 SERIES, 800 x 600 x 16 @ 120 Hz
04:29:26am - [69]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 56 Hz
04:29:26am - [70]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 60 Hz
04:29:26am - [71]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 70 Hz
04:29:26am - [72]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 72 Hz
04:29:26am - [73]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 75 Hz
04:29:26am - [74]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 85 Hz
04:29:26am - [75]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 90 Hz
04:29:26am - [76]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 100 Hz
04:29:26am - [77]: RADEON 9700/9500 SERIES, 800 x 600 x 32 @ 120 Hz
04:29:26am - [78]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 60 Hz
04:29:26am - [79]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 70 Hz
04:29:26am - [80]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 72 Hz
04:29:26am - [81]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 75 Hz
04:29:26am - [82]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 85 Hz
04:29:26am - [83]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 90 Hz
04:29:26am - [84]: RADEON 9700/9500 SERIES, 1024 x 768 x 8 @ 100 Hz
04:29:26am - [85]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 60 Hz
04:29:26am - [86]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 70 Hz
04:29:26am - [87]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 72 Hz
04:29:26am - [88]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 75 Hz
04:29:26am - [89]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 85 Hz
04:29:26am - [90]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 90 Hz
04:29:26am - [91]: RADEON 9700/9500 SERIES, 1024 x 768 x 16 @ 100 Hz
04:29:26am - [92]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 60 Hz
04:29:26am - [93]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 70 Hz
04:29:26am - [94]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 72 Hz
04:29:26am - [95]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 75 Hz
04:29:26am - [96]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 85 Hz
04:29:26am - [97]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 90 Hz
04:29:26am - [98]: RADEON 9700/9500 SERIES, 1024 x 768 x 32 @ 100 Hz
04:29:26am - [99]: RADEON 9700/9500 SERIES, 1152 x 864 x 8 @ 60 Hz
04:29:26am - [100]: RADEON 9700/9500 SERIES, 1152 x 864 x 8 @ 70 Hz
04:29:26am - [101]: RADEON 9700/9500 SERIES, 1152 x 864 x 8 @ 75 Hz
04:29:26am - [102]: RADEON 9700/9500 SERIES, 1152 x 864 x 8 @ 85 Hz
04:29:26am - [103]: RADEON 9700/9500 SERIES, 1152 x 864 x 16 @ 60 Hz
04:29:26am - [104]: RADEON 9700/9500 SERIES, 1152 x 864 x 16 @ 70 Hz
04:29:26am - [105]: RADEON 9700/9500 SERIES, 1152 x 864 x 16 @ 75 Hz
04:29:26am - [106]: RADEON 9700/9500 SERIES, 1152 x 864 x 16 @ 85 Hz
04:29:26am - [107]: RADEON 9700/9500 SERIES, 1152 x 864 x 32 @ 60 Hz
04:29:26am - [108]: RADEON 9700/9500 SERIES, 1152 x 864 x 32 @ 70 Hz
04:29:26am - [109]: RADEON 9700/9500 SERIES, 1152 x 864 x 32 @ 75 Hz
04:29:26am - [110]: RADEON 9700/9500 SERIES, 1152 x 864 x 32 @ 85 Hz
04:29:26am - [111]: RADEON 9700/9500 SERIES, 1280 x 768 x 8 @ 56 Hz
04:29:26am - [112]: RADEON 9700/9500 SERIES, 1280 x 768 x 8 @ 60 Hz
04:29:26am - [113]: RADEON 9700/9500 SERIES, 1280 x 768 x 8 @ 75 Hz
04:29:26am - [114]: RADEON 9700/9500 SERIES, 1280 x 768 x 8 @ 85 Hz
04:29:26am - [115]: RADEON 9700/9500 SERIES, 1280 x 768 x 16 @ 56 Hz
04:29:26am - [116]: RADEON 9700/9500 SERIES, 1280 x 768 x 16 @ 60 Hz
04:29:26am - [117]: RADEON 9700/9500 SERIES, 1280 x 768 x 16 @ 75 Hz
04:29:26am - [118]: RADEON 9700/9500 SERIES, 1280 x 768 x 16 @ 85 Hz
04:29:26am - [119]: RADEON 9700/9500 SERIES, 1280 x 768 x 32 @ 56 Hz
04:29:26am - [120]: RADEON 9700/9500 SERIES, 1280 x 768 x 32 @ 60 Hz
04:29:26am - [121]: RADEON 9700/9500 SERIES, 1280 x 768 x 32 @ 75 Hz
04:29:26am - [122]: RADEON 9700/9500 SERIES, 1280 x 768 x 32 @ 85 Hz
04:29:26am - [123]: RADEON 9700/9500 SERIES, 1280 x 960 x 8 @ 60 Hz
04:29:26am - [124]: RADEON 9700/9500 SERIES, 1280 x 960 x 8 @ 70 Hz
04:29:26am - [125]: RADEON 9700/9500 SERIES, 1280 x 960 x 8 @ 72 Hz
04:29:26am - [126]: RADEON 9700/9500 SERIES, 1280 x 960 x 8 @ 75 Hz
04:29:26am - [127]: RADEON 9700/9500 SERIES, 1280 x 960 x 16 @ 60 Hz
04:29:26am - [128]: RADEON 9700/9500 SERIES, 1280 x 960 x 16 @ 70 Hz
04:29:26am - [129]: RADEON 9700/9500 SERIES, 1280 x 960 x 16 @ 72 Hz
04:29:26am - [130]: RADEON 9700/9500 SERIES, 1280 x 960 x 16 @ 75 Hz
04:29:26am - [131]: RADEON 9700/9500 SERIES, 1280 x 960 x 32 @ 60 Hz
04:29:26am - [132]: RADEON 9700/9500 SERIES, 1280 x 960 x 32 @ 70 Hz
04:29:26am - [133]: RADEON 9700/9500 SERIES, 1280 x 960 x 32 @ 72 Hz
04:29:26am - [134]: RADEON 9700/9500 SERIES, 1280 x 960 x 32 @ 75 Hz
04:29:26am - [135]: RADEON 9700/9500 SERIES, 1280 x 1024 x 8 @ 60 Hz
04:29:26am - [136]: RADEON 9700/9500 SERIES, 1280 x 1024 x 8 @ 70 Hz
04:29:26am - [137]: RADEON 9700/9500 SERIES, 1280 x 1024 x 8 @ 75 Hz
04:29:26am - [138]: RADEON 9700/9500 SERIES, 1280 x 1024 x 16 @ 60 Hz
04:29:26am - [139]: RADEON 9700/9500 SERIES, 1280 x 1024 x 16 @ 70 Hz
04:29:26am - [140]: RADEON 9700/9500 SERIES, 1280 x 1024 x 16 @ 75 Hz
04:29:26am - [141]: RADEON 9700/9500 SERIES, 1280 x 1024 x 32 @ 60 Hz
04:29:26am - [142]: RADEON 9700/9500 SERIES, 1280 x 1024 x 32 @ 70 Hz
04:29:26am - [143]: RADEON 9700/9500 SERIES, 1280 x 1024 x 32 @ 75 Hz
04:29:26am - [144]: RADEON 9700/9500 SERIES, 1600 x 1200 x 8 @ 60 Hz
04:29:26am - [145]: RADEON 9700/9500 SERIES, 1600 x 1200 x 16 @ 60 Hz
04:29:26am - [146]: RADEON 9700/9500 SERIES, 1600 x 1200 x 32 @ 60 Hz
04:29:26am - [147]: RADEON 9700/9500 SERIES, 1792 x 1344 x 8 @ 60 Hz
04:29:26am - [148]: RADEON 9700/9500 SERIES, 1792 x 1344 x 16 @ 60 Hz
04:29:26am - [149]: RADEON 9700/9500 SERIES, 1792 x 1344 x 32 @ 60 Hz
04:29:26am - [150]: RADEON 9700/9500 SERIES, 640 x 480 x 4 @ 1 Hz
04:29:26am - [151]: RADEON 9700/9500 SERIES, 800 x 600 x 4 @ 1 Hz
04:29:26am - Direct3D8 object created.
04:29:26am - Adapter display mode found.
04:29:26am - Setting the display mode...
04:29:26am - Device caps read.
04:29:26am - Attempting to create Direct3D device... success!
04:29:26am - Checking device format.
04:29:26am - Created z-buffer.
04:29:26am - Direct3D was initialized successfully.
04:29:26am - Display mode set.
04:29:26am - Loading the font...




joeG

Share this post


Link to post
Share on other sites
OK, wow, maybe I should've rethought that request Well anyway, enumeration is obviously fine.

The only code for font-loading that looks like it could be responsible for the crash is the texture-applying code, but I don't know why. I use the D3DX texture functions. Well I found what is technically a bug in the texture code, but I don't think it would have affected anything in this case. It had to do with bitmap padding.

Well I updated the patch, now you can specify -OpenGL in the command line to use OpenGL instead of Direct3D. Let's see if that helps.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.


[edited by - CGameProgrammer on March 13, 2003 7:41:14 AM]

Share this post


Link to post
Share on other sites
joeG    172
Hmmm, no improvements on my end with the -OpenGL parameter. The log stops at the same place. Well, I guess I''ll just have to enjoy the screenshots then.



joeG

Share this post


Link to post
Share on other sites
Well at least I eliminated Direct3D as a possible cause. So maybe the error relates to reading a resource? That''s the only thing I can come up with. It works with about 50% of people... hm.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.

Share this post


Link to post
Share on other sites