File IO in terms of getting paths to open and save files is going to be a bit of a problem, since there is no way I'm writing a D3D OpenFileDialog. Not too sure what to do there, so suggestions welcome.
Support for multiple textures, and a polygon painting tool mode now implemented:
File IO in terms of getting paths to open and save files is going to be a bit of a problem, since there is no way I'm writing a D3D OpenFileDialog. Not too sure what to do there, so suggestions welcome.
File IO in terms of getting paths to open and save files is going to be a bit of a problem, since there is no way I'm writing a D3D OpenFileDialog. Not too sure what to do there, so suggestions welcome.
Previous Entry
TextureFonts
Next Entry
Journal title edited for being too emo
Comments
August 06, 2007 12:09 PM
August 06, 2007 01:04 PM
Quote:Original post by mattdev
Very cool fish :)
I imagine he's just using the vertex coordinates (scaled) for UV's.
yea thats what I thought but I wanted to here it from the fishes mouth.
August 06, 2007 01:13 PM
Quote:Original post by diablo_tk
OMG Super Giant Plasma Space Fish... How did you know?
Oh, and what technique are you using for calculating UVs? I wanna know if my guess was right.
You and mattdev are right. HopeDagger suggested the method.
August 06, 2007 03:54 PM
Quote:Original post by Scet
Why not just make it a windowed app and use the standard file dialog?
I hadn't thought of that. So if I run a D3D application as windowed, is it safe to call GetOpenFileName() etc?
[EDIT] Yes, it is, but the main application window goes black until you close the dialog, plus running this application as windowed makes it a bit sluggish.
Maybe I'll just give in and write a D3D file dialog. dgreen did one for his GangWars recently, although I seem to remember he invested a serious number of hours in it. Mine doesn't have to be as pretty though.
Cheers for the suggestion anyway Scet.
August 06, 2007 03:54 PM
Swim swim hungry, swim swim hungry. Great fish!
I've seen a number of apps that use the standard file open dialogs full-screen, but I have a hunch that they were DirectDraw based, not Direct3D.
I've seen a number of apps that use the standard file open dialogs full-screen, but I have a hunch that they were DirectDraw based, not Direct3D.
August 07, 2007 04:57 AM
I opted for the (ugly) method of simple querying the user for a filename, and having it automatically save to the relative "/Maps" directory. Not horribly flexible or extensible, but it saved me several hours of writing a file-browsing/selecting dialog system. [grin]
August 07, 2007 08:36 AM
Actually I might just implement tab filename completion to my little console, like the linux C shell works (or kind of like the Windows command prompt has worked since XP for that matter).
Thank you all for your kind praise for my fish.
Thank you all for your kind praise for my fish.
August 07, 2007 02:07 PM
Advertisement
Latest Entries
Hey
3193 views
Further developments
1919 views
Implementing Properties
3614 views
Optimising my scripting language
2848 views
QtScripting madness
2333 views
Various
2409 views
Progress Update
2459 views
Some progress (added new vid)
2516 views
Advertisement
Oh, and what technique are you using for calculating UVs? I wanna know if my guess was right.