I made this program that loads .ase-files and renders them. I use OpenGL for rendering. I think it only works with 3dsmax exported files, not q3map2 exported ones. Anyways, why don't you try it out!
I made some very detailed ASE's atleast, when making the Velvet Yard map, not large in space meaning, but large as in high quality with ALOT of faces...
tkilla wrote:i always wondered, how large can an ase file be to cause gtk crashing...?
or is it depending on your pc specifications?
nice job, gonna try it soon
GTK won't crash (not usually at least) but *physically* and in theory you could make an ASE model as big as the grid in the editor.
Hipshot wrote:You managed to make a OGL model viewer, but not text on the screen? :odd:
Well, there's not so much OpenGL stuff in there, just drawing triangles I put in variables read from a text file. 99% of what I've done is C++ coding, the OpenGL stuff is just for rendering the stuff I've read from a file, which isn't that hard to do.
Also, I would like so that the text will appear in the same place on the screen always, regardless of camera position, like a HUD, which I think is a bit harder to do. I'll definitely look into it though.
ALMighty wrote:...I'll definitely look into it though.
Thanks. You'll probably find you'l get more users with that type of info.
Also something else to think about... do you want the viewer to be capable of handling highpoly models similar to those using in renderbumping for D3? If so you'll need to work on allowing the *fast* import of 100's MB of ASE data as those things can get hhhuge.
ALMighty wrote:Also, I would like so that the text will appear in the same place on the screen always, regardless of camera position, like a HUD, which I think is a bit harder to do. I'll definitely look into it though.
Text in opengl isn't too hard. For quick and dirty stuff, there's some things that convert fonts to opengl display lists.
See wglUseFontBitmaps and wglUseFontOutlines http://msdn.microsoft.com/library/defau ... r_2r8z.asp
Most 'real' applications use textured quads (store your glyphs on a texture like quake etc does).
off-topic
Is there a good ase-importer for max btw?
Gtkr takes a crash overhere, when loading large poly ase's. Only when loading, once loaded there is no problem
Showing no shaderimage, only wireframes for entities helps