Real-time Interactive Rendering
-
Hi, this is my first post, so I should just say "Hi" before asking the forum a question.
Let's say I want to send lines of code to Sketchup in real time
from a separate C++ program. Like, let's say I have a CNC machine and I want
Sketchup to constantly update the screen with new graphics which would indicate
where a cutting tool is located. How would I do this?I would need some way of sending real-time data to Sketchup.
Already there is the Ruby console on Sketchup. It allows me to type in lines
of code which get converted into an image on Sketchup. Now, basically I want to take this a step further, and have a separate program do it in real time.This could be used for a bunch of different reasons. I could interface Sketchup with a
microcontroller input, and say have a mock-up of a car's speedometer. From a potentiometer input, I'd like to adjust what the speedometer reads on the screen in real-time.Or, maybe I want to create a video-game in which inputs from a controller allow you to
walk through a neighborhood.How would I go about this? This might be something kind of fun. Basically, is there some method by which you can feed ruby scripts to Sketchup from a separately running program?
Advertisement