Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Chrashing when i put in too many lights on the scene :/  (Read 1317 times)
alexr
Community Member
*
Posts: 16


« on: March 22, 2011, 01:26:31 PM »

Hello. I am working with a leveleditor using TV3D 6.5 in C#.
And when i put in around 10 - 20 lights then it crashes!
And i always get the error on the tvscene.RenderToAll():

AccessViolationException was unhandled.
Attempted to read or write protected memory. This is often an indication that other
memory is corrupt.


And i have got that kind of light problem before. Is this a bug? Is there any way to fix this? I really hope that someone could help me.. thanks  Smiley
« Last Edit: March 22, 2011, 01:42:27 PM by alexr » Logged
Mithrandir
Community Member
*
Posts: 326


« Reply #1 on: March 22, 2011, 06:16:15 PM »

I'm quite sure you are experiencing same problem as discussed in following thread:

http://www.truevision3d.com/forums/tv3d_sdk_65/ten_point_lights-t20616.0.html
Logged
alexr
Community Member
*
Posts: 16


« Reply #2 on: March 23, 2011, 12:53:58 PM »

Ahokey, maybe i just can render 8 lights at the same time without any problems. well, now i have another problem with the shadow :/

http://www.truevision3d.com/forums/bugs/crashes_randomly_when_i_turn_on_the_shadow-t20636.0.html
Logged
alexr
Community Member
*
Posts: 16


« Reply #3 on: March 23, 2011, 03:05:53 PM »

Noww i think what the problem is!!

When i have more than 32 lights in the same arean then it crash! But when i spreading out all the lights far away from eachother then everything works.. Grin

Well i still have problem with the shadows.. but maybe i have to skip that.. I will show you my project very soon =)
Logged
scottpipper
Customers
Community Member
*****
Posts: 82


« Reply #4 on: March 23, 2011, 05:39:18 PM »

Hi I think if you're rendering stencil shadows, you should just use one light for that, I tried once with two, it didn't crash but it did not work well.

Regards
Logged
Pages: [1]
  Print  
 
Jump to:  

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