Jorge Valencia Loera (valencia_jorge++at++hotmail.com)
Sat, 24 Apr 1999 00:24:35 EDT
Thanks a lot for your suggestions, at least now I know that one of my
problems is an "official bug":
>> 2. I`ve seen that also when I enable the shadows my scene gets
>> brighter than it is without shadows, that makes parts of my scene
>> completly saturated by WHITE pixels. (???) [too much light]
>> I know that I can modify the intensity of each light to avoid that
>> behavior but without shadows the intensity of my pfLightSources is
>> OK. Does pf needs a higher intensity to cast shadows?
>> Should I need to modify the attributes of my lights each time I
>> enable & disable shadowing? (that`s something that will happen
>> often in my simulation).
Angus Dorbie wrote:
> This will be fixed in the latest eoe. The multipass stuff was broken
> and shadows was part of that problem.
Thank you Angus!,
>> 1. When I change the properties of the lights in my application in
>> order to cast shadows, a red square about 1/8 the size of my screen
>> appears on the lower left corner and there is no way to get rid of
>> it!!! I have no idea of what it is BUT I`ve seen that if I increase
>> my shadow map size the red square gets bigger too (??????). It is
>> not an object of my scene and wherever my viewpoint position is, it
>> always appears on the lower left corner.
>> ALSO I`ve seen that if I move my viewpoint position in order to
>> have an object in front of it (it = the square), the red square
>> will be hidden by my object as if it was part of the background....
>> (???)
>> If I move back the viewpoint, the square reappears
I have seen that depending on my viewpoint position, sometimes I can
see the exact content of my viewport (the same shape of my objects
that appear on the screen but with a smaller size and completly black)
inside the red square (I don`t know if it is the actual frustum
projection that I can see or something like that?)
Anyway the red square has a white frame around it (I forgot to
mention that) which turns green and then white and green and .... (the
square stays red, only the frame around it changes) as you move the
viewpoint.
(I hope this can be a hint for somebody)
>> 3. The project I'm working on has two main parts (almost totally
>> independent), the computation of all the different parts of the
>> simulation (dynamics, GUI, ...) & the visual renderer (pf based)
>> representing visually the state of the simulation. We are able to
>> run the simulation with or without the visuals.
>> When I load my simulation with the visuals for the first time,
>> everything is OK (the shadows are casted correctly on all my
>> textured objects) but if I unload the visuals (only the visuals,
>> the other part keeps running) and reload it some minutes after, the
>> shadows will only appear on some textures & won`t appear anymore on
>> other textures (none of my objects or lights have moved! so the
>> scene should be the same!!)
>> It is really strange because a shadow can completly cover an object
>> before I kill my visuals, but when I re-run my visuals the same
>> shadow appears on parts of the object and doesn`t appear on other
>> parts of the same object (the only difference between the parts is
>> the texture).
>> HINT: If I wait about 30-40 minutes before I load my visuals again
>> everything is OK.
I am using shared memory (for synchronous data) to interface my pf app
and the rest of the simulation: objects positions (bodies, lights,
...) are computed and then the shared memory is updated in real-time
that way my pf app can read into the shared memory and update the
visual with the actual data. I also send messages through messages
queues (asynchronous data)
I don`t know if my problem is due to a second initialisation of the
pipes (the second time I load my pf app) ,maybe something stays
somewhere in memory (???), I don`t know.
It always appear on the same textures! (is it possible that the .pfb
files containing my visual database are not properly loaded the second
time (???) ...)
Thank you, please keep sending your comments or suggestions,
I will really appreciate ANY help
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
This archive was generated by hypermail 2.0b2 on Fri Apr 23 1999 - 21:22:30 PDT