I would like to know if there is a way to render .wrl (vrml files) in Firefox running on Linux x86 ?
I've found some softs to open .wrl files (like orbisnap) but that's not embedded in the browser.
Thanks.
This question has some useful information. Firefox in Linux (assuming you have recent graphics drivers and supported hardware) has a 3D rendering API called WebGL. With a bit of fiddling you can convert your VRML file into a format that can be rendered using WebGL and X3DOM without the need for an external plugin.
Related
I am trying to create Flutter desktop application that can access webcam on desktop (Windows/Linux). It seems like there is no Flutter plugin that support camera for desktop.
Is there any documentation or tutorial about how to write Plugins for Linux/Windows in Flutter?
While the main Flutter documentation on plugins doesn't yet cover writing desktop plugins (since desktop support is still in alpha) there is an Flutter desktop codelab that includes a section on writing plugins
The plugin APIs themselves also have header documentation if you're looking for more detailed information about using the APIs.
(A camera plugin in particular will for Linux and Windows will run into the problem that there isn't yet Texture support for those platforms, so there's no good way to show the live camera view inline; you'd have to do something like display it in another window for now. However, there is work in progress at the time of this answer to provide preliminary support for Texture on both platforms.)
Can someone confirm that WebGL works with node-webkit on Linux distros?
I can make WebGL run on Google Chrome after enabling the flag Override software rendering list on chrome://flags/, but I'm getting errors regarding Three.js when trying to execute the same application on node-webkit.
To answer my own question:
It just depends if the system has a video driver installed that supports:
hardware acceleration and
OpenGL ES2.0
(the requirements for WebGL)
Node-WebKit or not, WebGL is gonna run smoothly, if the above requirements are met.
Hey i was wondering if anyone else has had problems with css 3d running on chrome on linux (specifically fedora 17). Chrome in Windows seems to handle everything fine but for some reason it won't work in Fedora. I get errors saying that my browser doesn't support 3d transforms.
Chrome/ium is probably the most popular option, so if the version you tried wasn't working, you may want to update to the very latest -- something like the Chromium Daily Builds. If even that is too buggy to work with, you might want to try a different Webkit browser for Linux.
Midori and Epiphany are two decent options. As an added bonus, I think both of these browsers will use the version of Webkit that you have installed on your system (unlike Chrome, which comes with its own version of Webkit). That means that you should be able to build Webkit from the latest nightly source release, and Midori or Epiphany will automatically use that version.
WebKit Nightly Builds
I hope that this help you.
I have a cross platform program that runs on Windows, Linux and Macintosh. My windows version has an Icon but I don't know how to make have one for my Linux build.
Is there a standard format for KDE, Gnome etc. or will I have to do something special for each one?
My app is in c++ and distributed as source so the end user will compile it with gcc.
If I can have the icon embedded directly inside my exe binary that would be the best.
For Gnome and Kde, you would probably want to include a desktop file with your app that defines how it will be launched. The specification can be found here. If you have an installer included with your app, you would probably want to have it generate this desktop file and put it in the right places to make menu entries and whatnot
If you are using one of the pre-baked F/OSS build systems, such as KDE's CMake support, it's really rather easy once you have a .desktop file:
install( FILES myapp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
kde4_add_app_icon(myapp_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/hi*-app-myappname.png")
If you are rolling your own, consider using xdg-utils, which includes handy little scripts like xdg-desktop-menu (installs desktop menu items) and xdg-desktop-icon (installs icons to the desktop) for such things.
The .desktop standard was already pointed out in the first comment, though you can also just grab one that is already installed on your system and modify it from there. As for icons, PNGs and SVGs are geerally supported though PNGs tend to give the best results still.
KDE community with it's KDE 4 series started to use CMake as a build system. They developed a CMake macro that knows how to set an icon for your application regardles of the platform (windows (embedded in exe), mac (.app bundles), linux (.desktop files) etc.)
Maybe you can use it.
We have a JavaScript construct that will play .wav files within Firefox on Windows and MacOSX, but it does not work for Red Hat Linux. What extension do I need?
Firefox 3.1 will support Firefox 3.5, supports the <audio> tag, a standard tag to deal with sound. If you use that, you'll need no extensions.
Unfortunately, that will only work with the latest browsers (Firefox 3, for example, is the latest stable version and yet does not support this tag. You may have trouble making it work with Internet Explorer too).
Try mplayerplug-in, which is available in rpmforge and rpmfusion. It requires mplayer to be installed (obviously) and AFAIK it can play virtually anything.
Have you tried Moonlight? I don't think the Media Codec pack was available when you first asked but it's avilable now ;-)