Panda 3D used to generate scenes

Hi all,

For the last days I’ve been searching for “python-scriptable” game engines.
I realized how much options I had. I’m still seeking for the most simple engine, since my goal only requires basic features of a game engine.
Of all of those I’ve seen, Panda3D seems to be the most simple for quick coding and rendering.

I am now wondering if it’s fit to do the following:
-quickly generate a scene out of predetermined objects positioned randomly.
-move the camera in random directions to get complete videos of theses scenes.
-generate plenty of scenes to make a database.

I’d like to have your opinion, should I use Panda3D or try something else?
If I should, what tutorials, manuals should I read?

Thanks for your time!

what you’r trying to do is quite simple.
give panda a try :slight_smile: i can hardly imagine something better.

to get started read the beginner thread in the forum here (sticky). the manual, the api reference and the samples should provide everything you need. for the random stuff just use pythons buildin random stuff.

Fine, now I’m trying to run the panda tutorials but it gives a black screen.

Plus I have to kill panda with -KILL

I’m on Fedora, running Panda 1.5.2, I can’t seem to obtain any image.

Could be because the first time you run something, it takes quite some time loading the models. Try waiting for some time, it will load and unpack the models and put them in the model cache, which will make sure next time you use panda or that tutorial it loads fast.

What’s some time?
I’m running it right now, it’s been 10 minutes.

My computer is quite powerful, (A few Ghz) I dont think this is normal, or is it?

EDIT:Though I see no visible errors:
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:audio(error): LoadLibrary() failed, will use NullAudioManager
:audio(error): No error.
:util(warning): Adjusting global clock’s real time by 0.112321 seconds.

RE-EDIT:You’re right its actually loading models that seem to take forever…
top:12367 censoredusername 20 0 235m 36m 20m S 2 1.8 [color=red]0:23.08 python

you can convert the model files to *.bam format. they load a lot faster, but have some disatvantages like beeing not compatible between panda versions. so always keep an *.egg file as backup.

If it takes so long (10 minutes) to load, something is wrong. On my slow laptop panda samples take just few seconds to load.