Thread

Radiosity Render Problem

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Radiosity Render Problem // Bugs

1  |  

Post by nick // May 23, 2006, 10:21pm

nick
Total Posts: 49
pic
OK, here's the deal: I have a small scene with calculated radiosity solution.

When I try to render the result, TS7.1 is going in "not responding" mode. Not crashes, but sleeping for a really long time.


http://www.nicstudio.com/temp/couch.jpg


When I try to calculate another radiosity scene, the same thing happens again, no matter how complicated or simple the scene is - the interrior scene ot just a cube in a room. It doesn't matter whether I am trying to render as a file, or just a portion of the screen - the same thing happens again.


http://www.nicstudio.com/temp/cpu.jpg


I didn't have problems like this with TS6.6. Is there sometnihng new and/or wrong with Radiosity solutions in TS7.1? Or should I have to wait really really really long time for TS7.1 to render the more complex and complete radiosity solutions, depending on how much the solution is complete?

Post by Bobbins // May 23, 2006, 11:52pm

Bobbins
Total Posts: 506
The Radiosity calculations between 6.6 and 7.1 are, to my knowledge, unchanged and I don't see any difference in calculation times for the same settings. Having said that, a full solution of radiosity has never been the speediest of things to complete.


If you open the Staus Line/Progress Report, do you see the radiosity calculation taking place? That will tell what tS is actually doing.

Post by parva // May 24, 2006, 12:43am

parva
Total Posts: 822
pic
Lightworks Radiosity is very very slow and to avoid triangulation spots is difficult.

You can try to use "view dependent" mode but even this will not much fasten the calculation process.

Post by nick // May 24, 2006, 4:40am

nick
Total Posts: 49
pic
Yes, BUT!


I am not talking about the speed of calculation, neither the quality of the radiosity solution. I am talking about complete TS7-nirvana-fly-away-condition.


The status line shows nothing when I try to render the radiosity solution. I guess it's impossible to recreate the situation. I build the whole scene again, and the result was the same...

Post by Bobbins // May 24, 2006, 4:59am

Bobbins
Total Posts: 506
What render engine are you performing the final render in?

Post by TomG // May 24, 2006, 5:27am

TomG
Total Posts: 3397
No sign of a problem here - I create a scene with one sphere, one plane, one local light. I hit Radiosity, and away it goes and calculates swiftly (given how simple the scene is).


If the other engines were selected (V-Ray, Virtualight), nothing happens. No lock up, but no radiosity either.


Please try a new scene with just one or two objects and one light, and with the Progress Bar opened. Let us know if you see any calculations taking place.


HTH!

Tom

Post by Bobbins // May 24, 2006, 6:21am

Bobbins
Total Posts: 506
Tom,


It's not the rad calculations that are his problem - it's when he tries to render a scene with a previously calculated radiosity solution. The complaint is that when you hit the render button, tS7 just freezes for a long period. I don't see that myself, though.

Post by TomG // May 24, 2006, 7:10am

TomG
Total Posts: 3397
Ah, I took this bit

"

When I try to calculate another radiosity scene, the same thing happens again

"

As meaning that on subsequent radiosity calculations, things just freeze. I see now that could just mean at the stage of using the saved calculation though.


I have just saved the radiosity solution from my simple sphere-plane-local light setup, reloaded, and it rendered just fine.


The Bridge is On, I am in Full view (personal modification thereof), and it all seems ok here.


Wouldn't mind a "back to square one" report of whether the calculations show in a new scene though, just to see if something has somehow got broken along the way ;)


HTH!

Tom

Post by Rareth // May 24, 2006, 7:27am

Rareth
Total Posts: 149
CPU utilization is going through the roof.. are you sure your graphics card drivers and directx are up-to-date?


also since you can get the task manager to show when this "freeze" happens click the processes tab and then sort by CPU to see whats consuming all the cycles, this will give you a good indication of if it is Truespace causing the CPU to go through the roof or something else.

Post by nick // May 24, 2006, 10:13am

