From: Paolo Farinelli (paolo++at++sgi.com)
Date: 11/10/2003 19:26:10
Hello Lawrence,
Thank you for reporting this problem to the list.
Would it be possible for you to send us a small sample program (and
datafile)
demonstrating the problem you are having with loading many obj models?
Thanks again.
Best Regards,
Paolo
lawrence bertoldi wrote:
> On a similar topic, I was trying to load a bunch of 'obj' models in to an
> ocean simulator that I built. I am able to pre-load about 20 models
> with no problem
> the display comes up and everything works correctly.
> but if I try to load more than that (depending on the models complexity,
> my display comes up black.
> From the debug in my code I can tell that all my functionality is
> still there,
> My Periscope goes up and down, I can still change cloud cover, seastate
> and cycle through day/night. I can even exit the program, but no
> display.
>
> I looked for any PF_INFO etc. from the loader to see if anything ran
> amuck but it
> looked normal, no errors, unusual warnings etc.!
>
> I thought this might be a texture issue so to test this I removed the
> "mtl" file from
> some of the '.obj' models to see if I could load more without
> textures. This worked fine,
> I was able to load all of the other models I had as long as the
> material files were comented out!
>
> To make sure that it was not a problem with one of the models I swaped
> the textured ones
> to untextured and the untextured to textured by changing which ones
> had the mtl files in them.
> Again no problem in loading all of the models
>
> Next I checked to see how many textures I was using and how much tex
> memory I was
> using. The max number of textures in my texture directory is125 and the
> total texture size was about 58M. I am only trying to load about half
> of them So
> on a Gforce-4 with 128M of tex mem I thought I should be ok! (did I
> mention that this is linux?)
>
> Next I had my partner converted the models with pfconv to ".pfb" Now I
> can load all
> of the models with all of the textures with no problem!
>
> So My question is .... is there a problem with the obj loader?
>
> I use obj format because I don't have multi-gen (we work in maya)
> and I can manipulate all of the shaders easily with a text editor!
>
> Thanks in advance for any help!
> lawrence bertoldi
> simagery inc
> lberto++at++adelphia,net
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Mon Nov 10 2003 - 19:26:30 PST