Hi,
I'm learning how Silverlight/WPFapplication/Direct3D interact between themselves...
Sorry but I haven't a lot experience about this issues, so my question is:
- IS IT POSSIBLE, WITH SILVERLIGHT, TO RENDER WPF FILES IN A DIREC3D/WIN32 APPLICATION? HOW CAN DO IT?
Thanks a lots,
bye,
Carmelo.
-
-
no.. silverlight runs in the browser.. silverlight has to run on platforms that don't run win32, wpf or anything like it.. if you want a wpf browser app, then you should look into xbap.
-
Actually, you can do it just fine. You just need to host a web browser control. You can then get two way communication between your app and SL using the window.external interface.
You might be better off using WPF though. SL is a seriously gimped technology. -
Uh I'm pretty sure hes like many asking if you can invoke wpf / win32 from silverlight.. why would you have a wpf app with a browser control that hosts silverlight.. that makes no sense.
Edit: and silverlight isn't a gimped technology.. you are clearly looking at it from the wrong perspective. -
Look into using Perfect Mind, I'm doing so right now and its a great tool for develop graphically pleasing WPF applications.stevo_ said:no.. silverlight runs in the browser.. silverlight has to run on platforms that don't run win32, wpf or anything like it.. if you want a wpf browser app, then you should look into xbap.
-
Hosting Silverlight in an embeded web browser is a legitimate way to integrate SL into your native apps and isn't a big deal really. With it you can also do easy 2 way communication between SL and native code. What more do you want?stevo_ said:Uh I'm pretty sure hes like many asking if you can invoke wpf / win32 from silverlight.. why would you have a wpf app with a browser control that hosts silverlight.. that makes no sense.
Edit: and silverlight isn't a gimped technology.. you are clearly looking at it from the wrong perspective.
As far as SL being gimped, yes, I believe it is gimped. All you can do with it (at this point) is move three basic shapes around (line, rectangle, ellipse). Using path shapes require a agree of artistricry that most developers don't posses.
The control library is seriously weak. There are no menus, not even content menus. No copy/cut/paste/delete context menus in edit controls. No text with a link in it. No rich text. No offical mouse wheel support. No right mouse button support. Even the standard controls act weird. Click a list box and drag and it doesn't scroll the contents.
It's full of weird stuff. The object model seems wrong. Some proeprties exist which do nothing. Insome situation other properties work, but not in other situations. There is no bovious way to figure this stuff out without just learning what works and what doesn't. Some properties are animatable, while other are not, with no guide of clue as to why.
The of course there is the whole problem with OOD I mentioned in a previous post.
Hopefully MS will fix this stuff.
-
I think you have to look at Silverlight as a Flash replacement, not a be-all-end-all of web apps. That's what XBAPs are for.sysrpl said:
Hosting Silverlight in an embeded web browser is a legitimate way to integrate SL into your native apps and isn't a big deal really. With it you can also do easy 2 way communication between SL and native code. What more do you want?stevo_ said:*snip*
As far as SL being gimped, yes, I believe it is gimped. All you can do with it (at this point) is move three basic shapes around (line, rectangle, ellipse). Using path shapes require a agree of artistricry that most developers don't posses.
The control library is seriously weak. There are no menus, not even content menus. No copy/cut/paste/delete context menus in edit controls. No text with a link in it. No rich text. No offical mouse wheel support. No right mouse button support. Even the standard controls act weird. Click a list box and drag and it doesn't scroll the contents.
It's full of weird stuff. The object model seems wrong. Some proeprties exist which do nothing. Insome situation other properties work, but not in other situations. There is no bovious way to figure this stuff out without just learning what works and what doesn't. Some properties are animatable, while other are not, with no guide of clue as to why.
The of course there is the whole problem with OOD I mentioned in a previous post.
Hopefully MS will fix this stuff. -
Thanks to everybody for the tips.
I'm going to consider the XBAP way, I've understood that the control of libraries isn't a good idea, and maybe I have to look Silverlight in another way.
But before I'd propose you another question...
What do you think about Moonlight/OpenGL? Could I solve something? Can I render a WPF file in OpenGL whit Moolight? -
Moonlight is the Linux version of Silverlight. I would imagine that code that works on one would work on the other.Viashivan said:Thanks to everybody for the tips.
I'm going to consider the XBAP way, I've understood that the control of libraries isn't a good idea, and maybe I have to look Silverlight in another way.
But before I'd propose you another question...
What do you think about Moonlight/OpenGL? Could I solve something? Can I render a WPF file in OpenGL whit Moolight? -
Yeah, give Moonlight a try and if you're still unsatisfied, and wanting a simpler solution, www.perfectmind.comViashivan said:Thanks to everybody for the tips.
I'm going to consider the XBAP way, I've understood that the control of libraries isn't a good idea, and maybe I have to look Silverlight in another way.
But before I'd propose you another question...
What do you think about Moonlight/OpenGL? Could I solve something? Can I render a WPF file in OpenGL whit Moolight?
-
Hi there,DarrenP said:
Yeah, give Moonlight a try and if you're still unsatisfied, and wanting a simpler solution, www.perfectmind.comViashivan said:*snip*
maybe now I've clearer ideas...
So my question is:
How can I capture WPF content/output from Silverlight App and render it in a Direct3D App ?
Thank you,
bye,
Carmelo.
-
bye then..
-
Hi Stevo_stevo_ said:bye then..
(maybe I wrong to write...)
my issue is unresolved:
How can I capture WPF content/output from Silverlight App and render it in a Direct3D App ?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.