Giter VIP home page Giter VIP logo

ofxultralight's Introduction

openframeworks 0.11.0 addon for ultralight-sdk-1.2-win https://ultralig.ht/ Ultralight (c) 2018 Ultralight, Inc. Ultralight is a trademark of Ultralight, Inc.

About

With the release of the most inspiring Ultralight 1.2, implementation of Ultralight in other Apps has become much easier. So I wrote this addon from scratch. This is only a beginning and at the moment mostly for my usecase:

  • Heavily layouted One-Page content, that can be changed easily without having to adjust my OF App
  • Simple GUI functionality (communication with the OF App, which has the power to do the advanced stuff)

My focus is not on perfect code but on ease of use and integration. Of course the addon can be adjusted and developed. I am happy if it will be an all-purpose Browser addon one day. Join in, everybody. Also: I am not a C++ developer. I am more than happy to learn and improve the code!

Status

  • For now only CPU rendering, GPU ist yet to come. (Please check out IanByuns work for a working GPU solution. Or switch to gpu branch here and help me getting it to work...)
  • Basic loading of URLs, Files and raw HTML.
  • Mouse klick and scroll wheel implementation.
  • Basic keyboard implementation.
  • High-level (easy to understand and use) code in your App.
  • Communication OF->Ultralight and Ultralight->OF.
  • UL log goes to Terminal via OF Logging, same for Console Messages.
  • Only windows for now. I will definetely do a Linux Version, though.
  • example-basic-CPU shows how to use in general.
  • example-communication-GUI shows how to do communication between Broser (JS) and OF, both directions.

Installation

  • clone this repository to addons folder (or download, unzip, copy and remover the "-master" part in folder name)
  • Use project generator, include addon ofxUltralight, create the project.
  • Open it in Visual Studio 2019 (we need Platform Toolset v42 for Ultralight, so no VS 2017, sorry. But you can install them side by side.)
  • in case it is not done automatically on opening: retarget solution (right Mouseclick on your solution in solution explorer)
  • Set it to x64 (Win32 will fail) and build

I am very happy! It works. Don't expect too much already, but come back from time to time, as it will grow.

oe

ofxultralight's People

Contributors

dasoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ofxultralight's Issues

MacOS + Linux Implementation

Hi there,

Thanks for creating this project, I've been looking at integrating Ultralight with OpenFrameworks and it will help me get a head start!

Unfortunately my primary dev environment is a mac and I was thinking I might try to integrate the .dylib files from the mac version of Ultralight. Whilst I'm at it I was thinking it would be worth doing the same for Linux.

I'm still pretty new to C++, but I'm good at learning new things. I was wondering if there were any tips you might have, or preferences for how it should be set up if I were to send a pull request?

Let me know!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.