Geometry Binary Flash 9 Viewer

Joined
Aug 27, 2006
Messages
223
Reaction score
189
Geometry Binary Flash 9 Viewer

Say, good-bye! to your model screenshots. Open source using Flash 9 engine.

Demo: (Waring: High polygon model uses extensive system resources, mainly that of your CPU)
  • Temporary offline
Requirements:
Download:
Subversion:
Developers:Features:
  • GIF, JPG, and PNG Texture formats (Note: DDS and TGA are not supported in current revision)
  • Multiple Geometry Binary files per model XML using <geometry>...</geometry>
  • Model placement through translation and rotation transformation in modelXML (Note: Scale not supported in current revision)
  • Geometry Binary ZLib compressed files (Note: Must end with *.gbz extension and only Z_BEST_COMPRESSION (9) supported)
  • Camera movement controlled by stage mouse movement with mouse scroll wheel zooming
History:
  • 04-23-07: Initial release
 
Last edited:
Re: [DEV] Geometry Binary Flash 9 Viewer

Why is it that all the gb viewer's graphics I've seen look... "granny"? Take a look at KalEncyclopedia's for exemple, exactly the same...
It doesnt look anywhere as good as in Kal. Maybe it's cause of the Bloom effect of Kal?
 
Re: [DEV] Geometry Binary Flash 9 Viewer

Why is it that all the gb viewer's graphics I've seen look... "granny"? Take a look at KalEncyclopedia's for exemple, exactly the same...
It doesnt look anywhere as good as in Kal. Maybe it's cause of the Bloom effect of Kal?

Yes, nice work, a bit choppy but nice.

The reason why this viewer is grainy or choppy is due to for a number of reasons. I set the stage quality to "low". It is software accelerated via the flash interpreter, talk about speed... Not like its counter part big brothers DirectX or OpenGL which use hardware acceleration, technologies such as vertex/pixel shaders, etc. Papervision3D just doesn't have that kind of access or capabilities. The use of proper lighting; I use none. And the list goes on... If you want to know how to do it with DirectX using the pixel/vertex shaders provided by Kal e-mail me.

nice work phantom, i am not sure what is it good for...

what the use of it?:O

Its prupose is for your websites, the Kal Online section "Show Room", or the world wide web in general. Since the majority of people have flash installed; No download or installation is required (broadly speaking).
 
Last edited:
Re: [DEV] Geometry Binary Flash 9 Viewer

Question, how will we go about capturing video or or an image with this? Will it be like us going into game and hitting a hotkey to trigger it on and off? or will it be like an importer, that just imports the selected models..?
 
Re: [DEV] Geometry Binary Flash 9 Viewer

Question, how will we go about capturing video or or an image with this? Will it be like us going into game and hitting a hotkey to trigger it on and off? or will it be like an importer, that just imports the selected models..?

It is a very simple importer. For the demo above, it is primitive, in that the file names are hard coded. The *.gb files and textures are in the same path as the *.swf and it does the rest. I've just changed the model because it uses 1/2 the bandwidth.
 
Last edited:
Re: [DEV] Geometry Binary Flash 9 Viewer

The reason why this viewer is grainy or choppy is due to for a number of reasons. I set the stage quality to "low". It is software accelerated via the flash interpreter, talk about speed... Not like its counter part big brothers DirectX or OpenGL which use hardware acceleration, technologies such as vertex/pixel shaders, etc. Papervision3D just doesn't have that kind of access or capabilities. The use of proper lighting; I use none. And the list goes on... If you want to know how to do it with DirectX using the pixel/vertex shaders provided by Kal e-mail me.

Oh ok, that makes sense, thanks for your answer. :)
 
Re: [DEV] Geometry Binary Flash 9 Viewer

i got a 1mbit connection and it loads very fast. something about 5-10 seconds to show it.

it looks nice, but i think its a unless tool and use to much bandwith for "normal" homepages. its like that tool BakaBug made, for showing .gb files local on a comp
 
Re: [DEV] Geometry Binary Flash 9 Viewer

Anyways becosue of the graphic .. look this ;) and you will understand ^^

Phantom* - Geometry Binary Flash 9 Viewer - RaGEZONE Forums


as you see Color+Normal+Specular would be this what you see normaly..

But becosue of low settings only color (maybe + normal).. -.- dosn't looks so good
 
Re: [DEV] Geometry Binary Flash 9 Viewer

sweet, somehow it won't work tho :p


anyone can explain how too use that :D ? it looks damn nice

My apologies for forgetting to include the read me. I've tried to keep the viewer customizable and simple so you shouldn't find this hard to grasp. paperview.html and model.xml are templates. I won't explain in detail paperview.html other then the parameter modelXML you pass to paperview.swf. modelXML parameter is a simple xml file that describes your model geometry and world position in the viewer. The template model.xml describes the model construction, for example

<?xml version="1.0" encoding="UTF-8"?>
<model>
<geometry>Cm_0_f01.gb</geometry>
<geometry>Cm_7_h01.gb</geometry>
<geometry>Cm_7_a01.gb</geometry>
<transform>
<translation y="-100.0"/>
</transform>
</model>

This will construct a model consisting of three *.gb files and move it down 100.0 points in the viewer.
 
Back