Rendering question using ruby in SU
-
Hi guys,
Does anyone know how I can control the rendering of the scene in SketchUp using ruby? A lot of techniques (e.g. real-time shadow map, reflection, refraction, etc) require access to rendering.The reason why I need the knowledge here is that I'm creating a stereoscopic view(the true 3D for which u need to wear red&blue glasses) for SU. I basically have to rendering the scene twice, from different view perspective, on the same canvas to get an anaglyph, which looks like this:
.Thanks a lot,
Jinchao -
You can't do reflection and refraction in SU.
The only thing you can do is set the Style settings - same as what you do in the Styles Window. http://code.google.com/apis/sketchup/docs/ourdoc/renderingoptions.html
If you need access to the OpenGL rendering you can't use Ruby for that. You'll have to hook into it by other means.
btw, your image doesn't load.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement