Thread: [Plib-users] Thx for help.. this time I need some info....
Brought to you by:
sjbaker
From: SkyFlash <sky...@ch...> - 2003-01-20 04:28:01
|
I finally figured out how to use SDL with PLIB and i got to say it works great. Its a little bit slower though as GLUT. Anyway... My next step is to add animations to my Objects. What is the prefered method to display animated 3d models in PLIB? I read somewhere the 3ds format is not supported for animations, so which format do I need to have my modelers create models in? I would also be interested in discussions about speed or usefulness of the formats that are possible.... I tried exposer, but couldnt really get it to work. It crashed on most formats I tried to load, like .3ds for example. Also I dont think its a good idea to make my 3D artists use it, as they are probably way better using 3d studio or whatever else they are using. On the same topic, how do I switch between different animations? And, can I load all 3d models into my app and later attach a single object to more than one node? Thx for any help.... Ralf Pietersz |
From: Steve B. <sjb...@ai...> - 2003-01-21 01:56:31
|
SkyFlash wrote: > I finally figured out how to use SDL with PLIB and i got to say it works > great. Its a little bit slower though as GLUT. That's quite suprising - once the OpenGL rendering context is created, it shouldn't matter who/what created it. Probably SDL is opening the window in a different graphics mode (eg 24 bits per pixel instead of 16 - or vice-versa) and your graphics card runs less efficiently in that mode. Another possibility is that SDL created an "indirect" rendering context instead of a "direct" one. > What is the prefered method to display animated 3d models in PLIB? The problem is that not many file formats have really good support for animations that PLIB can latch onto. > I would also be interested in discussions about speed or usefulness of > the formats that are possible.... I generally use AC3D (because it's cheap and runs under Linux) - so AC3D is pretty well supported. > I tried exposer, but couldnt really get it to work. It crashed on most > formats I tried to load, like .3ds for example. That's not a good sign. Can you post one of the models that crashed it to a website somewhere so someone here could download it and try to find out what went wrong? > On the same topic, how do I switch between different animations? The term "animation" is a little vague. Are you talking about Skin & Bones deformation, model-switched animation, moving joint animation? All are possible under SSG. > And, can I load all 3d models into my app and later attach a single > object to more than one node? Yes. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |
From: SkyFlash <sky...@ch...> - 2003-01-21 04:52:28
|
>That's quite suprising - once the OpenGL rendering context is created, >it shouldn't matter who/what created it. >Probably SDL is opening the window in a different graphics mode >(eg 24 bits per pixel instead of 16 - or vice-versa) and your graphics >card runs less efficiently in that mode. >Another possibility is that SDL created an "indirect" rendering >context instead of a "direct" one. I didnt find out yet. Its doing something wrong, but I didnt find it yet. I spent hours in the #sdl chatroom... but didnt help yet. >The problem is that not many file formats have really good support for >animations that PLIB can latch onto. >I generally use AC3D (because it's cheap and runs under Linux) - so AC3D >is pretty well supported. Ok so I will try that.. what exactly is the problem with 3ds animation loading? Is it hard? Or just not feasible? >That's not a good sign. Can you post one of the models that crashed it >to a website somewhere so someone here could download it and try to find >out what went wrong? Yes, its an orc model. It loads into my testapp fine, but on exposer loading it crashes. But maybe I just dont get exposer.. hehe. Anyway, here is the link: http://www.arianne.info/files/orc.zip What happens is that exposer just quits. No error message, just the app stops silently. >The term "animation" is a little vague. >Are you talking about Skin & Bones deformation, model-switched animation, >moving joint animation? All are possible under SSG. I just mean, can I have a model with a walk and a attack animation in one file, and then decide which one to show? If yes, with which format would that be possible? Or do I need different model files with different animations, like orcwalk.ase orcattack.ase? I understand model-switch animation is like having 2D pictures shown fast after one another, like an animation movie? The skin and bones animation from exposer looks a little bit unreal, and moving joint animation, I dont even know how that works. :) Did I say yet, I am not a 3D programmer... lol.... But I am ready for a small lection in different animations. Ok, basicly I need to know, what looks the best, and what can be used to create good looking game characters, and how do I get my 3D artists to create models that are animated and can be loaded into PLIB? For example, can they create an animation inside 3d studio and then export it via ASE and load it into PLIB? Or are there other limitations they need to know? Other than that huge ass table I found on the website...And what do I need to do in PLIB to play the animation? > And, can I load all 3d models into my app and later attach a single > object to more than one node? Ok, that was a stupid question... :P I got it the second time I read the website docs... lol. I got carried away with ref counting and had multiple crashes until I finally understood it. :P SkyFlash |