Although I highly appreciate the light baking system of prefab , it is not as sophisticated as in modeling programs like 3dsMax etc . There are many tutorials out there you can find in the web on how to generate light maps in 3dsmax . I believe you can find also for other programs .
Sent from my iPhone On Mar 12, 2011, at 9:04 PM, TheStoph <[email protected]> wrote: > I am using Away3D 3.6 to create some kind of learning software for > using the public transport, it's my diploma. Imagine a first-person- > shooter (only without shooting). The city you're walking around in is > grouped into squares of ground (simple Plane with different vertex- > yPos) with associated houses (AS3Exporter-Objects). > Everytime the user steps onto another square/plane, I'm changing to > the corresponding heightmap. Though I'm NOT loading these heightmaps > while walking (they are stored at program launch in a 2D-Array), the > first time they are actually USED, which means I assign them to be the > source of my ElevationReader, the application shortly hangs. The away- > stats-panel shows increased ram-usage after that. Future times I step > on the same square/plane there's no such hanging. (I think this refers > to every asset I load in the beginning, mostly textures of models) > So my question is: Is there any way to load assets into ram BEFORE > they are used in the application? > > And I have a second question: I've built a level-editor for my program > again with Away3D. I would like to bake user-defined lights into the > textures. I know monsieur Closier does this in Prefab. I don't want > the exact lines of code (though I wouldn't mind), but can anyone point > me into a direction how this can be done? Any good website on this? > > Thanks in advance! Christoph
