Coder Social home page Coder Social logo

vovoid / vsxu Goto Github PK

View Code? Open in Web Editor NEW
367.0 45.0 59.0 155.14 MB

Visual programming language; Real-time OpenGL graphics; Embeddable; GPL/LGPL Licensed; Audio/Music Visualizer; Animation tool

Home Page: http://vsxu.com

License: Other

C++ 36.15% C 51.67% Shell 4.76% Objective-C 0.27% Python 0.02% HTML 4.71% CSS 0.27% CMake 0.74% Yacc 0.12% Lex 0.04% Batchfile 0.01% GLSL 0.13% Makefile 0.88% M4 0.11% JavaScript 0.04% Go 0.10%

vsxu's Introduction

Vovoid VSXu Build Status

©2003-2015 Vovoid Media Technologies AB, Sweden

http://www.vsxu.com

http://www.vovoid.com

VSXu (VSX Ultra) is an OpenGL-based (hardware-accelerated), modular programming environment with its main purpose to visualize music and create real time graphic effects.

The aim is to bridge the gap between programmer and artist and enabling acreative and inspiring environment to work in for all parties involved.

VSXu is built on a modular plug-in-based architecture so anyone can extend it and or make visualization presets ("visuals" or "states").

How do i get it?

Compilation Instructions for a basic version of VSXu Ubuntu/Debian:

Make sure you have met the build dependencies:

  sudo apt-get install libglew-dev libpng-dev libjpeg-dev libpulse-dev libopenexr-dev libxrandr-dev libfreetype6-dev libsdl2-dev libegl1-mesa-dev libgles2-mesa-dev build-essential cmake

Optional dependencies:

  sudo apt-get install libopencv-dev

Get the VSXu Source from github via ssh:

  git clone [email protected]:vovoid/vsxu.git

Get the VSXu Source from github via https:

  git clone https://github.com/vovoid/vsxu.git

Build it:

  cd vsxu
  git submodule update --init
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
  make install

For more advanced build instructions (and for the instructions for Windows users) visit http://www.vsxu.com/development/compiling-from-source

vsxu's People

Contributors

akva2 avatar gpadd avatar jaw avatar leakim avatar morrisj95 avatar octosquid avatar rassilon avatar s4mw1s3 avatar saidinesh5 avatar spartan190 avatar voidstarr avatar waweic avatar who828 avatar yaphy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vsxu's Issues

(engine_graphics/src/vsx_statelist.cpp) Fix destructor

Currently the destructor of the class does nothing useful,
it should stop all the engines,
delete them.

The same goes for the faders.

With this in place, the app can simply delete vsx_manager when going to fullscreen mode.

Create a Video Streamer Screen module.

Ideally the module should be able to stream VSXu render output over the network in an appropriate video format. This way one powerful server can stream to multiple thin clients.

An interesting addition for the module would be to support DLNA. Needs more research on how everything fits together.

trouble connecting the new connectors

When dragging out a new connector, check what is getting focus. It should not be the connector itself (I suspect this is the case) but rather the anchor where it's landing.

submit to debian

Debian:

  • file a RTP and wait 2 weeks

If we want to create our own ppa, use using a version like 0-0ubuntu0~ppa1 to not mess up users packaging system.

Install VSXu headers, so that others can use libVSXu for their own application

We need to:

  1. Install the header files
  2. Appropriate Find_Package / pkg_config files

for engine and engine_graphics,

So that other programs can use libVSXu for their own development.

It should be noted that the current constructor of vsx_manager might have to be more friendlier: (how would a developer know where vsxu_visuals are installed??).

Code from VSXu Player:

  manager = manager_factory();
    std::string path = PLATFORM_SHARED_FILES_STLSTRING;
    // init manager with the shared path and sound input type.
    // manual sound injection: manager->init( path.c_str() , "media_player");
    #if PLATFORM_FAMILY == PLATFORM_FAMILY_WINDOWS
    manager->init( path.c_str(), "fmod");
    #else
      manager->init( path.c_str(), "pulseaudio");
    #endif

Fix regressions

A couple of regressions have been found. Use Luna to test these.

engine crash when re-initializing sequenced parameters

To recreate:

  1. create a GLSL loader with a uniform float input
  2. add a sequence to this one
  3. edit the GLSL code
  4. save twice
  5. program crashes; output from valgrind:

==2128== Invalid read of size 8
==2128== at 0x5C35F41: vsx_module_param<1, float, 4, 1>::set_internal(float, int) (vsx_param.h:222)
==2128== by 0x5C4D62D: vsx_param_sequence::execute(float) (vsx_param_sequence.cpp:180)
==2128== by 0x5C564FE: vsx_param_sequence_list::run(float, bool) (vsx_param_sequence_list.cpp:236)
==2128== by 0x5BFEE60: vsx_engine::render() (vsx_engine.cpp:765)
==2128== by 0x4A8D73: vsx_window_texture_viewer::draw_2d() (vsx_widget_preview.cpp:117)
==2128== by 0x44F4F1: vsx_widget::draw_children_2d() (vsx_widget_base.h:329)
==2128== by 0x44E050: vsx_widget::draw_2d() (vsx_widget_base.cpp:1239)
==2128== by 0x4F54DE: vsx_widget_desktop::draw_2d() (vsx_widget_desktop.cpp:409)
==2128== by 0x4F8E5D: vsxu_draw::draw() (application.cpp:177)
==2128== by 0x4F7C77: app_draw(int) (application.cpp:451)
==2128== by 0x4FAE81: main (main.cpp:318)
==2128== Address 0xada5560 is 80 bytes inside a block of size 112 free'd
==2128== at 0x4C27FF2: operator delete(void_) (vg_replace_malloc.c:387)
==2128== by 0x5C5E29D: vsx_module_param<0, float, 1, 1>::~vsx_module_param() (vsx_param.h:276)
==2128== by 0x5C5CF24: vsx_module_param_list::~vsx_module_param_list() (vsx_param.cpp:139)
==2128== by 0x5C45708: vsx_comp::re_init_in_params() (vsx_comp.cpp:167)
==2128== by 0x5BFF4F1: vsx_engine::redeclare_in_params(vsx_comp_, vsx_command_list_) (vsx_engine.cpp:839)
==2128== by 0x5C0820F: vsx_engine::process_message_queue(vsx_command_list_, vsx_command_list_, bool) (vsx_parameters.h:85)
==2128== by 0x4F8E89: vsxu_draw::draw() (application.cpp:182)
==2128== by 0x4F7C77: app_draw(int) (application.cpp:451)
==2128== by 0x4FAE81: main (main.cpp:318)
==2128==
==2128== Invalid write of size 4
==2128== at 0x5C35F55: vsx_module_param<1, float, 4, 1>::set_internal(float, int) (vsx_param.h:222)
==2128== by 0x5C4D62D: vsx_param_sequence::execute(float) (vsx_param_sequence.cpp:180)
==2128== by 0x5C564FE: vsx_param_sequence_list::run(float, bool) (vsx_param_sequence_list.cpp:236)
==2128== by 0x5BFEE60: vsx_engine::render() (vsx_engine.cpp:765)
==2128== by 0x4A8D73: vsx_window_texture_viewer::draw_2d() (vsx_widget_preview.cpp:117)
==2128== by 0x44F4F1: vsx_widget::draw_children_2d() (vsx_widget_base.h:329)
==2128== by 0x44E050: vsx_widget::draw_2d() (vsx_widget_base.cpp:1239)
==2128== by 0x4F54DE: vsx_widget_desktop::draw_2d() (vsx_widget_desktop.cpp:409)
==2128== by 0x4F8E5D: vsxu_draw::draw() (application.cpp:177)
==2128== by 0x4F7C77: app_draw(int) (application.cpp:451)
==2128== by 0x4FAE81: main (main.cpp:318)
==2128== Address 0x1e7254e0 is 0 bytes inside a block of size 4 free'd
==2128== at 0x4C27C6E: operator delete (vg_replace_malloc.c:409)
==2128== by 0x5C5E253: vsx_module_param<0, float, 1, 1>::~vsx_module_param() (vsx_param.h:275)
==2128== by 0x5C5E291: vsx_module_param<0, float, 1, 1>::~vsx_module_param() (vsx_param.h:276)
==2128== by 0x5C5CF24: vsx_module_param_list::~vsx_module_param_list() (vsx_param.cpp:139)
==2128== by 0x5C45708: vsx_comp::re_init_in_params() (vsx_comp.cpp:167)
==2128== by 0x5BFF4F1: vsx_engine::redeclare_in_params(vsx_comp_, vsx_command_list_) (vsx_engine.cpp:839)
==2128== by 0x5C0820F: vsx_engine::process_message_queue(vsx_command_list_, vsx_command_list*, bool) (vsx_parameters.h:85)
==2128== by 0x4F8E89: vsxu_draw::draw() (application.cpp:182)
==2128== by 0x4F7C77: app_draw(int) (application.cpp:451)
==2128== by 0x4FAE81: main (main.cpp:318)

skybox thread join crash

If it doesn't complete its run it crashes on pthread_join.
Maybe it's due to not being a valid thread handle?

Artiste - Crash upon writing in empty console

When left clicking to open the console, it usually is alright. When you close it with right-click it's alright.
But if you do this a couple of times (doesn't seem to be a constant number, it happens on different numbers of tries), or just wait for the timer to stop (when the console is empty), you crash vsxu_artiste by writing something in it and pressing enter.
Results in Segmentation Fault.

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.