Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Too Many Shadows Appearing  (Read 4233 times)
mike95821
Customers
Community Member
*****
Posts: 34


« on: June 22, 2007, 09:25:54 PM »

Hello there,
     Im guessing that setting the camera.viewfrustum creates a box or a sphere around the camera. This works fine exept a TvMesh, or a TvActor casts shadows on it. Making one correct shadow on the landscape, and then one more below on the view frustum box. I tested this theory by increasing the size of the frustum box, and the shadow moves accordingly.

Thanks, and great job so far!
Logged

Syntax error line one !?!? I only have one line!
sybixsus
Customers
Community Member
*****
Posts: 1339


WWW
« Reply #1 on: June 22, 2007, 09:57:49 PM »

If you're talking about 6.5, this is a known issue with stencil shadows and the solution is to keep your light range down so that it never intersects the view frustum.
Logged
mike95821
Customers
Community Member
*****
Posts: 34


« Reply #2 on: June 27, 2007, 07:58:12 PM »

Problem is that i made a realtime changing weather effect engine that makes the sun rotate around the landscape (as a sun should), rain, lightning and such. Hopefully that would be fixed later on..  

 Great job all, turning out to be quite an engine!
Logged

Syntax error line one !?!? I only have one line!
Hypnotron
Customers
Community Member
*****
Posts: 1046


« Reply #3 on: June 27, 2007, 08:19:36 PM »

Just curious, but directional lights dont have a range or a position.  Or are you using a point light?  Or is this a case where tv's stencil shadows do make use of the range setting for directional lights?
Logged
jviper
Community Member
*
Posts: 2130

Discipline in training


« Reply #4 on: June 28, 2007, 04:01:56 AM »

I think there should be a way to disable your sphere/bow you have aroung the camera from casting shadows.
Logged

JAbstract.....Don't just imagine, make it happen!
sybixsus
Customers
Community Member
*****
Posts: 1339


WWW
« Reply #5 on: August 05, 2007, 04:38:21 PM »

I think there should be a way to disable your sphere/box you have aroung the camera from casting shadows.
It's an invisible box. He's talking about the view frustum, not a box he's rendering.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks