alvaro zabala wrote:
> David, Chris,
> Thanks a lot for your help.
>
> For the moment, I have applied an offset to the roads.
>
> When the ViewingPlafform is close to the terrain, there is no problem, but
> when I have an aereal view of the scene, I get again the problem of the
> Z-buffer.
>
> I haven't already tried Chris's solution, about Dinamic Z-Buffer, when I'll
> try I'll report it to the list.
Just keep in mind there was a mistake in the original code sent. I posted a corrected
update of desiree's test program.
Also this code relies on the model being centred on 0,0,0.
Also note that Desiree found she had good results using the formula (back / front)
must be < 3000.
So you could calculate the front clip distance to be = backClipDistance/3000. However,
when you want to be closeup you may need something that claculates a smaller value.
Chris
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".