This is a gallery/room I created using hmmm...Blender :) Unfortunately its fairly primitive looking (i.e. I could have baked fancy lighting on the walls and probably used a wooden floor etc.), but I just wanted to get the basics working properly first. The most time consumming part was definately getting the layering correct and I had to be carefull with the floor and ceiling mesh as well to prevent any culling. For this demonstration the images are hardcoded but I guess it would be nice if they were loaded by xml while also displaying some info about the image/artist. Sorry, if there are little or no comments in the code but I hope it shouldn't be too difficult to follow. All of the files used are included in the zip file below including the version of Great White I used for this. Rotate Camera using A+D keys.
| Attachment | Size |
|---|---|
| Blender_Gallery.zip | 3.1 MB |
Comments
Preventing culling...
Its really a matter of trial and error and believe me I had my fair share of failed attempts before I got the final result. Beacuse there have been a lot of changes to great white recently, especially regarding DAE and Camera classes, you would probably get a totally different result depending on what version you used.
All I would advise is the following...
When designing the room in your 3d package pay special attention to your floor and ceiling mesh. In the case of this example I extruded the floor and ceiling mesh bit by bit making sure the faces were evenly sized. I did notice that any faces appearing too skewed (diamond shaped) ended up causing culling problems.
In papervision you can try adjusting any or each of the following... camera zoom and focus, camera y position, scale of model.
Hope this helps. If you are continuing to have problems I would be happy to take a look at your model if you wish.
regards Tim