[Papervision3D] viewport width doing something unexpected
dsdsdsdsd
shannonhburnett at hotmail.com
Mon Jan 5 15:31:26 PST 2009
hello;
I have:
HTML with:
- <object/embed> w x h ==> 400 x 240
FLASH with:
- stage w x h ==> 800 x 480
- stage scaleMode ==> SHOW_ALL
VIEWPORT3D with:
- w x h ==> stageWidth x stageHeight // my_viewport = new
ViewPort3D( ...stageWidth , ...stageHeight , ... )
in this situation with scaleMode = SHOW_ALL, stage gets scaled such that:
- stageWidth ==> <object/embed> width ==> 400
- stageHeight ==> <object/embed> height ==> 240
and therefore when the viewport gets created
- viewport3d w x h ==> stageWidth x stageHeight ==> <object/embed> w x h
= 400 x 240
so it would seem fine ... the viewport ( 400 x 240 ) should fill up the HTML
( 400 x 240 ) ;
PROBLEM: the viewport only fills up a portion of the HTML;
for the example that I have presented here the viewport only fills up
400/800 x 240/480 ==> .5 x .5 of the HTML, which appears to be 200 x 120
px
http://www.nabble.com/file/p21301529/screenshot_papervision_viewport.jpg
any thoughts as to why the viewports do not fill up the stage which fills up
the <object/embed>?
-----
thanks,
Shannon
... http://www.toddanddotty.com/OpenHouse3d/try_it.php immersive 3d
environments
... http://goodflagbetsy.wordpress.com/ politics
--
View this message in context: http://www.nabble.com/viewport-width-doing-something-unexpected-tp21301529p21301529.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list