Jim: yeah. a lot of the footage looks from 3dblasphemy (transformer truck, city background, ...) but the part with mspaint on the wall and dynamic lights sure looks good
Posts
-
RE: CityScape - realtime rendering of city (all included)
-
RE: Multiple texture slots per SU material
stop peeking on my HDD !
as you cannot change the SU material window I was playing with a separate window.
also added some openGL viewport to use that shaders that are in your gfx card that are sleeping in SU.
-
RE: Undo Deleted Entities
agree with Adam - using entityID sometimes makes you chase dead horses. better using hashes even if there is a slight time penalty.
hope there will be a fix in future SU versions -
RE: SketchUp Arrays & Enumerable
if you check the enum.c (Ruby C code for Enumerable class) you will see that only each_with_index is there and each_slice
is part of ext/enumerator.c -
RE: SketchUp Arrays & Enumerable
you need to require 'enumerator' to be able to use each_slice
-
RE: How to read/parse XML files inside SU
one idea, if you are on Windows (dont know about Mac) - use win32api and load xerces-c_2_6.dll that is available with Sketchup distro
-
RE: SketchUp Portable?
you can try build a SketchUp portable using vmware thinapp (formerly thinstall) - see screencast on how to do it here - http://www.thinstall.com/demos/vs_beta_intro/
pitty that it costs a lot of money, but it has a 60 days demo
-
RE: Exporting UVs for Groups via PolygonMesh
I didn't say anything about exploding. if you will do that test you will be able to see what the problem is and code accordingly.
@unknownuser said:
group-before-setting-material-case they are just random large numbers
if a face exists in a group there are two possibilities:
- default material -> will use the group material with simple planar UV if exists, otherwise default front/back color
- has material -> will use the material with it's UV data
if you have a group with all faces default and no group material (or parent if it is nested) then ignore the UV
-
RE: Exporting UVs for Groups via PolygonMesh
try and apply a 1m x 1m texture on :
- a face 1m x 1m
- a face 1m x 1m inside a group
- on a group that contains a default 1m x 1m face
you can check your code on this and see what is wrong (usually inside a group there is wrong units).
I use also http://bgdm.katorlegaz.com/lscm_tute/Tute_Images/UV.jpg as test texture to see when it has wrong direction -
RE: SQLite in SketchUp Ruby
hmm, tried with SQLite3 using Native driver and it worked (it "hangs" SU until the SQL commands are finished as usual)
here is my directory structure - copied some files from Ruby install that are required by SQLite and you need SQLite.DLL from SQLite distribution (it is not shipped with sqlite3 ruby):
[copied from Ruby install] \Plugins\susqlite\date.rb \Plugins\susqlite\parsedate.rb \Plugins\susqlite\rational.rb \Plugins\susqlite\time.rb \Plugins\susqlite\date\format.rb [SQlite3 files] \Plugins\susqlite\sqlite3.rb \Plugins\susqlite\sqlite3_api.dll \Plugins\susqlite\sqlite3\constants.rb \Plugins\susqlite\sqlite3\database.rb \Plugins\susqlite\sqlite3\driver \Plugins\susqlite\sqlite3\errors.rb \Plugins\susqlite\sqlite3\pragmas.rb \Plugins\susqlite\sqlite3\resultset.rb \Plugins\susqlite\sqlite3\statement.rb \Plugins\susqlite\sqlite3\translator.rb \Plugins\susqlite\sqlite3\value.rb \Plugins\susqlite\sqlite3\version.rb \Plugins\susqlite\sqlite3\driver\dl \Plugins\susqlite\sqlite3\driver\native \Plugins\susqlite\sqlite3\driver\dl\api.rb \Plugins\susqlite\sqlite3\driver\dl\driver.rb \Plugins\susqlite\sqlite3\driver\native\driver.rb
-
RE: 3D PaintBrush
pitty that it BSOD on me (it kills the display driver) and I was unable to even start it. anyone tested on 8800GT/Vista ?
-
RE: White screen of death
don't blame Windows for poor programming of a software - the White screen of death is definitely a SU problem.
also you don't need drive the CPU to the max only for your software - I choose a responsive UI anytime than 5 second faster, unresponsive one. -
RE: Anyway to Debug in RDE?
the fastest and hard way is to put puts around your code to inspect your code.
I usually code the things independently of SU so I can use existing Ruby debug tools and only add SU related at the end.
worked sometime ago on a SU debugger using SKSocket and a pre-Webdialogs interface. maybe I should revive the project.
-
RE: Soft Shadows ?
the only problem is that you cannot take the standard shadow
a workaround is to do it yourself, as Adam did it in LightUp. (and looks better than standard one) -
RE: [REQ] Displacement ruby
@unknownuser said:
getting the pixel (RGB) value from the texture at a given point. If anyone knows how do this, let me know.
some ideas:
-
convert texture to .raw and read it via ruby file commands (as I did it in 2004 Terolscript)
-
direct image parsing - too complicated (several formats, compression)
-
server based - image upload to server, converted to an Array and returned back to Ruby
-
-
RE: Prompt to save WebDialog?
if you select open and un-check "always ..." still has the problem ? usually this appears when MIME setup is wrong
-
RE: Help with creating an API
- yes - high risk to redefine other scripts bad behaviour
- yes - this way you can have your own namespace and dont clash with other classes
API creation tips:
- documentation + examples - think that every SU Ruby developer started with box.rb
- 80/20 rule - provide a small number of methods that do most of the job
- check and raise errors on bad input values
- verify everything - if it can go wrong, it will
- have another pair of eyes check the code - if you stay too much on something you will overlook things
good luck and let us know if you need any help
-
Realtime rendering in your browser
realtime rendering in your browser using server processing power
[flash=425,344:3khlkl5u]http://www.youtube.com/v/iwTcvk5IuB4&hl=en[/flash:3khlkl5u]"The second main difference is that Urbachβs technology doesnβt require any browser plugin whatsoever (although it can take advantage of those, too). OTOY-powered graphics can be delivered via Ajax, Flash, Java, or ActiveX. Surprisingly, the Ajax-powered version in Safari works fastest."
via TechCrunch
-
Lively by Google
http://www.lively.com/ - "a browser based virtual world add-on that lets users create and customize avatars and worlds, interact with other users, and generally have a richer social interaction than is offered by GTalk today."
more market for custom SKPs (furniture, buildings, ...) ?