nick
Total Posts: 49
pic
I am starting to thing that the problem is because the big radiosity solution - at 84% ready solution the file is 37MB. Is there any relation?


Rareth: Yep, the TS is the CPU resourse eater.


Bobbins: Lightworks.


Tom: I could understand that the simple object scene is fine with radiosity, but I am willing to create a lot more complex scenes than "scene with one sphere, one plane, one local light". I mean - if there is problem with more complex scenes, why TS have the Radiosity option at the first place??


Here is the archived scene. Can you check it out?

http://www.nicstudio.com/temp/ts/room_couch.bak

http://www.nicstudio.com/temp/ts/room_couch.scn


Thanks a lot :)

Post by TomG // May 24, 2006, 12:40pm

TomG
Total Posts: 3397
Oh, the simple scene is just to see what is working and what is not. If after the first time it got stuck, there was no more calculations happening, then that would indicate something. If that still works, but it locks on saving even simple solutions, that indicates something else. And if it only locks on solutions above a certain size, then that indicates something else again.


The process in tech support is always to start simple and then keep adding til you find what breaks :) I wasn't sure from your post if calculations had stopped altogether in all scenes now, for instance.


Downloaded this scene - could be something to do with size. tS7 with bridge on uses more memory, could be related to that, or could be related to trying to send the radiosity solution across the bridge etc, not sure. Will have a look.


I take it that the simple scene DOES calculate, and that you can save and load that without problems, just to rule that out? ;)


Thanks!

Tom

Post by nick // May 24, 2006, 8:38pm

nick
Total Posts: 49
pic
Hey, Tom.


It works fine with simple scenes, indeed. I can save, load and render all kind of angles and solutions, it's not problem. But I did manage to render a lot more complex scenes with TS6.6 before? Plus, as you can see, the scene I have postet in here is definitely not the complex one :)


I tryed to turn the bridge off, the same result. Obviously the bridge is not related.


May be the scene is damaged on some level? But I re-build it again from the beginning, as completely new one.


ONCE I managed to render the radiosity solution when it was ready on some basic level - 5%. The solution was very poor, but it did render the scene. After that, when it reach 84%, TS sleeps: you know, 100%CPU, no refresh on screen, no movement, nothing. So I think that the more completed radiosity solution and the biggest size of the file have something to do with my problem?


Hmmm?

Post by Bobbins // May 24, 2006, 9:47pm

Bobbins
Total Posts: 506
Nick,


I'm getting confused as to what the problem is. Can you confirm if:


a) The problem is tS7 apparently freezing when calculating the radiosity solution?

b) The problem is tS7 apparently freezing when saving or loading a radiosity solution to/from file after calculating?

c) tS7 apparently freezing when rendering with Lightworks after calculating a radiosity solution or loading a radiosity solution?


I thought it was c) and spent a couple of hours last night looking at your scene, but your last post now has me thinking I was maybe chasing the wrong problem.


A couple of additional points. Radiosity was the 'must have' thing a few years back. Lightworks put it into their renderer, so Caligari made it available within tS - there would have been uproar if they hadn't. Radiosity has been almost entirely eclipsed by Global Illumination now and you're the first person I've heard mention radiosity for a good while. The time required to complete a radiosity solution rises almost exponentially the closer to a 100% solution you get, so the calculation progress becomes slower and slower the more you let it run.


Your scene is not ideal for a radiosity solution; it isnt enclosed so much time is spent calculating illumination that goes to infinity. There is also very little geometry in the scene so the radiosity solution has to do a lot of meshing to approximate the lighting boundaries. Having said that, it shouldn't freeze tS though.

Post by nick // May 24, 2006, 10:00pm

nick
Total Posts: 49
pic
Bobbins: c)

Post by stan // May 25, 2006, 4:32am

stan
Total Posts: 1240
pic
I tried Nick's scene..

in ts6.6 15 steps 86.0%.calculation less than one minuite...rendered in less than one minuite

in ts7.1 15 steps 0.0% .. calculation less than one minuite....try to render.. freeze up..bridge on or off multi threading or not..

one issue for sure the percentage count seems off in ts7.1
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn