From: <jo...@hr...> - 2000-09-29 07:06:29
|
Hi, >On monday and tuesday I have two free days, so I will fix the error then (at least I hope). >The fix should be pretty easy, if dx_tex == dy_tex == 0.0f, then the program does not move over the texture, so one can fill the whole array rgba[n] with the corresponding (constant) texel, indeed if only dy_tex == 0.0f one can simplify the fill-code a >lot, but I don't know if this case is generic enough to be worked into the code. OK thanks >By the way: Three questions. > >1. When this bug happens, what is the value of dTdx, dvdx? At the moment of the crash (so just ofter printing "test4" in my code of my previous mail) I find dTdx = -0.4115263E-02 dvdx = -0.1286020E-03 >2. I usually test my code-changes by typing "LD_PRELOAD=~/Mesa/src/.libs/libGL.so demoprog". How can I tell "gdb" that I want to use this library when debugging? Yeah, but I'm using OpenVMS and not a Unix-flavour. So for me it is completely different. I just created a non-sharable object library to perform the debugging. This should also be possible on Unix. >3. This is a suggestions. I believe that the MIPMAPPING-code calculates which >texture-level to use for every pixel it draws. >Since the level of detail should be a monotone function over the >array rgba[n], wouldn't it be possible (in the case GL_NEAREST_MI >PMAP_NEAREST and GL_LINEAR_MIPMAP_NEAREST) to calculate the lod at the >beginning of the array and at the end of the array and if lod is equal at >these points, to just fill the whole array with a constant level of detail? Sounds good, but I'm not an expert. Jouk Ceterum censeo tertium millennium post Christum natum anno MMI incepturum esse >------------------------------------------------------------------------------< Jouk Jansen jo...@hr... Technische Universiteit Delft tttttttttt uu uu ddddddd Nationaal centrum voor HREM tttttttttt uu uu dd dd Rotterdamseweg 137 tt uu uu dd dd 2628 AL Delft tt uu uu dd dd Nederland tt uu uu dd dd tel. 31-15-2781536 tt uuuuuuu ddddddd >------------------------------------------------------------------------------< |