Help:Problem with frame placed on a 3d surface

Topics: User Forum
Apr 1, 2007 at 8:53 PM

I've made a small app that uses 3d tools to render a small web browser on a simple plane mesh the controls on the mesh are a frame a text box and a button but there is something wrong when i actually open a Url the actual http doesn't get rendered in the frame but in some sort of floating window
dose any one know how i can fix this.
Please
Coordinator
Apr 13, 2007 at 2:56 PM
Unfortunately, the Frame control doesn't work on 3D (WPF is doing HWND hosting for this), so you won't be able to see your web browser in 3D.
Apr 13, 2007 at 8:16 PM
Any alternatives ?
Or do i just have to translate the whole thing to a flow document or something(that sux :( )
Coordinator
Apr 14, 2007 at 6:37 PM
The main issue is that you can't display the Frame on a VisualBrush, meaning even without the interactive part, you wouldn't be able to host it on 3D. But to display it, yeah, you'd need to translate it to something that can be displayed on a VisualBrush, like a flow document, etc...
May 30, 2007 at 3:41 PM
I meet the same problem. I tryed to make RenderTransform group on my frame on order to rotate, screw, translate etc but there no real effect.

Will there be a solution to integrate Frame browser in 3D decorator ?

Anthony
Sep 22, 2007 at 1:59 PM
Hi, The very excellent WPF Unleashed book says:

HTML content is always rendered on top of WPF content, it can’t have bitmap effects applied to it, its Opacity can’t be changed, and so on.

If you require the ability to display HTML embedded as a resource, the best option is to use the Windows Forms WebBrowser...

- Shame, I would REALLY like this feature also... I will look into the alternatives the webBrowser can provide.

Sep 30, 2007 at 7:50 PM
I am going to translate my (volumous) stuff to flow documents, I believe, after much failing to do any better...

these tools may ease your dissapointment and pain...

http://blogs.msdn.com/wpfsdk/attachment/606317.ashx and

some chat about it:

http://blogs.msdn.com/wpfsdk/archive/2006/05/25/xaml-flowdocument-to-html-conversion-prototype.aspx

if you do write a batch or realtime converter... share the wealth on codeplex...

;)

HTH

si.